Original Post
Im making a space invaders game in 3d that uses bezier curves for the enemy paths. Ive got it working and all the curves are mapped to a box with lower left -1 -1 and top right 1, 1. i.e. ================1,1 |...............| |...............| |......0,0......| |...............| |...............| -1-1============ This is fine for mapping the curves and ive got it displaying in opengl with squares following the curves but im wondering is how do i map that to say a window of 400 by 400 so the points stay relative to the window size. I was thinking id just times the x and y by height/2 width/2 of the window but surely theres more to it then that >< ? cheers fishleg [Edited by - fishleg003 on October 30, 2005 8:09:25 AM]