flags.
Specifically one has to be careful about the order of your application
objects and osg shared libraries, to make linker happy.
--
Vijay Patil
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org
);
mtleft-setMatrix(m);
/* Add geode to matrix transform object. */
mtleft-addChild(geode.get());
return mtleft.get();
}
--
Vijay Patil
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org
be larger than the first one.
It's also pretty easy to make a visitor that will add a graphical
representation of all bounding volumes of a scene.
Yes I think so. IIRC there was a thread with lots of attachment about
this. Will look into it.
Thanks again.
--
Vijay Patil
;
}
}
}
I tried this and it's working fine. Attached is complete code listing.
Next step for me would to study physics behind elastic collision and
implement correct deflection.
--
Vijay Patil
/* Description: Learning collision detection.
*
* Compile and Execute:
* $ g++ -L
;
}
}
}
Attached is complete code listing.
--
Vijay Patil
/* Description: Learning collision detection.
*
* Compile and Execute:
* $ g++ -L/usr/local/lib -losg -losgDB -losgViewer shape.cpp -o collision
* $ ./collision
*
* */
#includeosgViewer/Viewer
#includeosg/ShapeDrawable
#includeosg
(for this fantastic software) and specifically to Paul Martz for
the quick start guide.
Perhaps I should add a link to tutorial section in OSG wiki.
Thanks.
--
Vijay Patil
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org
6 matches
Mail list logo