Write a NodeVisitor and override the apply(Geode) method. In apply(),
iterate over all Drawables, and obtain the bounding box from each one. Add
them to a std::list or whatever.
Run the NodeVisitor on your scene graph, then obtain the list of bounding
boxes from the NodeVisitor and create a new s
Hi.
I have following problem.
I have a simple 3d model but which has hierarchy of nodes.
I would like to extract all bounding boxes of leafs of this hierarchy.
I would use this to represent schematic top-down model.
I don't want to represent all lines,just bounding boxes.
I attached image of wha
osgAL is based on OpenAL.
OpenAL under windows will support anything that your current hardware is
capable of, if you have the latest and matching hardware drivers.
For example using a Creative xFi will also give you true HRTF out of the box
using osgAL.
Just set the speaker setting in the driver
If you use the svn version of osgAL it should compile just fine with the
latest svn version of OpenSceneGraph.
Due to some changes in OpenThreads (moving ReentrantMutex from osgDB to
OpenThreads) it needs the latest svn version of OT and OSG.
Cheers,
Anders
On 3/31/07, RJ <[EMAIL PROTECTED]> w
Just this:
Loading shader source file "data/blackify.frag"
Uniform Adding parent
2007/3/30, Mihai Radu <[EMAIL PROTECTED]>:
Hi Ivan,
Try this before the code creating the program:
osg::setNotifyLevel(osg::INFO);
Then watch the spew on the console to get some idea of supported
extensions, erro
Hi Phil,
It's not actually a compiler bug, it's a quirk in the language itself.
See this entry in the C++ FAQ, which explains the method hiding problem
better than I can, and also gives a workaround:
http://www.parashift.com/c++-faq-lite/strange-inheritance.html#faq-23.9
-Mike
> -Original Me
I'd like to do some actions during the main loop of my application but I
have some problems with osgViewer. In particular I can display anything if I
use osgViewer::run method but if I replace the call to run() with:
...
viewer.realize();
while(!viewer.done())
{
viewer.frame();
}
...
I got a b
An "openscenegraph.org/Data" directory would be great. My immediate need is
to demonstrate the simplicity of loading a paged database with a few lines
of code, as an example for the Quick Start Guide. For now I'll just go ahead
and use the cow and revise the book later when we have something cooler
Hi Robert,
One trouble with osgAL is that it require openal++.
But the openal++ sources available on sourceforge
are not compiling and the cvs version is not available .
So i am stuck with osgAL. Is there any other alternative
for integrating audio in OSG.
best reagrds
RJ
On Sat, 2007-03-31 at
Actually I'm playing with 'osgART' library that has a wrapper...and I find
out that it doesn't build anymore because of the changes I talked
about...actually I'm not sure yet that osgart wrapper is really needed for
building osgart application...
One more problem I'm facing concerns osgViewer and
Thanks Robert,
I have osgAL installed on my machine and i will try it.
The only thing i was worried about was whether or not
osgAL will support 5 stereo.
Thanks Again
RJ
On Sat, 2007-03-31 at 11:30 +0100, Robert Osfield wrote:
> Hi RJ,
>
> On 3/31/07, RJ <[EMAIL PROTECTED]> wrote:
> > Hi Guys,
Hi,
I've written a class inheriting from osgGA::NodeTrackerManipulator
that disables the rotation after the release of the mouse left button.
To do so, I've just reimplemented the virtual method
osgGA::NodeTrackerManipulator::handle(...) in the following way:
bool handle(const osgGA::GUIEventAd
Hi RJ,
On 3/31/07, RJ <[EMAIL PROTECTED]> wrote:
Hi Guys,
I want to integrate 5.1 stereo audio in my project.
Any Suggestions?
best regards and thanks in advance
Would OpenAL suffice? If so there is an osgAL NodeKit available,
check the community section for it.
Robert.
_
Hi Alessandro,
The macro's in osgIntrospection are primarily to assist the automatic
generation of the wrappers, rather to be used directly in user code.
Should I read it that you are manually creating you own wrappers?
Robert.
On 3/31/07, alessandro terenzi <[EMAIL PROTECTED]> wrote:
I've ju
Hi Paul,
On 3/30/07, Paul Martz <[EMAIL PROTECTED]> wrote:
On this page:
http://www.openscenegraph.com/osgwiki/pmwiki.php/Downloads/SampleDataset
the wiki says that you can issue the following command:osgviewer
http://www.openscenegraph.org/downloads/data/Earth/model.ive
However, that file does
Hi Guys,
I want to integrate 5.1 stereo audio in my project.
Any Suggestions?
best regards and thanks in advance
RJ
___
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.or
Hi Paul,
On 3/30/07, Paul Martz <[EMAIL PROTECTED]> wrote:
Are the syntax highlight registry files (e.g., highlight80.reg) generated
automatically, or should we submit changes to osg-submissions for these
files?
We don't have any public tools to generating thme, s just send me updates.
I'd gu
I've just moved from OSG September '06 distribution to current svn level and
I see that there are many changes.
Unfortunately, now I have some problems with some 'old' libraries that are
based on OSG. In particular I need to build a component that uses the
I_Constructor1 macro (defined in Reflecti
18 matches
Mail list logo