[osg-users] Visualizing a light cone in scene

David Heitbrink david-heitbrink at uiowa.edu
Fri Jan 13 06:46:40 PST 2017


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 lighting model for the cone of light, it partially depends on what you are going for, doing a spot light is more realistic, but is going to be more work if you want to sort of pillar of light effect. If you are just looking to visualize what a search light would highlight, it just going to be easier to do a semi transparent cone.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69966#69966








More information about the osg-users mailing list