Project to Screen / Deproject to World
Moderator: GZDoom Developers
Project to Screen / Deproject to World
Methods to project a 3D vector to the screen, and also deproject a screen position into the world (position and angle). I am proposing this to be an engine feature because the different renderers would have to handle this differently, and also the 2D drawer for the projection needs to take into account which eye is being projected into for VR headsets.
- Major Cooke
- Posts: 8176
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Re: Project to Screen / Deproject to World
You mean things like sprite roll/angle/scale-by-<locals/global> but for render-drawn things?