Advertisement

Transforming arrays of vertices with OpenGL

Started by March 19, 2003 03:05 AM
2 comments, last by Lyve 21 years, 11 months ago
Hello forum members, My problem: I have two objects that need to be tested for collision. But they are both moving and rotating. Is there a way OpenGL can help me or do I have to do all the transformation for myself? Doesn''t this cost too much CPU? Or is this the common way to do it? Or is there a way to transform a complete array with the current openGL matrix using OpenGL calls? Lyve _____________________________________ Visit http://www.nilsschneider.de for finest trance music, studio, bio, guestbook and more!
_____________________________________http://www.winmaze.de, a 3D shoot em up in OpenGL, nice graphics, multiplayer, chat rooms, a nice community, worth visiting! ;)http://www.spheretris.tk, an upcoming Tetrisphere clone for windows, a 3D tetris game on a sphere with powerful graphics for Geforce FX and similar graphics cards.
Please if someone can give me a hint, please tell me, I don''t know how to plan my program for further development at the moment.

_____________________________________
Visit http://www.nilsschneider.de for finest trance music, studio, bio, guestbook and more!
_____________________________________http://www.winmaze.de, a 3D shoot em up in OpenGL, nice graphics, multiplayer, chat rooms, a nice community, worth visiting! ;)http://www.spheretris.tk, an upcoming Tetrisphere clone for windows, a 3D tetris game on a sphere with powerful graphics for Geforce FX and similar graphics cards.
Advertisement
You have to transform them yourself. But before you transform them all just check if ther bouding objects collide. If they do then do some more percise checks.

You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
transform one to be realitive to the other. Don''t transform both.

| - Project-X - my mega project.. getting warmer - | - adDeath - an ad blocker I made - | - email me - |

This topic is closed to new replies.

Advertisement