Python Forum
find location of opengl object? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: find location of opengl object? (/thread-1627.html)



find location of opengl object? - hsunteik - Jan-17-2017

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.


RE: find location of opengl object? - Larz60+ - Jan-17-2017

What have you tried so far.
Show your code with specific questions