Python Forum

Full Version: find location of opengl object?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I use opengl with 3d perlin noise to generate a terrain like minecraft to create a game like minecraft?

How do I find the current coordinate of :
1)the object(all the dirt block,grass block ,etc in the game that is generated with Perlin noise)?
2)the object's vertices?
3)the player/ camera ?



is my question clear enough? If you don't understand ,I will try my best to explain it better.
What have you tried so far.
Show your code with specific questions