);
viewer.addSlave(hudCamera, false);
viewer.setSceneData(root);
viewer.realize();
viewer.getCamera()-setUpdateCallback(new CameraUpdateCallback());
}
--
Jefferson Pinheiro
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http
::CullSettings::VIEW_FRUSTUM_CULLING
|
osg::CullSettings::SMALL_FEATURE_CULLING);
You may also want to disable the compute and near/far planes.
viewer-getCamera()-setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR);
Robert.
On Tue, Dec 2, 2008 at 7:48 PM, Jefferson Pinheiro
Hello Robert,
Can you please implement a function, in class Polytope, that checks if the
current polytope intersects another polytope? Or is there another way to do
that, and I'm not seeing?
Thanks,
--
Jefferson Pinheiro
___
osg-users mailing list
osg
*
Self defence is not a function of learning tricks
but is a function of how quickly and intensely one
can arouse one's instinct for survival
- *Master Tambo Tetsura*
--
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Jefferson
Pinheiro
*Sent
Pinheiro
[EMAIL PROTECTED] wrote:
Hello Robert,
Can you please implement a function, in class Polytope, that checks if
the
current polytope intersects another polytope? Or is there another way to
do
that, and I'm not seeing?
Thanks,
--
Jefferson Pinheiro
are on a separete osg::Group)?
Thanks,
--
Jefferson Pinheiro
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Hi Robert,
On Fri, Dec 12, 2008 at 2:26 PM, Robert Osfield robert.osfi...@gmail.comwrote:
Hi Jefferson,
On Fri, Dec 12, 2008 at 3:56 PM, Jefferson Pinheiro
jeffersonmpinhe...@gmail.com wrote:
I'm working on a driving project on OSG, and now I am making it rain. I
added a precipitation
://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
Jefferson Pinheiro
(51) 9192 3535
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Consider this scene:
- Terrain and some buildings: osg::Group sceneNode
- Several cars: osg::Group carNode
Both are children of a ShadowedScene. I'm using ShadowMap as a technique.
I want that the buildings cast shadows on the terrain/road (that is working
fine), and that the cars cast shadows
Every material that has no texture associated becomes completely black when
I do one of the following:
- change the shadow technique from ShadowMap to SoftShadowMap
- add any of the GLSL bloom shader I found on the net (
@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
Jefferson Pinheiro
(51) 9192 3535
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users
-users-openscenegraph.org
--
Jefferson Pinheiro
(51) 9192 3535
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Or, attach an empty osg::Program to get the fixed pipeline. If you're just
using the default shadow shader for your shadows, the fixed pipeline for
your cars might be sufficient instead of having to write a shader without
shadowing yourself.
/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
Jefferson Pinheiro
(51) 9192 3535
___
osg-users mailing list
osg-users
-openscenegraph.org
--
Jefferson Pinheiro
(51) 9192 3535
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
15 matches
Mail list logo