Re: [osg-users] Building an Altimeter

2011-04-11 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Rusty, If your altimeter renders correctly and gives you correct results, then I'd say your implementation is probably fine. There are plenty of OSG examples and tutorials that you can compare with to see if you're on the right track. On understanding how normals are used, I would suggest that

Re: [osg-users] Building an Altimeter

2011-04-11 Thread Rusty Shackleford
Thanks all, I tried setting the lighting mode to off and it worked fine, but extremely slowly. I managed to fix that by placing all the vertexes in a single Geometry object and using LINES to draw them in pairs, with the central line occupying [0] and [1], needing to only set the lighting mode

Re: [osg-users] Building an Altimeter

2011-04-09 Thread Rusty Shackleford
I should add that the reason the marker dimension is being hardcoded into the x axis because at this point I'm positioning the spacecraft along the Y axis. I was considering creating in a way similar to this every time, then rotating it to match the lander, but would be open to a more dynamic

Re: [osg-users] Building an Altimeter

2011-04-09 Thread Chris 'Xenon' Hanson
On 4/9/2011 2:44 PM, Rusty Shackleford wrote: Hi, I'm working on a tool that visualizes a spacecraft in orbit around a planetary body. As it is set up now, the position of that spacecraft is given relative to the center of the body as an x,y,z coordinate. What I'm trying to do right now is