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
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
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
I'm using a NodeTrackerManipulator to lock the camera's motion around a model
in space. This code below is all I have now:
Code:
camTracker = new osgGA::NodeTrackerManipulator();
camTracker-setTrackNode(someNode);
camTracker-setMinimumDistance(30.0f);
camTracker-setDistance(100.0f);
4 matches
Mail list logo