Re: [osg-users] wrong calculation of bounding box

2011-11-11 Thread Frederic Bouvier
Hi John, De: John Doves evage...@gmail.com Wrong calculation a bounding box of model which contains biped or bones. I'm used this code to calculate bounding box: Code: model = (osg::Geode*) osgDB::readNodeFile(testmodel.fbx); //calculating bounding box of model

[osg-users] [forum] bug in ShapeDrawable.cpp

2011-11-11 Thread Peter Wraae Marino
Hi, void PrimitiveShapeVisitor::createCylinderBody(unsigned int numSegments, float radius, float height, const osg::Matrix matrix) has a bug.. it doesn't transform the last two points: // do last point by hand to ensure no round off errors. _functor.vertex(osg::Vec3(r,0.0f,topz));

Re: [osg-users] [forum] bug in ShapeDrawable.cpp

2011-11-11 Thread Robert Osfield
Hi Peter, This bug has been fixed in 3.0.0. Thanks, Robert. On 11 November 2011 09:29, Peter Wraae Marino marino.pe...@gmail.com wrote: Hi, void PrimitiveShapeVisitor::createCylinderBody(unsigned int numSegments, float radius, float height, const osg::Matrix matrix) has a bug.. it

Re: [osg-users] Stereo and Render to Texture effects

2011-11-11 Thread Kim Bale
Hi Farshid, I just did a quick test and you appear to be right. SceneView.cpp ~line 1099 Changing the following: _renderStageLeft-drawPreRenderStages(_renderInfo,previous); _renderStageRight-drawPreRenderStages(_renderInfo,previous); _renderStageLeft-draw(_renderInfo,previous);

[osg-users] How? Model-View space based bounding sphere for osgText::Text in OSG3.0.1

2011-11-11 Thread George Bekos
Hello OSGers! :) I am porting an application from OSG3.0.0 to OSG3.0.1. One of the reasons I am doing this is because of a well known bug with osgText::Text. In the new version of OSG this problem is fixed and the text renders perfectly. In my application I have a series of text labels

Re: [osg-users] Stereo and Render to Texture effects

2011-11-11 Thread Robert Osfield
Hi Kim, The only problem I would see with this re-ordering is that if users are relying upon stereo and frame buffer based render to texture then their second render to texture pass would render over the top of the left image. Given this one would certainly have to make your suggested

Re: [osg-users] wrong calculation of bounding box

2011-11-11 Thread John Doves
hi Frederic, hmm.. How it possible? I did not mix anything I just exported from 3d studio max to fbx a model which contains mesh and biped or bones. Well I have two models one model contains only mesh and bounding box calculating as expected but if I use same model with biped the size of

[osg-users] Get camera X rotation angle in rads?

2011-11-11 Thread Paul Griffiths
Hi, I wish to get the camera X rotation relative to the scene in rads, any ideas? Thank you! Cheers, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43833#43833 ___ osg-users mailing list

[osg-users] OSG website unresponsive

2011-11-11 Thread Chris 'Xenon' Hanson
From Colorado, USA at this time. -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting. There is no Truth. There is only Perception. To Perceive is to Exist. - Xen

[osg-users] using view dependent overlays

2011-11-11 Thread Blake Mason
I was looking at the example osganimate and I attempted to use the --ortho option which sets the overlay technique to osgSim::OverlayNode::VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY. However, nothing is overlaid when this method is selected. My assumption is that this method should increase the

[osg-users] Saving a Texture3D to an Image

2011-11-11 Thread Trystan Larey-Williams
Hi, I've been banging my head against how to save a 3D texture out to a dds file for some time now. I've read posts that suggest simply attaching the texture's image to the buffer rather than the texture itself. I've done that for 2D textures with no problem. However, I don't see how that will