I am learning some new concepts in game dev, and I am have written classes that have the capability to move sprites around on the screen autonomously. However, I now need to figure out a way to convert screen points to world points. How do I do that?
Math for writing my own screen to world conversion
Are you talking 3d or 2d? If 3d, i have some algorithms I used way back in my AVR days...
I develop to expand the universe.
"Live long and code strong!" - Delta_Echo (dream.in.code)
How do I do that?
Invert the process you use to convert world points to screen points.
For anything more specific, you'll have to describe your specific process.
Please don't PM me with questions. Post them in the forums for everyone's benefit, and I can embarrass myself publicly.
You don't forget how to play when you grow old; you grow old when you forget how to play.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement