Basically What you want is the situation where the peak of the cone is at
0,0,0, and the base is at your negative direction pointed towards the ground.
You may have to put transform between say the DOF node, and the cone. You might
also just forgo the OSG cone, and have a model where the peak
Hi David,
Thanks for the tips on my problem.
Yes, i am trying to use (at present) light cone to show in my scene what its
highlighting. But it fails to show the cone light beam emanating from the
aircraft.
As u suggested, i tried with transparent cone. But The problem is i am not able
to
Hi David,
Thanks for the tips on my problem.
Yes, i am trying to use (at present) light cone to show in my scene what its
highlighting. But it fails to show the cone light beam emanating from the
aircraft.
As u suggested, i tried with transparent cone. But The problem is i am not able
to
Hi Ekaterina,
Thanks for the clue. I am at present doing the round trace in a brute force way:
I am retaining the rendered base circle of cone in each of the position of the
aircraft. Next when the aircraft moves to next position, i again draw the new
base circle, while i translate the cone i
Hi,
I am doing something similar. If you want to have your cone tilted attach it to
your air vehicle using MatrixTransform, like in the example "osgspheresegment":
osg::MatrixTransform* positioned = new osg::MatrixTransform;
How are you planning on doing the search light? Are you planning on doing it as
a semi-transparent cone? If so I would basically recommend looking at the DOF
nodes (osgSim::DOFTransform), and look to attach the DOF node to your aircraft,
and then placing your code under the DOF node.
As per
Hi,
Any suggestions or clues ?
...
Cheers,
Suraj
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69963#69963
___
osg-users mailing list
osg-users@lists.openscenegraph.org
7 matches
Mail list logo