Daniel,

In response to your questions below, these topics have been discussed in the
past with plenty of input. May I recommend that you look at the archives
http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org

You can search on a particular topic to get the information you need...:)

Regards,
-Shayne

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Daniel
Drubin
Sent: Thursday, July 09, 2009 12:42 PM
To: OpenSceneGraph Users
Subject: [osg-users] A couple of questions

Greetings,

I got a couple of (hopefully trivial) questions. I work with my own
viewer class which is derived from osgViewer::Viewer.
I use OSG 2.6.1.

1) When I start rendering, the camera is always initially placed at
some default position and direction, which apparently displays at the
center the largest visible object. Is there a way to set the camera as
I wish?

2) I add lights to the scene and disable the default OSG light, but
still get the default lighting and my lights don't have an effect. Is
there something trivial that I miss?

3) How can I make some objects invisible entirely for some period of
time? I use update callbacks.

4) Can I use update callback for Root node?

5) Can I determine which object is effectively clicked? Or in other
words, which object is the nearest to the camera at mouse pointer's
coordinates, if any?

Thanks,
Daniel
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to