[osg-users] multiple cull traversal for single object

2011-11-17 Thread Emmanuel Roche
Hi everyone, I have a question concerning the possible limitations that might exist in the following scenario: - Let's say I have a special node object in my scene graph: class SpecialNode : public osg::Node { protected: osg::ref_ptrosg::PositionAttitudeTransform _subgraph; public: void

Re: [osg-users] RenderBin-question/problem

2011-11-17 Thread Stephan Maximilian Huber
Hi Laurens, thanks for the explanation, that makes sense. cheers, Stephan Am 16.11.11 13:20, schrieb Laurens Voerman: Hi Stephan, You created a nested renderbin, and because of its non negative bin number it will draw after the contents of the first bin. Both are DepthSortedBin with

Re: [osg-users] multiple cull traversal for single object

2011-11-17 Thread Jean-Sébastien Guay
Hi Emmanuel, = The question I have is : to which extend could such a mechanism be used: - would this still work as expected, if instead of changing the Position, I were to change: 1. A StateAttribute in a sub stateset ? 2. An uniform value ? No, not as simply as changing the position. The

Re: [osg-users] multiple cull traversal for single object

2011-11-17 Thread Emmanuel Roche
Hi J-S, I was suspecting the pointer issue with statesets, thanks for your clarifications! But I didn't realize I could just as simply push/pop another stateset, will certainly use that tip ! ;-) Cheers, Manu. 2011/11/17 Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com Hi Emmanuel,

[osg-users] osgText::Text is quite a heavyweight (memory-wise)

2011-11-17 Thread Christian Buchner
Hi, even though sizeof(osgText::Text) is rather small, the object allocates quite a lot of memory in its constructors, most of it being caused by osgText::TextBase. #include osgText/ void main(int argc, char **argc) { osgText::Text tmp; // sizeof(tmp) is small, but about 10 times that

[osg-users] [vpb] osgdem --no-terrain-simplification : what exactly is it doing?

2011-11-17 Thread Ethan Fahy
Hello all, I start with dted data and use gdal_translate to convert this data to a geotiff. This geotiff has 278x305 pixels. The lat-lon bounding box has right angles in lat-lon space, but due to the mercator projection being used, the geotiff has some no-data areas along the edges. I

Re: [osg-users] [forum] All Forum Users, PLEASE READ IT!

2011-11-17 Thread Abayomi Aje
I think there should be a new thread where new members can introduce themselves. If there is any as such, I can't find it. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43839#43839 ___ osg-users

Re: [osg-users] [osgPPU] Fixed crash in UnitTexture, when external texture has no image.

2011-11-17 Thread Art Tevs
Hi Alex, thanks, I've patched the file. art airion wrote: Please find attached fix. It fixes a null pointer dereferencing in UnitTexture::setTexture(), when tex has no image, yet. Regards, --Alex -- Read this topic online here:

Re: [osg-users] [osgPPU] FIX: osgPPU rendering not working in the first frame

2011-11-17 Thread Art Tevs
Hi Alex, hmm, ok, it seems to be a solution, however I am not sure if this is a general one. I mean, what if for example the input texture is not 2D and the output texture is also not 2D. Then fbo will still overwrite current binding. I would propose to try following solution:

[osg-users] [vpb] How to get the coordinate system information?

2011-11-17 Thread Xiaofeng Yang
Hi, Everyone here,I am a freshman,I want to use osgdem to build my terrain. In general,I download the img format files just like dem and texture to build the ive format file. I want the ive format terrain file to have the latitude and longitude information so I can use it to locate the models.

[osg-users] [vpb] Building VPB

2011-11-17 Thread Kevin Smith
Hi, I'm having trouble compiling VPB on VS10, see the compile error below. I tried both the latest svn and the latest tagged version (0.9.12) and both give the same result. I'm building against OSG 3.0.1 and gdal 1.8.1, which both compiled just fine. Any ideas? I've read this issue can come

Re: [osg-users] [vpb] How to get the coordinate system information?

2011-11-17 Thread Shayne Tueller
Hi, If you build the database using the --geocentric option, and your source data uses WGS-84, you can use the EllipsoidModel class to convert from one CS to another. Shayne -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43935#43935