11-23-2005, 12:36 PM
Hello, i've made some moving objects with OpenGL. Its really basic but i was wondering how to recognise the moving objects.
I've read that there are several ways, but i want to start with the following.
(Correct me if im wrong i just picked this information up form the web)
You can check the polycount of an object. Each object has a different polycount value, right?
I want to make a logging program that writes the values of an object to a textfiles.
So for example when i hold my mouse cursor on the cube, and the polycounts of the cube are 1344 or 1466 or 1532, that it writes those values for me to a textfile.
So basicly what i want to do is find out the values of an object, each object must contain a specific value or something.
I hope i made this a little clear, i can imagine that it sounds kinda vague.
Anyway, i hope someone can help me out.
Thanks for any help.
I've read that there are several ways, but i want to start with the following.
(Correct me if im wrong i just picked this information up form the web)
You can check the polycount of an object. Each object has a different polycount value, right?
I want to make a logging program that writes the values of an object to a textfiles.
So for example when i hold my mouse cursor on the cube, and the polycounts of the cube are 1344 or 1466 or 1532, that it writes those values for me to a textfile.
So basicly what i want to do is find out the values of an object, each object must contain a specific value or something.
I hope i made this a little clear, i can imagine that it sounds kinda vague.
Anyway, i hope someone can help me out.
Thanks for any help.