[Plib-users] gluUnProject help!
Brought to you by:
sjbaker
From: Tinoshi K. <ti...@li...> - 2006-01-23 19:43:02
|
Hello everybody! Do you know how to use the gluUnProject with PLIB??? I need to do something like Sim City, so I have a terrain (a scenegraph) built using PLIB, and I need to put objects over it clicking with mouse! I'm trying to gluUnProject(x,y,0.0,...) and gluUnProject(x,y,1.0,...), and I create a sgLineSegment3 to connect the two points. Then I'd like to ssgLOS() this line with the scenegraph... but I'm going crazy!!! Do you know a easier way to do something like that??? Thanks!!! |