Re: [osg-users] incomplete type in gdb

2009-12-15 Thread Alberto Luaces
You are welcome :) -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] file extension alias

2009-12-15 Thread Jan Pečiva
Paul Martz wrote: Thrall, Bryan wrote: When you add an alias, though, aren't you saying to the plugin, Trust me, even though you don't recognize the file extension, handle it? Hi Bryan - Exactly! This is what I had on mind. If I tell the plugin: This is MY alias, it should take my word and

Re: [osg-users] file extension alias

2009-12-15 Thread Trajce Nikolov
I think there is no need to do any work in the plugins. Registry::createLibraryNameForExtension(const std::string ext) gives you the name of the library (plugin) you have to load having in mind all the aliases. And I like this design and I think it is ok Nick http://www.linkedin.com/in/tnick

Re: [osg-users] OpenSceneGraph-2.9.6 developer release tagged

2009-12-15 Thread Robert Osfield
HI Markus, I've just checked in a fix for this, I can't compile the quicktime pluign myself so could you try out the latest in svn/trunk to see if it's now compiling cleanly for you. Cheers, Robert. On Mon, Dec 14, 2009 at 5:23 PM, Markus Lacay markus.la...@gmail.com wrote: Hey, I would also

Re: [osg-users] osgText::Text Drawing order

2009-12-15 Thread Robert Osfield
Hi Andre, Text by default will drop into the transparent bin so this is likely the reason why it's ordering is not exactly what you expect it. Text has to be in the transparent bin to ensure correct blending. Also I don't of if you are aware but rendering order only controls which item depends

Re: [osg-users] file extension alias

2009-12-15 Thread Ulrich Hertlein
On 14/12/09 9:27 PM, Paul Martz wrote: I have always been able to register an extension alias by calling addFileExtensionAlias directly from my code, the calling readNodeFile passing in a file name using the alias. What extension/plugin did you use it with? As I understand it

Re: [osg-users] file extension alias

2009-12-15 Thread Robert Osfield
Hi John, On Mon, Dec 14, 2009 at 10:21 PM, Jan Pečiva pec...@fit.vutbr.cz wrote: OSG plugin takes one look at the foo extension and returns an error. (This is correct behavior; the .osg plugin doesn't support the foo extension.) This is exactly the point I am trying to point out! The plugin

Re: [osg-users] file extension alias

2009-12-15 Thread Ulrich Hertlein
On 15/12/09 10:29 AM, Ulrich Hertlein wrote: As I understand it 'addFileExtensionAlias' really only works with plugins that don't check the extension name. I should add: ... or that have the extension in their supportsExtension list. From a software engineering p.o.v I'd say this isn't

Re: [osg-users] file extension alias

2009-12-15 Thread Jan Pečiva
Ulrich Hertlein wrote: On 15/12/09 10:29 AM, Ulrich Hertlein wrote: As I understand it 'addFileExtensionAlias' really only works with plugins that don't check the extension name. I should add: ... or that have the extension in their supportsExtension list. Exactly. It will not

Re: [osg-users] osgText::Text Drawing order

2009-12-15 Thread Robert Osfield
Hi Andre, Block diagrams won't help as that most likely not at issue. What are you doing with the depth buffer/depth test? What you are doing the with the depth of each of the objects? Robert. On Mon, Dec 14, 2009 at 6:17 PM, Andre Simoes andrersim...@gmail.com wrote: Hello Robert. Sorry

Re: [osg-users] file extension alias

2009-12-15 Thread Robert Osfield
Hi Ulrich, On Tue, Dec 15, 2009 at 9:43 AM, Ulrich Hertlein u.hertl...@sandbox.de wrote: On 15/12/09 10:29 AM, Ulrich Hertlein wrote: As I understand it 'addFileExtensionAlias' really only works with plugins that don't check the extension name. I should add: ... or that have the extension

Re: [osg-users] file extension alias

2009-12-15 Thread Jan Pečiva
Robert Osfield wrote: Hi John, On Mon, Dec 14, 2009 at 10:21 PM, Jan Pečiva pec...@fit.vutbr.cz wrote: OSG plugin takes one look at the foo extension and returns an error. (This is correct behavior; the .osg plugin doesn't support the foo extension.) This is exactly the point I am

Re: [osg-users] fatal error on simple programm

2009-12-15 Thread Anthony Face
Hi, thanks for triing to help me, i found i was not due to OSG but to my visual config witch failed. Realy sorry for post this. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21487#21487 ___

Re: [osg-users] osgText::Text Drawing order

2009-12-15 Thread Trajce Nikolov
Andre, could you send some test code so we can do some tests and help you ? Nick http://www.linkedin.com/in/tnick Sent from Gümüşsuyu, İstanbul, Turkey On Tue, Dec 15, 2009 at 12:27 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Andre, Block diagrams won't help as that most likely

Re: [osg-users] file extension alias

2009-12-15 Thread Robert Osfield
Hi John, On Tue, Dec 15, 2009 at 10:49 AM, Jan Pečiva pec...@fit.vutbr.cz wrote: I will do, although it is nearly more work than to, say, improve these aliases. Inventor plugin (ReaderWriterIV) does not have istream methods implemented. I will consider to implement them and submit them

Re: [osg-users] osgText::Text Drawing order

2009-12-15 Thread Robert Osfield
Hi Andre, On Tue, Dec 15, 2009 at 11:11 AM, Andre Simoes andrersim...@gmail.com wrote: Hi Robert. In reality I'm not doing anything with the depth buffer since i never used depth for a 2D projection in pure OpenGL programs. So you disable depth test? If you have depth test on then you

Re: [osg-users] [osgPPU] no results with osgPPU

2009-12-15 Thread Sebastien Nerig
Hi Art, I will try to add a camera node as a child of the main camera. I will also try to disable the main camera callback Thank you! Cheers, Sebastien -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21492#21492

[osg-users] ReflectionMapGenerator

2009-12-15 Thread Sebastien Nerig
Hi, What is the use of ReflectionMapGenerator class ? I didn't find any example. How can we use it ? What is this class for ? Thank you! Cheers, Sebastien -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21493#21493

Re: [osg-users] file extension alias

2009-12-15 Thread Ulrich Hertlein
Hi Robert, On 15/12/09 11:33 AM, Robert Osfield wrote: On Tue, Dec 15, 2009 at 9:43 AM, Ulrich Hertlein u.hertl...@sandbox.de wrote: On 15/12/09 10:29 AM, Ulrich Hertlein wrote: As I understand it 'addFileExtensionAlias' really only works with plugins that don't check the extension name.

Re: [osg-users] 3ds animations

2009-12-15 Thread Federico Costa
Thanks for your reply! The problem using blender is that the model i have is in .3ds format and when i try to load it with blender it has no animations! I dont know the name of the kind of animation but it is based on objects moving around. Cheers, Federico -- Read this topic

Re: [osg-users] problem with quadro cards database pager / terrapage terrains = black tiles

2009-12-15 Thread Ryan H. Kawicki
I was just wondering if there was any new information on this. Out of 8 PCs, we are experiencing the same problem on only 1 of them. Quadro FX 3700 (157.08) Thanks, Ryan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21500#21500

Re: [osg-users] 3ds animations

2009-12-15 Thread Cedric Pinson
Hi I have never used import of 3ds file in blender so i can't answer if it's path that works or not. Cheers, Cedric -- Provide OpenGL services around OpenSceneGraph and more +33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net http://www.plopbyte.net On Tue, 2009-12-15 at 12:51

Re: [osg-users] 3ds animations

2009-12-15 Thread Trajce Nikolov
I might be in the same park. Which ones uses osgAnimation? Blender is one? Anything else? Nick http://www.linkedin.com/in/tnick Sent from Gümüşsuyu, İstanbul, Turkey On Tue, Dec 15, 2009 at 4:09 PM, Cedric Pinson cedric.pin...@plopbyte.netwrote: Hi I have never used import of 3ds file in

[osg-users] osgOcean synced thru multiple machines

2009-12-15 Thread Trajce Nikolov
Hi, I just got osgOcean compiled and running and it looks great !!! One question. Is there a way to sync the waves on multiple machines ? Nick http://www.linkedin.com/in/tnick Sent from Gümüşsuyu, İstanbul, Turkey ___ osg-users mailing list

Re: [osg-users] 3ds animations

2009-12-15 Thread Cedric Pinson
I use it for this project http://pok.me/ with blender Cheers, Cedric -- Provide OpenGL services around OpenSceneGraph and more +33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net http://www.plopbyte.net On Tue, 2009-12-15 at 16:32 +0200, Trajce Nikolov wrote: I might be in the

Re: [osg-users] file extension alias

2009-12-15 Thread Thrall, Bryan
Paul Martz wrote on 2009-12-14: Thrall, Bryan wrote: When you add an alias, though, aren't you saying to the plugin, Trust me, even though you don't recognize the file extension, handle it? Hi Bryan -- That might be what you're saying, but that's not how osgDB::Registry is interpreting

Re: [osg-users] osgOcean synced thru multiple machines

2009-12-15 Thread Jean-Sébastien Guay
Hi Nick, I just got osgOcean compiled and running and it looks great !!! It does, doesn't it! Thanks to Kim Bale for all his hard work! One question. Is there a way to sync the waves on multiple machines ? Not in osgOcean itself, no. You'd have to come up with your own way. I guess you

Re: [osg-users] osgOcean synced thru multiple machines

2009-12-15 Thread Kim Bale
haha I thought I had this one.. but you beat me to it! Lightning fast response. Cheers. Kim. 2009/12/15 Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com: Hi Nick, I just got osgOcean compiled and running and it looks great !!! It does, doesn't it! Thanks to Kim Bale for all his hard

Re: [osg-users] file extension alias

2009-12-15 Thread Paul Martz
Ulrich Hertlein wrote: Isn't the following the case? - plugin X will automatically be associated with extension 'X'. - to support more extensions the plugin must say that it supports 'Y' *and* the Registry must map extension 'Y' to 'X', because otherwise plugin 'X' won't be

Re: [osg-users] file extension alias

2009-12-15 Thread Thrall, Bryan
Robert Osfield wrote on 2009-12-15: FYI, if you really want to try forcing a plugin to handle extensions it was never designed to handle you could try loading the plugin and then calling supportsExtension on it. Just to be pedantic, supportsExtension() is protected, so you'd need to: 1)

Re: [osg-users] file extension alias

2009-12-15 Thread Paul Martz
Ulrich Hertlein wrote: What extension/plugin did you use it with? I've used this with proprietary plugins that support multiple different extensions for the same file type. As I understand it 'addFileExtensionAlias' really only works with plugins that don't check the extension name. I

Re: [osg-users] file extension alias

2009-12-15 Thread Paul Martz
I think we've all been saying supportsExtension when we meant to say axxeptsExtension (which is public). I know I always get them confused. Paul Martz Skew Matrix Software LLC _http://www.skew-matrix.com_ http://www.skew-matrix.com/ +1 303 859 9466 Thrall, Bryan wrote: Robert Osfield wrote

Re: [osg-users] osgText::Text Drawing order

2009-12-15 Thread Andre Simoes
Hello Robert. I never thought of the Depth buffer application under a 2D orthographic mode. After adding osg::StateSet *ss = getOrCreateStateSet(); ss-setRenderingHint( osg::StateSet::TRANSPARENT_BIN ); ss-setMode( GL_DEPTH_TEST, osg::StateAttribute::ON ); to all my

Re: [osg-users] file extension alias

2009-12-15 Thread Ulrich Hertlein
On 15/12/09 3:57 PM, Paul Martz wrote: Ulrich Hertlein wrote: Isn't the following the case? - plugin X will automatically be associated with extension 'X'. - to support more extensions the plugin must say that it supports 'Y' *and* the Registry must map extension 'Y' to 'X', because

Re: [osg-users] file extension alias

2009-12-15 Thread Thrall, Bryan
Paul Martz wrote on 2009-12-15: I think we've all been saying supportsExtension when we meant to say axxeptsExtension (which is public). I know I always get them confused. acceptsExtension() checks if the plugin handles that extension; if you want to add an extension so the plugin handles it,

Re: [osg-users] file extension alias

2009-12-15 Thread Robert Osfield
Hi Bryan, On Tue, Dec 15, 2009 at 2:49 PM, Thrall, Bryan bryan.thr...@flightsafety.com wrote: Yep, I was proposing that users of the Registry could interpret adding an alias differently than is currently implemented (exactly as Jan did). But it sounds like Robert isn't open to changing the

Re: [osg-users] osgOcean synced thru multiple machines

2009-12-15 Thread Trajce Nikolov
Thanks ! Nick http://www.linkedin.com/in/tnick Sent from Gümüşsuyu, İstanbul, Turkey On Tue, Dec 15, 2009 at 4:53 PM, Kim Bale kcb...@googlemail.com wrote: haha I thought I had this one.. but you beat me to it! Lightning fast response. Cheers. Kim. 2009/12/15 Jean-Sébastien Guay

Re: [osg-users] file extension alias

2009-12-15 Thread Trajce Nikolov
why not using Registry::createLibraryNameForExtension or Registry::getReaderWriterForExtension it checks the aliases and returns the right thing Nick http://www.linkedin.com/in/tnick Sent from Gümüşsuyu, İstanbul, Turkey On Tue, Dec 15, 2009 at 5:34 PM, Robert Osfield

Re: [osg-users] osgText::Text Drawing order

2009-12-15 Thread Andre Simoes
Hi Robert. Sorry to post again. But even using the ss-setRenderingHint( osg::StateSet::TRANSPARENT_BIN ) for all geometries a cannot guarantee that the Texts will be on screen. - When I add to much components (nothing more than rects with texts inside) on the screen my texts just simply fade

Re: [osg-users] Python users

2009-12-15 Thread Massimo Di Stefano
Hi, Thanks to make the osgboostpython code! i'm running osgboostpython on mac osx 10.6 (osg svn, 64-bit) boost+python support from source (1.41) now i'm tring to runs some examles, but i have problems using the code from the main page : In [12]: s.setTextureAttributeAndModes(0, t,

Re: [osg-users] osgText::Text Drawing order

2009-12-15 Thread Robert Osfield
Hi Andre, I'm afraid I can't dedicate all my support time to just understanding what you are doing wrong and trying to help you - I have other work to do. What you want to do is possible. osgWidget does it, why not go look at it. I have tried by best to point you in the right direction, but

[osg-users] osgCal2 flipped textures

2009-12-15 Thread Trajce Nikolov
Hi, I am having a model exported from 3d studio and I see the textures flipped on the mesh. Any solution for this? p.s. On the osgCal project page it is stated that this issue has been resolved. I am missing somthing? The max exporter and osgCal are built on top of cal3d 0.11.0 Nick

Re: [osg-users] Python users

2009-12-15 Thread Jean-Sébastien Guay
Hi Massimo, Sorry, my first reply went to you directly... I don't know why, sometimes reply replies straight to the sender, even though the mailing list should be changing the headers so that replies go back to the mailing list... i'm running osgboostpython

Re: [osg-users] osgText::Text Drawing order

2009-12-15 Thread Trajce Nikolov
Andre, can you post some code samples? Nick http://www.linkedin.com/in/tnick Sent from Gümüşsuyu, İstanbul, Turkey On Tue, Dec 15, 2009 at 7:31 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Andre, I'm afraid I can't dedicate all my support time to just understanding what you are

[osg-users] OpenThreads/Atomic patch for OSX

2009-12-15 Thread Chuck Seberino
I have a patch to submit that fixes the following error when building against OSX 10.6.2. I am building the 2.9.6 dev tag, but I also checked it against trunk. I am building fat binaries (i386 and x86_64): /OpenSceneGraph-2.9.6/include/OpenThreads/Atomic:70: error: 'int32_t' does not name a

[osg-users] Question regarding Culling issue in the SceneView

2009-12-15 Thread Colin Branch
Greetings All, I added a CullCallback to the camera of a view. I found it was not getting hit. After much searching I believe it is due to the implementation in the SceneView: Specifically at line 957: // traverse the scene graph to generate the rendergraph. for(unsigned int

Re: [osg-users] Question regarding Culling issue in the SceneView

2009-12-15 Thread Paul Martz
Colin Branch wrote: // traverse the scene graph to generate the rendergraph. for(unsigned int childNo=0; childNo_camera-getNumChildren(); ++childNo) { _camera-getChild(childNo)-accept(*cullVisitor); } Is there a reason that it is simply not replace that

Re: [osg-users] Question regarding Culling issue in the SceneView

2009-12-15 Thread Robert Osfield
Hi Colin, As Paul suggests CullVisitor::apply(osg::Camera) handles in scene graph camera's, so will not handle the viewer level scene graph correctly so _camera-accept(*cullVisitor) won't behave correctly. Perhaps you could try replacing the for loop with _camera-traverse(*cullVisitor) as this

Re: [osg-users] Question regarding Culling issue in the SceneView

2009-12-15 Thread Jean-Sébastien Guay
Hi Robert, As Paul suggests CullVisitor::apply(osg::Camera) handles in scene graph camera's, so will not handle the viewer level scene graph correctly so _camera-accept(*cullVisitor) won't behave correctly. Perhaps you could try replacing the for loop with _camera-traverse(*cullVisitor) as

Re: [osg-users] Question regarding Culling issue in the SceneView

2009-12-15 Thread Colin Branch
J-S, I tried adding an update callback to the top level camera and that did work. I checked the code and it does call accept: 346: _camera-accept(*_updateVisitor.get()); So it should work correctly (as of 2.8.2) -Colin On 12/15/2009 2:10 PM, Jean-Sébastien Guay wrote: Hi Robert, As Paul

[osg-users] [vpb] What can I do with an ive file?

2009-12-15 Thread Nick Schultz
Hi OSGers, So I just got done creating the Pugent Sound example given from the vpb website. The coloring didn't turn out right, but the elevation map worked. (only the bottom left hand corner is colored with the texture). Now I am left with the .ive file that has a great looking 3D terrain.

[osg-users] OSG QT

2009-12-15 Thread Samuel Grant
Hi, Getting unresolved reference errors when trying to build OSG into QT. All stemming from the OSG libs? Any thoughts? QT 4.5.3, using the mingw32-g++ compiler. Thank you! Cheers, Samuel -- Read this topic online here:

Re: [osg-users] Loading mesh without textures

2009-12-15 Thread Michael Day
Hi, Choco does it again! Thanks for posting that solution in code! In my app, all I was missing was the removeTextureAttribute. Thank you again! Cheers, Michael -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21538#21538

[osg-users] [3rdparty] OSG Volume / Transfer Function

2009-12-15 Thread Thomas Canipel
Hi, I am actually trying to understand the OSG Volume Example, The alpha coefficient allow me to play with the extinction coefficient, but have problem to use the transfer function. What does represent the first parameter when we set a new Color ? transferFunction-setColor(value,

Re: [osg-users] [vpb] What can I do with an ive file?

2009-12-15 Thread Glenn Waldron
Hi Nick, Try osgEarth (http://osgearth.org). With it you can take a VPB terrain and add and remove imagery or vector layers on the fly without having to rebuild it. Specifically: http://wush.net/trac/osgearth/wiki/TileSourcePluginVPB There are examples of this in the distribution as well.

[osg-users] QUAD_BUFFER Stereo on Vista

2009-12-15 Thread Teodor Hanchevici
Hi, I have a 3D stereo application that runs fine in anaglyph mode on Windows XP, however when changing the mode to QUAD_BUFFER and switching to Windows Vista it stops working. Basically using the NVIDIA vision glasses and a Quadro FX 3700, the stereo effect is not present. I am using driver

Re: [osg-users] file extension alias

2009-12-15 Thread Jan Pečiva
Robert Osfield wrote: Hi Bryan, On Tue, Dec 15, 2009 at 2:49 PM, Thrall, Bryan bryan.thr...@flightsafety.com wrote: Yep, I was proposing that users of the Registry could interpret adding an alias differently than is currently implemented (exactly as Jan did). I like Coin (Open

[osg-users] [3rdparty] osg::image / Create a 3d image

2009-12-15 Thread Thomas Canipel
Hi, With osg::image normally you can setup a 3d image , but there is a problem for the length someone know what is wrong with these declaration : I want to create an image of 100x100x100 Code: //creation of the data int height=100; int width=100; int length=100; const long size =