Re: [osg-users] Building an Altimeter

2011-04-11 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
] On Behalf Of Rusty Shackleford Sent: Saturday, April 09, 2011 2:45 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Building an Altimeter 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

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

[osg-users] Building an Altimeter

2011-04-09 Thread Rusty Shackleford
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 set up a simple altimeter that looks essentially

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