Original Post
Hi!
I''ve just been happily coding away my little 3D deisgn program but I''ve suddenly hit a real problem, something that I SHOULD have accomodated for on a very basic level, but completely forgot about when starting to write (too anxious to get coding).
Ok my problem is that I have a world editor, that creates objects in 3D space, translates them etc. Now my problem is that I haven''t done glTranslatef(...) or glRotatef(...), I''ve meerly specified all of the vertices at given world coordinates.
Basically, I am drawing a mesh in world space, defining it''s orinetation and position by vertex values, rather than building a mesh around 0,0 and then rotating and translating it to a given position in world space.
So my questions are:
1. Is what I have done TOTALLY wrong?
2. Will trying to rotate the object cause me massive problems now? (as I won''t be rotating then translating, I will have to calculate the new vertex positions given it''s mid point in world space).
I''ve given this some serious thought already and tried to work out exactly what the issues are with what I am done, but I''d just like to hear some more experienced advice.
Thanks.