HI Kiddi, Does the osglightpoint example work for you? If so have a look at it as inspiration of how to get lightpoints working.
Robert. On 25 March 2013 10:44, Kiddi <[email protected]> wrote: > Hi, > > I am having problems adding lights to my scene. The code I am using is as > follows: > http://pastebin.com/q9pVpEuL (good for 24 hours as of this post) > > What I am trying to do: > > 1. load a 3d model (not included in the code) which has a degree of freedom > node (dof). > 2. Create a multiswitch node and add to the dof node. > 3. Create a lightpointnode and add to the multiswitch. > 4. Create a lightpoint with a blink sequence and add to the multiswitch. > > I created a stateset, and added a texture to the lightpoint as shown in the > code above. But however I do this, the lightpoint does not show up when I run > my program. > > Any and all help is very much appreciated. > > Thank you! > > Cheers, > Kiddi > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=53229#53229 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

