Madcoretom
12-20-2007, 09:16 PM
Hey, i'm converting one of my projects to opengl from a crappy graphics library, adn thought i could take advantage of opengl's rotation rather than calculating it myself like i had to.
basically i have a few vertices (2000) that i would like to rotate in 3d space (without perspective) (which works) but i'd like to be able to know the '2d coordinates i guess' of where they appear on the screen, so i can find the closest vertex to the cursor and select it
i hope that makes sense without having to explain too much
cheers
basically i have a few vertices (2000) that i would like to rotate in 3d space (without perspective) (which works) but i'd like to be able to know the '2d coordinates i guess' of where they appear on the screen, so i can find the closest vertex to the cursor and select it
i hope that makes sense without having to explain too much
cheers