Re: [osg-users] osgviewerQt-Example

2011-11-08 Thread Patrick Buder
Thanks for the answer; I am indeed using Windows and Microsoft Visual studio 10. Problem solved. Thank you! Cheers, Patrick[/img] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43752#43752 ___

Re: [osg-users] osg::Image pixel format conversion

2011-11-08 Thread Robert Osfield
Hi Baker, On 7 November 2011 19:32, Bradley Baker Searles bsear...@carsim.com How would you use gluScaleImage to convert formats? It only takes one format parameter, and internally it uses that one format to compute the size of the before and after image? It seems suited only to scale the image,

Re: [osg-users] PagedLOD nodes disappear because of infinite pixel-size-on-screen

2011-11-08 Thread Robert Osfield
Hi Joakim, On 8 November 2011 07:29, Joakim Low joakim@saabgroup.com wrote: Just to follow up; I would suggest adding the support for infinite values for screen space lod, that would be valuable for us. Thank you. I'm afraid I'm rather busy with client work right now, could you dive in

[osg-users] setting up Y as up vector for camera

2011-11-08 Thread John Doves
Hi, I need Y as up vector but all manipulaturs by default using Z as up vector. Does any easy way to setup manipulator? Shall I use CoordinateFrameCallback? And Can some one give me an easy example? Thank you! Cheers, John -- Read this topic online here:

Re: [osg-users] set material basic question

2011-11-08 Thread Gianni Ambrosio
Hi All, I got the point. The vertex order of some faces of the wheel causes it. I modified one face of the wheel inverting the vertex order and after that modification I can see that face correctly coloured. Now, since I used the osg::Material::FRONT_AND_BACK option, why it doesn't work? In

Re: [osg-users] PagedLOD nodes disappear because of infinite pixel-size-on-screen

2011-11-08 Thread Joakim Low
Hi Robert, I'll give it a try. Regards, Joakim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43757#43757 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Particles on iOS

2011-11-08 Thread Alessandro Terenzi
Hi, I'd like to use osgParticles on iOS, I tried the example from the book OpenSceneGraph 3.0.0 - Beginners Guide, but I get lots of warnings like this: Warning: ParticleSystem::drawImplementation(..) not fully implemented. and visualization get messed. Maybe I'm doing something wrong, but I'd

[osg-users] cloning problem

2011-11-08 Thread Gianni Ambrosio
Hi All, I would like to copy a node (osgWidget::Box) without its contained widget (osgWidget::Label). I'm trying to use the clone() method but I don't know which CopyOp should I use in this case. Alternatively I can do a deep copy of the window (osg::CopyOp::DEEP_COPY_ALL) but I need a way to

Re: [osg-users] ShapeDrawable problem

2011-11-08 Thread Robert Osfield
Hi Klaus, This rather looks like a numerical precision problem. Are the translations or the sizes of the objects particularly large or small? To make it possible to use shapes under OpenGLES and OpenGL 3.x+ where glBegin/glEnd aren't available I introduced a means of converting the old style

Re: [osg-users] cloning problem

2011-11-08 Thread Filip Arlet
Hi, osgWidget::Window is Transform and osgWidget::Widget is Drawable. Window uses private variable _geode, that will append to itself. All Widgets are stored there. Problem is that Window doesnt have interface for accessing DrawableList of _geode or index accessing of Widgets. Solutions are

Re: [osg-users] cloning problem

2011-11-08 Thread Gianni Ambrosio
Hi All, I solved the problem through the osgWidget::UIObjectParent interface osgWidget::Window inherits from. I realized that before window-addWidget(label) the getNumObjects() returned 0, while after I got 1. So that's the correct API to use (I guess). So window-getByName(osgLabel) returned

[osg-users] Line Style

2011-11-08 Thread Filip Arlet
Hi, I want to implement custom line style. I know about LineStipple and LineWidget, but I want to create something more complicated than that, for example this repeating pattern: | My current solution is custom line geometry created instead of GL_LINE - start - end. The upside is, that

Re: [osg-users] set material basic question

2011-11-08 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
I'll attempt to make a guess on what may be happening... Since materials only makes sense with lighting enabled, the lighting normal may be dependent upon vertex order (auto normal generation). Specifying osg::Material::FRONT_AND_BACK option simply says to apply the material to both front and

Re: [osg-users] cloning problem

2011-11-08 Thread Gianni Ambrosio
gambr wrote: Moreover, since the Label widget I add to the window is indeed a subclass of osgWidget::Label (say MyLabel class), what should I implement in MyLabel class to make the clone() call on the osgWidget::Window to create an instance of MyLabel instead of an osgWidget::Label?

Re: [osg-users] [osgOcean] osgOcean time control

2011-11-08 Thread bart gallet
Hi J-S thanks for the information. Looking at the link you provided me, the code I have downloaded from http://code.google.com/p/osgocean/downloads/list is different (and has issues like nested protected classes which MSVC is complaining about). I have osgOcean 1.0.1, released on 03/11/09 -

Re: [osg-users] [osgOcean] osgOcean time control

2011-11-08 Thread Kim Bale
I would work with the version in the trunk.. 1.0.1 is rather dated. I really do need to do a review and do a new release.. K. On 8 November 2011 16:06, bart gallet bartgal...@hotmail.com wrote: Hi J-S thanks for the information. Looking at the link you provided me, the code I have

[osg-users] [osgPPU] Drawing a mesh over an osgPPU output

2011-11-08 Thread Jean-Sébastien Guay
Hi all, I hope there are some people using osgPPU who can answer my question. I'm having trouble doing something that I think should be simple, so if someone has any ideas I'd appreciate it. What I need is to draw a mesh (which is a blending mesh, and whose vertices are in eye space) over

Re: [osg-users] [osgPPU] Drawing a mesh over an osgPPU output

2011-11-08 Thread Art Tevs
Hi Jean, one way to do so, is to pass the output of osgPPU graph to a texture and then use that texture in order to draw the background for your scene. So, at the end of your Unit Graph you don't use UnitOut but UnitInOut and use it's output texture for your purpose. If you want to have some

[osg-users] Quad buffered stereo; System requirements

2011-11-08 Thread Helen Korotkova
Hi, I need concrete names and types of monitors, glasses and cards to work with quad buffered stereo technology. I know that it can be ATI FireGL or Nvidia Quadro cards. But I whant know names of monitors which will work with them. I saw some information on nvidia site in

Re: [osg-users] [osgOcean] osgOcean time control

2011-11-08 Thread bart gallet
Hi Kim, thanks for the advice Cheers, bart -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43777#43777 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] CoordinateSystemNode question about Local Coordinate Frame

2011-11-08 Thread Scott Wasinger
Hi, I have a task that will require placing a model of launch vehicle in orbit around the earth and I've been delving into the OSG library code so I don't have to re-invent functionality that may already exist. Both the CoordinateSystemNode and the EllipsoidModel classes are well defined and

[osg-users] Transparency Bin Default Behavior

2011-11-08 Thread Buckley, Bob CTR MDA/DES
I just found that the transparency bin does not disable z writes by default. Is there a way to do this via the existing API? Pre-traversal callback? Mode? Attribute? I've been looking thru the archives and see only one reference. Indeed cites it as the solution. Thanks Bob Buckley Raytheon

Re: [osg-users] Transparency Bin Default Behavior

2011-11-08 Thread Jason Daly
On 11/08/2011 04:26 PM, Buckley, Bob CTR MDA/DES wrote: I just found that the transparency bin does not disable z writes by default. Is there a way to do this via the existing API? Pre-traversal callback? Mode? Attribute? I’ve been looking thru the archives and see only one reference.

Re: [osg-users] Transparency Bin Default Behavior

2011-11-08 Thread Buckley, Bob CTR MDA/DES
Hey, Jason. Was just down in your neck of the woods, kinda - flying @ Sebring. I got the per state solution. But, I'm looking for fixing the transparency bin. Should be on that bin rather than wasting resources on identifying and setting on all the applicable states - transparent colors and

[osg-users] Fedora 16 + nouveau + OSG 3.0.1 = assertion failure

2011-11-08 Thread Stuart Mentzer
Hi, Just updated to Fedora 16 running the nouveau video driver and now my app using OSG and osgviewer give this on exit: Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map-l_init_called' failed! Anyone else seeing/seen this? Otherwise, I'm happy to see that my app

Re: [osg-users] Transparency Bin Default Behavior

2011-11-08 Thread Jason Daly
On 11/08/2011 04:51 PM, Buckley, Bob CTR MDA/DES wrote: Hey, Jason. Was just down in your neck of the woods, kinda – flying @ Sebring. I got the per state solution. But, I’m looking for fixing the transparency bin. Should be on that bin rather than wasting resources on identifying and

Re: [osg-users] Transparency Bin Default Behavior

2011-11-08 Thread Thrall, Bryan
Jason Daly wrote on 2011-11-08: On 11/08/2011 04:51 PM, Buckley, Bob CTR MDA/DES wrote: I got the per state solution. But, I'm looking for fixing the transparency bin. Should be on that bin rather than wasting resources on identifying and setting on all the applicable states -

Re: [osg-users] Particles on iOS

2011-11-08 Thread Su Gang
Hi Alessandro and everyone, I can't answer yours as having no iOS device or emulator. May I ask some simple questions on building osg? 1. Is it possible to compile and run the application osgviewer under OpenSceneGraph/applications/osgviewer on iOS? 2. If the answer of 1 is yes, I think it is

Re: [osg-users] osgviewerQt-Example

2011-11-08 Thread Patrick Buder
Hi, anyone wanna answer? Thank you! Cheers, Patrick -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43788#43788 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] CoordinateSystemNode question about Local Coordinate Frame

2011-11-08 Thread Torben Dannhauer
Hi Scott, I used the conversion from XYZ to lat lon height quite often and it worked as expected. Unfortunately I have currently no spare time to dive into the code to explain why... Have you simply tried to use it? Does it work as expected or does this height=0.0 anomaly occure also in