Re: [osg-users] MetaFlight loader

2010-01-06 Thread Trajce Nikolov
Hi Guys, I ve been thinking more about this and I come up with an idea of having general purpose large db plugin that will use PageLOD. There are some formats around nowdays like TerraPage, OpenFlight, MetaFlight (well, this one is an xml and it works mostly with OpenFlight files). TerraPage has

Re: [osg-users] Drawable culling and near/far computation

2010-01-06 Thread Robert Osfield
Hi Paul, Adding a Drawable::g/setCullingActive(bool) to be consistent with osg::Node seems appropriate. I also wound like to clean up the initial bound setting in Drawable to improve the situtation of where we transform the points in a geometry in the vertex shader to somewhere completely

Re: [osg-users] Error moving in Z-axis

2010-01-06 Thread Robert Osfield
Hi Wanger, Right now osgWidget is designed as a 2D interface, rather than a full 3D object so the objects can't be moved around as flexibly as normal 3D objects in the scene. The author of osgWidget, Jeremy Moles, has discussed work that has been undertaking to refactor osgWidget to allow the

Re: [osg-users] Need some help with osg Producer

2010-01-06 Thread Robert Osfield
Hi Brett, I'm not familiar with osgHaptics but if it's open source it should be relatively straight forward to port to osgViewer. Robert. On Wed, Jan 6, 2010 at 3:27 AM, Brett Thomas Lee brettle...@hotmail.com wrote: Hi,    I am using a library, OsgHaptics which uses osgProducer.Now

Re: [osg-users] New 3DS reader/writer is ready to test

2010-01-06 Thread Robert Osfield
Hi Simon, On Wed, Jan 6, 2010 at 4:38 AM, Simon Armstrong nitrolo...@gmail.com wrote: This comes as a surprise. After reviewing contents of my OpenSceneGraph-2.9.6 directory including license, readme and directory layout I find your statement a little matter of fact considering the way in

Re: [osg-users] Native osgdb_bin format in progress (was: Develop a scalable binary file format for native OSG scenes)

2010-01-06 Thread Robert Osfield
Hi Wang, Happy New Year! On Wed, Jan 6, 2010 at 7:38 AM, Wang Rui wangra...@gmail.com wrote: I'd like to announce the latest progress of the new extensible ascii/binary native format, Quick response... haven't looked at the code yet... but Whooo hooo! :-) The changes sound all good

Re: [osg-users] MetaFlight loader

2010-01-06 Thread Robert Osfield
Hi Nick, I'm not familiar with MetaFlight at all so can't comment on it specifically, or the idea about making the functionality more general until I know more about what you have in mind. Are you thinking about providing an extension to osgDB/osgSim/osgTerrain that provides the framework for a

Re: [osg-users] Write to texture file for lightning

2010-01-06 Thread J.P. Delport
Hi, just flip to texture coordinates of the quad you are drawing in the RTT camera. jp Dominic Stalder wrote: Hi if I attach the texture instead of the image it is working. But when I call the methode renderToTexture right after osgViewer-setSceneData() I get the following error:

[osg-users] osg::Image::update

2010-01-06 Thread Trajce Nikolov
What is the purpose of this method. When it is called? I tried to implement it in ImageStream but it is never been called? Any hints? Nick http://www.linkedin.com/in/tnick Sent from Devlet, Ankara, Turkey ___ osg-users mailing list

Re: [osg-users] osg::Image::update

2010-01-06 Thread Robert Osfield
Hi Nick, On Wed, Jan 6, 2010 at 10:01 AM, Trajce Nikolov nikolov.tra...@gmail.com wrote: What is the purpose of this method. When it is called? I tried to implement it in ImageStream but it is never been called? Any hints? It's used by the osg::ImageSequence subclass from ImageStream, but most

Re: [osg-users] Write to texture file for lightning

2010-01-06 Thread Dominic Stalder
Hi jp thanks, but I'm using the texture directly in my shader so I don't use a geometry. Don't ask me how I resolved all the problem, but now it works (crossing my fingers) ;-) For the rotation I used a Matrix and a MatrixTransform, added the node (which gets rendered to texture) and added

Re: [osg-users] osg::Image::update

2010-01-06 Thread Trajce Nikolov
I am trying to do some more work with the directshow plugin, to implement the loop mode. The rendering is done in the back by directshow so I need some hook to test for completition Nick http://www.linkedin.com/in/tnick Sent from Devlet, Ankara, Turkey On Wed, Jan 6, 2010 at 12:16 PM, Robert

Re: [osg-users] osg::Image::update

2010-01-06 Thread Robert Osfield
Hi Nick, On Wed, Jan 6, 2010 at 10:48 AM, Trajce Nikolov nikolov.tra...@gmail.com wrote: I am trying to do some more work with the directshow plugin, to implement the loop mode. The rendering is done in the back by directshow so I need some hook to test for completition Currently there isn't

Re: [osg-users] osg::Image::update

2010-01-06 Thread Trajce Nikolov
Nick http://www.linkedin.com/in/tnick Sent from Devlet, Ankara, Turkey On Wed, Jan 6, 2010 at 12:53 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Nick, On Wed, Jan 6, 2010 at 10:48 AM, Trajce Nikolov nikolov.tra...@gmail.com wrote: I am trying to do some more work with the

Re: [osg-users] osg::Image::update

2010-01-06 Thread Trajce Nikolov
Hi Robert, what I did here is I launch observer thread that checks for that. Simple and working. How to submit the update? Nick http://www.linkedin.com/in/tnick Sent from Devlet, Ankara, Turkey On Wed, Jan 6, 2010 at 12:59 PM, Trajce Nikolov nikolov.tra...@gmail.comwrote: Nick

Re: [osg-users] [osgOcean] wave generator

2010-01-06 Thread Kim Bale
Kim, This is to some extent what already happens with the mipmapping LOD that osgOcean currently uses. The problem is that the multi-res surface is dependant on the position of the camera and not on local features. The code to recompute the surface primitives is already pretty complicated, to do

Re: [osg-users] [osgOcean] wave generator

2010-01-06 Thread Kim Bale
Kim, *ahem* Replying to myself there for some reason.. K. 2010/1/6 Kim Bale kcb...@googlemail.com Kim, This is to some extent what already happens with the mipmapping LOD that osgOcean currently uses. The problem is that the multi-res surface is dependant on the position of the

Re: [osg-users] [osgPlugins] Rendering 3DS objects with bump maps

2010-01-06 Thread Eduardo Pinheiro
Hi, Sorry the late answer but i was out. Well I have some question, in fact: - I have my 3D Max Team How is the better way to export they're work to openscenegraphic? Imagine this simple object: A bottle of glass. They make the 3d object. They make the textures They make the bump of the

[osg-users] VBO's and masking/updating geometry

2010-01-06 Thread Otto Cologne
Hi, I'm in the process of rewriting a program I did earlier but this time using OSG. One part contained rendering a large amount of lines which would be selected by various selection tools. For that I used VBO's and a bit mask. The rendering function (after all the initializations) then looked

Re: [osg-users] OSG Max Exporter Modifications

2010-01-06 Thread Chris Rodgers
Thank you Robert and Fabien, I will send the changes to Farshid. Hopefully he will like the updates :) Talk to you soon! Chris -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22148#22148 ___

Re: [osg-users] VBO's and masking/updating geometry

2010-01-06 Thread Jason Beverage
Hi Otto, To use VBO's in OSG, you just need to set up an osg::Geometry as you normally would and then call: geometry-setUseDisplayList( false ); //Disable display lists geometry-setUseVertexBufferObjects( true ); //Enable VBO After that everything is handled under the hood for you, you can

Re: [osg-users] osg::Image::update

2010-01-06 Thread Robert Osfield
HI Nick, On Wed, Jan 6, 2010 at 11:22 AM, Trajce Nikolov nikolov.tra...@gmail.com wrote: what I did here is I launch observer thread that checks for that. Simple and working. How to submit the update? What do you mean by submit the update? Update to what? submit it what way? As for using a

[osg-users] multiple OSG viewers in different threads

2010-01-06 Thread Rosen Diankov
Dear OSG users, OpenSceneGraph sounds like a very promising library to use for a robotics package we've been developing; but before I commit any time to it, I would like to ask a couple of questions: Can OSG manage multiple GL contexts for Linux? I would like to be able to launch multiple

Re: [osg-users] osg::Image::update

2010-01-06 Thread Trajce Nikolov
I extended the directshow plugin to support video LOOPING mode. That is the update Nick http://www.linkedin.com/in/tnick Sent from Devlet, Ankara, Turkey On Wed, Jan 6, 2010 at 4:46 PM, Robert Osfield robert.osfi...@gmail.comwrote: HI Nick, On Wed, Jan 6, 2010 at 11:22 AM, Trajce Nikolov

Re: [osg-users] osg::Image::update

2010-01-06 Thread Robert Osfield
Hi Nick, On Wed, Jan 6, 2010 at 3:24 PM, Trajce Nikolov nikolov.tra...@gmail.com wrote: I extended the directshow plugin to support video LOOPING mode. That is the update Ahh... great... to submit the changes just send them to osg-submissions and I can then review them. Cheers, Robert.

Re: [osg-users] osg::Image::update

2010-01-06 Thread Trajce Nikolov
ok .. I just registered myself to that list. waiting for approval Nick http://www.linkedin.com/in/tnick Sent from Devlet, Ankara, Turkey On Wed, Jan 6, 2010 at 5:28 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Nick, On Wed, Jan 6, 2010 at 3:24 PM, Trajce Nikolov

[osg-users] Publicly Available TerraPage Database

2010-01-06 Thread Ryan H. Kawicki
It seems that TerraPage experts are running thin these days for OSG. In the spirit of trying to help out, I was wondering if the community has a publicly available TerraPage database that is used for testing. If there is not one, I can begin the process of producing one for public

[osg-users] social organization of the open source R project

2010-01-06 Thread Chris 'Xenon' Hanson
Reposted from the GDAL mailing list, because i thought it would be of interest here too. See page 5, Aspects of the Social Organization and Trajectory of the R Project. http://journal.r-project.org/archive/2009-2/RJournal_2009-2.pdf In particular I found this interesting: Many open-source

[osg-users] Problem BlendEquation in Shader GLSL

2010-01-06 Thread clement vidal
Hi, I have a problem with BlendEquations and shaders. That is the situation: I attach several textures to my camera using COLOR_BUFFER0, COLOR_BUFFER1, ... I use a shader to make the rendering into this textures. There is some values in this textures and i would like to use a max blending

Re: [osg-users] New 3DS reader/writer is ready to test

2010-01-06 Thread Chris 'Xenon' Hanson
Robert Osfield wrote: Most plugins are OSGPL, but some are GPL and some are LGPL. The 3ds plugin has always been based on LGPL code, and the new rev hasn't changed this. If you want to use LGPL plugins you have to use dynamic linking. This comes as a surprise. In the src/osgPlugins/3ds

[osg-users] OSG Viewer and JOGL

2010-01-06 Thread Kevin Tacke
We currently have an application that is built around the OSG Viewer using a glut window. We are interesting in adding a considerable GUI interface to the application and we would prefer to use JAVA to implement the GUI. So basically I am trying to find a way, probably using JOGL, to create

[osg-users] Native multitouch support on OSG

2010-01-06 Thread Serge Lages
Hi Robert, Just a quick question, are you inclined to see native multi-touch support for OSG ? We should only need to add an ID information on the GUIEventAdapter class to be able to make the difference between 2 or more push from different points. It will be enough to handle basic multi-touch

Re: [osg-users] OSG Viewer and JOGL

2010-01-06 Thread Robert Osfield
Hi Kevin, I know nothing about Java/JNI so can't comment on the specifics, but in general I'd suggest that you could use the osgViewer::GraphicsWindowEmbedded functionality that enables the standard osgViewer::Viewer/CompositeViewer to handle a single window without doing any of its own

[osg-users] How to render last with multiple cameras

2010-01-06 Thread Mike Greene
I have a view with two cameras - a HUD camera and a regular 3D perspective camera. I have my scene set up so that I can vary the alpha of the HUD (drawn with a polygon) so that I can see the 3D view behind at various intensities. What I would like to be able to do is have some of the 3D

Re: [osg-users] Error moving in Z-axis

2010-01-06 Thread Wagner Dias
Hi Robert, What do you suggest for show banners and menu whithout osgWidget? Thank you! Cheers, Wagner -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22180#22180 ___ osg-users mailing list

Re: [osg-users] How to render last with multiple cameras

2010-01-06 Thread Simon Hammett
2010/1/6 Mike Greene mgre...@hiwaay.net I have a view with two cameras - a HUD camera and a regular 3D perspective camera. I have my scene set up so that I can vary the alpha of the HUD (drawn with a polygon) so that I can see the 3D view behind at various intensities. What I would like to be

Re: [osg-users] OSG Viewer and JOGL

2010-01-06 Thread Rafa Gaitan
Hi Kevin, Well osgvp is quite large currently, but you can take a look to libosgvp-viewer library and take only what you need. If you feel comfortable with maven, you can try to compile it and use only libosgvp-viewer and libosgvp-core library. Currently trunk compiles against osg 2.8.2, but you

Re: [osg-users] OSG Viewer and JOGL

2010-01-06 Thread Gerrick Bivins
Hi Rafa, How much of the OSG is exposed through osgvp? Is it possible to extract out the wrapping into a separate project? I've been looking into how I can use maven and jna to possibly get access to OSG from java but I'm just beginning. If the work is already done or you have some tips/pointers

[osg-users] osgDB::XmlParser question

2010-01-06 Thread Jean-Sébastien Guay
Hi Robert, I need to read an XML file and thought of using osgDB::XmlParser to do it. Calling this: osgDB::readXmlFile(filename); results in Could not open XML file: somefilename.xml. But the file is there and some simple code using an ifstream to read the file (using the same filename

[osg-users] Utility of using Drawable:: ...

2010-01-06 Thread François Bodic
Hi, I cannot figure out the role of the next two lines in the ShapeDrawable implementation. I thought that the keyword using was only for namespaces... Can someone help me? using Drawable::supports using Drawable::accept Thank you! Cheers, François -- Read this topic online

Re: [osg-users] OSG Viewer and JOGL

2010-01-06 Thread Rafa Gaitan
Hi Gerrick, On Wed, Jan 6, 2010 at 9:51 PM, Gerrick Bivins gbiv...@objectreservoir.com wrote: Hi Rafa, How much of the OSG is exposed through osgvp? Well, in libosgvp-core is a one-to-one (more or less) wrapp for the most common nodes and functionalities of OSG. libosgvp-viewer has the logic

Re: [osg-users] Utility of using Drawable:: ...

2010-01-06 Thread D.J. Caldwell
Hi, François. A using directive can be used for things other than namespaces. In this case, the using directive introduces all instances of supports and accepts from the class Drawable scope (I think they're all in the public scope of that class) into the public scope of class ShapeDrawable;

Re: [osg-users] [osgOcean] wave generator

2010-01-06 Thread Tian Ma
Funny :) Kim Bale wrote: Kim, *ahem*  Replying to myself there for some reason.. K. 2010/1/6 Kim Bale () Kim, This is to some extent what already happens with the mipmapping LOD that osgOcean currently uses.  The problem is that the multi-res

Re: [osg-users] OpenGL capture/logging in OSG

2010-01-06 Thread Michael Weiblen
Hi Paul I'm also interested in the ogldump route, specifically because of the automated wrapper generation. cheers -- mew On Mon, Dec 14, 2009 at 2:06 PM, Paul Martz pma...@skew-matrix.com wrote: ... I don't know if this might help, but Don Burns wrote a parser of the gl.h to

[osg-users] Problem with osgmovie

2010-01-06 Thread Shiina Ringo
Hi, Recently I just added the osgmovie in my object , to play as a media player. But here I have a question , that is , is there any method to detect if the movie has been over , and then I could switch to other scene. Any advice would be appreciated. Thank you very much! Cheers, Shiina

Re: [osg-users] VBO's and masking/updating geometry

2010-01-06 Thread J.P. Delport
Hi Jason/Otto, I was looking at something similar recently... The only problem I had was that osg::Geometry assumed that I wanted to draw from the start of the array attached. I think if you want some specialised behaviour, like e.g. having a single static array attached to a geometry and

Re: [osg-users] Problem BlendEquation in Shader GLSL

2010-01-06 Thread J.P. Delport
Hi Clement, could you explain a bit more what you expect and what you are getting? Do you want to blend between the different textures (AFAIK you cannot do this unless you do another pass)? Are you expecting max, but getting average? jp clement vidal wrote: Hi, I have a problem with

[osg-users] Qt Labs Blogs » Qt Graphics and Perf ormance - OpenGL

2010-01-06 Thread J.P. Delport
Might be of interest to the Qt/OSG hackers... http://labs.trolltech.com/blogs/2010/01/06/qt-graphics-and-performance-opengl/ -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer

Re: [osg-users] Utility of using Drawable:: ...

2010-01-06 Thread François Bodic
Thank you for this clear explanation and the interesting link. I really didn't know this C++ feature. You make me less idiot :D Cheers, François -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22196#22196

[osg-users] compass icon in lower left corner

2010-01-06 Thread Jack Lee
Hi, I want to create a compass axis icon in the lower left corner of the osg viewer that will show the xyz directions of the object in the viewer. Can anyone show me some example code of how to do this? Thank you! thanks Jack -- Read this topic online here: