G'day
I'm implementing a display using the osgSim::scalarbar. When I set
the orientation to vertical the geode disappears.
In osgSim::ScalarBar::createDrawables() the vertical rotate matrix is:
matrix = osg::Matrix::rotate(osg::DegreesToRadians(90.0f),1.0f,0.0f,0.0f) *
-finalize();
(osg::MatrixTransform)_modelview_abs-addChild(_pangoText);
Top image taken here
then later
_modelview_abs-removeChild(_pangoText);
Bottom image taken here
Many thanks
Murray Curtis
Tag Systems
Melbourne
Australia
inline
in your case, well you have
the source code. BTW you can set your own UpdateVisitor if you wish
via viewer.setUpdateVisitor(mySubclassedFromUpdateVisitorObject);
Robert.
On Fri, Jul 18, 2008 at 2:23 AM, Murray Curtis [EMAIL PROTECTED] wrote:
I'm having trouble getting osgParticle::PrecipitationEffect
:
precipitationEffect = new osgParticle::PrecipitationEffect;
group-addChild(precipitationEffect.get());
viewer.run();
works perfectly.
I'm using OSG 2.5.4 on Linux.
Any pointers much appreciated.
Murray Curtis
Tag Systems
Melbourne
Australia
(Irony: We're in the worst drought
or similar.
Are there any help routines in OSG (that I've not found) to do the trig?
Or any web references that may help?
Cheers
Murray Curtis
Tag Systems
Melbourne
Australia
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http
suggestions on a better
approach? Could the viewports be the expense? Would a pre-render
textured onto a quad be better?
Many thanks
Murray Curtis
Tag Systems
www.tagsystems.com.au
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http
6 matches
Mail list logo