Re: [osg-users] [3rdparty] osgOcean collision detection

2009-09-29 Thread Dimitrios Filiagos
Hi, it seems to work fine but I am still testing. For big models of height 2.0 and more works fine, for smaller height models there are frames that goes above water, just a little though and also on some other frames just below the surface, especially on high wind speeds. This behavior might

Re: [osg-users] how to improve frame rate of my scene with lots of cubes and cylinders?

2009-09-29 Thread Andrew Burnett-Thompson
Hi there, this is a quick response as i'm on my pda If you look in the implementation of shapedrawable, drawcylinder function, i believe the vertex locations for cylinders are calculated on each draw, using sin and cos! Also note the matrices for positionattitudetransforms are computed per

Re: [osg-users] [3rdparty] osgOcean collision detection

2009-09-29 Thread Kim Bale
Hi Dimitrios, Glad to hear you got it working. I have a couple of further hints for you. You may find that the accuracy is improved if you use _oldFrame without the increment. The variable name is a little misleading as it is actually stores the id for the current frame, if you look at the

Re: [osg-users] OSG Windows XP environment setup?? SOLVED

2009-09-29 Thread Robert Osfield
Hi John, On Mon, Sep 28, 2009 at 3:36 PM, Montgomery, John T. j.t.montgom...@abdn.ac.uk wrote: Not clear why, but... Each time I was running from within C:\OSG_dev\OSG-Data and therefore, using only 'introduction.p3d' However, running from 'C:\Documents and Settings' - thus requiring a

Re: [osg-users] Terrain generator compatible with OSG

2009-09-29 Thread Robert Osfield
Hi Felipe, If you are needing to populate your world with lots of cultral data like roads, forests, rivers, towns, cars etc. then you'll need a 3rd party modeling program, or come up with your own scheme for inserting the extra models onto to your prepared terrain. Given you are doing a final

Re: [osg-users] osgviewerQtWidget Quadbuffer Stereo Alpha Problems

2009-09-29 Thread Pierre Bourdin (gmail)
Hi Scott, does it works with osgviewer ? something like osgviewer --stereo QUAD_BUFFER cow.osg should display the cow in stereo without any error... Also I can't remember it exactly, but I think you have to re-init the context or something like this when switching to quadbuffer stereo... When

Re: [osg-users] [build] problem building OSG under ubuntu 7.04

2009-09-29 Thread Robert Osfield
Hi Aburik, On Tue, Sep 29, 2009 at 5:08 AM, Aburik Mathnan foru...@ymail.com wrote: When i am trying to make osg in my ubuntu, it compiles well but when it is linking i am getting lot of error releted to X11 and OpenGL referances. the error are    undefined reference to 'XReparentWindow',  

Re: [osg-users] OSG_FEM

2009-09-29 Thread David Spilling
Hi Ugras, What you ask is slightly strange, and I apologies if this reply appears too patronising - it isn't meant to be! OSG is basically a rendering package; it just draws things. To try to interpret your question sensibly: 1) Can OSG import FEM meshes? I imagine that if your mesher can

Re: [osg-users] OSG_FEM

2009-09-29 Thread Ugras Erdogan
Hi David, The answers 2 and 3 are the ones for which I am looking for. Thanks for the detailed answers. And additionally there is nothing wrong with your answers :). Probably I asked the question in a wrong way. Thanks again... Best Regards, Ugras From: David

Re: [osg-users] how to improve frame rate of my scene with lots ofcubes and cylinders?

2009-09-29 Thread Tomlinson, Gordon
Search the forums for things like LOD and Instancing, look at some of the examples like osgforest Make sure you build a balanced quad tree Scene graph tree ( again a search of the archive and Google will yield plenty on balancing trees) See http://www.vis-sim.com/imgdp/vp_db_partion_01b.jpg a

Re: [osg-users] [3rdparty] change ocean height

2009-09-29 Thread Sebastien Nerig
Hi Jean Sebastien I am sorry to bother you but did you work or are you still plannning to work on the aspect we talked in this thread ? Thank you Sebastien -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17710#17710

Re: [osg-users] [3rdparty] change ocean height

2009-09-29 Thread Jean-Sébastien Guay
Hi Sebastien, I am sorry to bother you but did you work or are you still plannning to work on the aspect we talked in this thread ? Actually I did implement part of it in my project, and recently merged the changes back into osgOcean SVN trunk. The change is that the ocean surface is now

Re: [osg-users] Terrain generator compatible with OSG

2009-09-29 Thread Chris 'Xenon' Hanson
Robert Osfield wrote: Hi Felipe, If you are needing to populate your world with lots of cultral data like roads, forests, rivers, towns, cars etc Robert, I'm curious, while working in VPB/OSGDEM I see some code intending to support extrusion of polygons into buildings and something that

Re: [osg-users] [3rdparty] change ocean height

2009-09-29 Thread Jean-Sébastien Guay
Hi again Sebastien, I am sorry to bother you but did you work or are you still plannning to work on the aspect we talked in this thread ? Well, I had some downtime while I waited for a big project to compile, so I decided to go ahead and do it. If you're using osgOcean SVN trunk, just

Re: [osg-users] [3rdparty] change ocean height

2009-09-29 Thread Jean-Sébastien Guay
Hi again, It works well, but with the skybox images that come with osgOcean, if you lower the ocean surface past a certain point you'll start seeing black. That's because the skydome images are cut off below the normal horizon, which should generally be z=0. This was not visible before, but

[osg-users] osgconv IVE to OSG create DDS?

2009-09-29 Thread Chris 'Xenon' Hanson
I was just converting a VPB terrain scenegraph from IVE to OSG format, and I notice that it didn't generate new .DDS texture files. Is there an option I'm missing to do this? -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now

Re: [osg-users] osg volume features and the future?

2009-09-29 Thread Chris 'Xenon' Hanson
Jason Jerald wrote: Which of these features are currently implemented? For those that are not yet implemented, are there plans to implement them? Also what are your thoughts of integrating some vtk code into osg? I'm interested in this answer too, as I may have some volume work coming up.

Re: [osg-users] osgconv IVE to OSG create DDS?

2009-09-29 Thread Paul Martz
Hi Chris -- New feature for osgconv you should be aware of is the ability to write out plugin options: osgconv --format osg Plugin osgPlugins-2.8.2/osgdb_osg.dll { ReaderWriter : OSG Reader/Writer { extensions : .osg OpenSceneGraph Ascii file format

Re: [osg-users] osgviewerQtWidget Quadbuffer Stereo Alpha Problems

2009-09-29 Thread Scott Senften
Pierre, Thanks for the response. osgviewer works as expected. It must be something like you describe in the initialization. Thanks Scott On Tue, Sep 29, 2009 at 2:50 AM, Pierre Bourdin (gmail) bour...@imerir.com wrote: Hi Scott, does it works with osgviewer ? something like osgviewer

Re: [osg-users] [osgPPU] osgPPU for image processing

2009-09-29 Thread Harash Sharma
Dear Mr. Art Tevs, Thanks for the informative reply. I was going thru your example codes and came accross UnitInResampleOut class. This happens to be exactly what I wanted. I can attach it to a unit that does all the prefiltering / High resolution processing and am able to resample image

[osg-users] osg::readNodeFIle and osg::Material

2009-09-29 Thread Miguel Lokida
Hello, When using readNodeFile method to charge an object, I have try to set a material on this node ( creating a stateset, addinf the material and attribute the stateset to the node). But, when it works for other geometry with readNodeFile, the material is not on the geometry. Is it

Re: [osg-users] osg::readNodeFIle and osg::Material

2009-09-29 Thread Paul Martz
You'll need to debug this yourself. Here's how. After you add the Material and StateSet, dump out a node file and do the following: 1) Check to make sure your Material and StateSet were added correctly. 2) Look at child nodes and make sure they don't override the Material you set. 3) Make

Re: [osg-users] osg::readNodeFIle and osg::Material

2009-09-29 Thread Miguel Lokida
Ok. So this mean that it is possible. Thank you. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17724#17724 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] osgconv IVE to OSG create DDS?

2009-09-29 Thread Jean-Sébastien Guay
Hi Chris, So, apparently no one has ever tried using the OutputTextureFiles on OSGDEM/VPB terrain databases or they'd have noticed it was unimplemented. ;) I remember converting VPB databases from .ive to .osg to debug problems I was having or inspect the scene graph structure in the

Re: [osg-users] osgconv IVE to OSG create DDS?

2009-09-29 Thread Chris 'Xenon' Hanson
Jean-Sébastien Guay wrote: I remember converting VPB databases from .ive to .osg to debug problems I was having or inspect the scene graph structure in the past, but I probably never output the textures while converting. I'll generally avoid loading a VPB database in .osg format because it

Re: [osg-users] Terrain generator compatible with OSG

2009-09-29 Thread Martin Beckett
Sorry for the slight thread hijack - but does anyone know of a free artificial terrain builder that is in any way compatible with OSG? I would just like some interesting looking terrain (mountains etc) to use when demoing some software - and because it's boring to be testing with the same

Re: [osg-users] OSG and WPF Questions

2009-09-29 Thread Rick Pingry
Hi, I am interested in WPF development as well. I have been playing around with the C++/CLI example to make a managed window. It seemed to work ok, except when I tried running it in Release mode, in which case it kept crashing, apparently with some memory corruption errors. I am using a