Tagged Questions
0
votes
1answer
64 views
Ways to “invert Z-axis” in shader-based core-profile OpenGL?
In my hobbyist shader-based (non-FFP) GL (3.2+ core) "engine", everything in world-space and model-space is by design "left-handed" (and to stay that way), so X-axis goes from -1 ("left") to 1 ...
2
votes
1answer
180 views
How to do perspective projection “parallax” but without changing the scale or offset of objects?
Hello everyone I have this problem that I have tried everything I could think of. The problem: I am making a 2D game with parallax effect but I am using 3d space so am not simulating the parallax but ...
1
vote
3answers
680 views
2D camera perspective projection from 3D coordinates — HOW?
I am developing a camera for a 2D game with a top-down view that has depth.
It's almost a 3D camera. Basically, every object has a Z even though it is in 2D, and similarly to parallax layers their ...
3
votes
1answer
234 views
How to compute the 2D equations of 3D circular arcs?
I'd like to obtain these equations for the ellipses produced by the perspective projections of (3-dimensionally transformed) circles.
This is useful for rendering in 2D contexts which provide curve ...