Re: [osg-users] [osgOcean] 3D model material display error!

2009-11-19 Thread Tian Ma
Hi Kim: No, I am not. But the model was under a pisitionAttitudeNode, and I just make the model -1 meter down. Does it matter? Cheers, MT Kim Bale wrote: > Are you using a matrix transform above OceanScene to alter the sea level? > > K. > > > 2009/11/19 Tian Ma <>: > > > Hi Kim: > > >

[osg-users] get coordinates of intersect point between a Line Segment Intersector and an object

2009-11-19 Thread Nguyen Tien Dat
Dear all, How can I get the coordinates of the intersect point when I shoot a ray to the scene and the ray hits an object? Thanks, Dat ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-ope

Re: [osg-users] ShadowMap problem...

2009-11-19 Thread Wyatt Earp
Thanks for the reply... I'll do that and post result Thanks, W On Thu, Nov 19, 2009 at 4:56 PM, Wojciech Lewandowski wrote: > Hi Wyatt, > > Buildings getting darker while light is moving can be a normal thing it is > simply a result of normal diffuse shading. Can you move camera so close >

Re: [osg-users] Why is one object split into two same-level nodes in OSG 2.8.2

2009-11-19 Thread Nguyen Tien Dat
OK. I figured it out. It's due to a strange problem with smoothing group. In the obj file there are many "s 1" and "s 2" (mean that group 1, group 2). It should keep increase the counter (i.e. "s 1", "s 2", "s 3", "s 4", etc) instead of using "s 1" and "s 2" alternatively. The obj loader consider

Re: [osg-users] ShadowMap problem...

2009-11-19 Thread Wojciech Lewandowski
Hi Wyatt, Buildings getting darker while light is moving can be a normal thing it is simply a result of normal diffuse shading. Can you move camera so close that view frustum contains a single building ?. Ideally make it look at 45 deg from a liitle above. Then make screenshot, with debugHUD. I

Re: [osg-users] SO version inconsistency

2009-11-19 Thread Philip Lowman
Robert, Until the XCode files can be removed I would recommend simply substituting version numbers in by hand. Also, is there a list of what's holding up switching to CMake in regards to XCode support? On Thu, Nov 19, 2009 at 10:31 AM, Robert Osfield wrote: > Hi Alberto, > > On Thu, Nov 19, 200

Re: [osg-users] ShadowMap problem...

2009-11-19 Thread Wyatt Earp
Ok... so I did what you suggested mostly... I took the osgshadow example, add my geometry and it worked. I added another shader on the root node of the scenegraph, because in my app, I do that. I took the shaders from ShadowMap.cpp and put them into vert/frag files and loaded them into their resp

Re: [osg-users] Main branch MSFBO support change

2009-11-19 Thread Paul Martz
Confirming Wokciech's comments, and can't wait to look at the final committed code to see whether bitmasks are signed or unsigned. :-) Paul Martz Skew Matrix Software LLC _http://www.skew-matrix.com_ +1 303 859 9466 Wojciech Lewandowski wrote: Robert, Paul and e

[osg-users] Shadows on two-sided polygons

2009-11-19 Thread Andreas Goebel
Hi, I use two-sided polygons (as I display no real objects but mathematical ones like planes this makes sense) and use shadows on them. After upgrading to 2.8.2, this does no longer work. I get the correct shadow on one side of a plane, but if the shadow should be on the other side, I get strange

[osg-users] ReaderWriterModifyTerrain.cpp

2009-11-19 Thread Chris 'Xenon' Hanson
I just submitted this code over on submissions for Robert to consider, but since there's some opportunity for discussion of the future of this, I'm reposting the accompanying description here for discussion. This pseudo-loader permits on-the-fly modifications of a PagedLOD database's ter

Re: [osg-users] osgManipulator error bug? in removeTransformUpdating

2009-11-19 Thread Robert Osfield
Hi Mathias, I've now merged Stephan's bug fix, could you please test svn/trunk to see if things are now fixed. Cheers, Robert. On Sun, Nov 1, 2009 at 11:40 AM, Matthias Asselborn wrote: > Hi, > > iam using the trunk of OSG > i ve a simple code snipped > a Group with a dragger and two transformm

Re: [osg-users] Optimal Rendering setup

2009-11-19 Thread Paul Martz
Generate two textures, then use a shader to combine the two images. Paul Martz Skew Matrix Software LLC _http://www.skew-matrix.com_ +1 303 859 9466 Mark Jones wrote: I have a pre-render to generate a texture of an object without drawable culling, after that, I'm

[osg-users] OSG wiki site not responding from Colorado

2009-11-19 Thread Chris 'Xenon' Hanson
http://www.openscenegraph.org/ Responds, but http://www.openscenegraph.org/projects/osg seems to be timing out right now. Several friends of mine confirm it's unreachable for them too. -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Land

Re: [osg-users] Main branch MSFBO support change

2009-11-19 Thread Robert Osfield
HI All, Wojtek's changes and now checked in to svn/trunk. Cheers, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Mac OS X Snow Leopard

2009-11-19 Thread Robert Osfield
Hi Stefan, I'm just reviewing submissions and have just checked your changes to include/osg/Atomic and rather perplexed by the changes. It concerns me that while it might hack around a problem elsewhere it'll introduce bugs under other build combinations. You changes were the addition of: #if

Re: [osg-users] Best ways to render "FE" models with millions of tris and quads

2009-11-19 Thread Andrew Cunningham
Thanks for all the help guys - I will experiment with the duplicate vertices option - that may actually not be that bad in memory usage vs. using display lists. Anyway, I can expose that to the user in some way for them to make a speed/memory tradeoff if required. The main thing is that at least

Re: [osg-users] Using OsgSim Overlay

2009-11-19 Thread Vaibhav Bansal
Smooth, I would say distortions occur in certain angle ranges. -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of J.P. Delport Sent: Thursday, November 19, 2009 8:43 PM To: OpenSceneGraph Users Subject: Re: [

Re: [osg-users] Using OsgSim Overlay

2009-11-19 Thread Glenn Waldron
I'm no shader expert, so I cannot answer that. I do know that osgEarth plays well with OverlayNode though -- it has some built-in vector overlay support that uses OverlayNode in perspective mode (see the osgearth_feature_overlay driver). Glenn Waldron : Pelican Mapping : http://pelicanmapping.co

Re: [osg-users] SO version inconsistency

2009-11-19 Thread Robert Osfield
Hi Alberto, On Thu, Nov 19, 2009 at 2:42 PM, Alberto Luaces wrote: > I think we should remove Version, because things are not working > now. What it is getting installed is the old Version file. I did the > test of modifying it with some incorrect values and I could verify that > those values wer

Re: [osg-users] Using OsgSim Overlay

2009-11-19 Thread Vaibhav Bansal
Hello Glenn, The view dependent-with-perspective-overlay uses a shader, I am already using a shader for my terrain(base geometry, osgearth). Secondly for VIEW_DEPENDENT_WITH_ORTHOGRAPHIC mode the projected texture resolution does not decrease(/projected area does not increase) even when the vi

Re: [osg-users] Using OsgSim Overlay

2009-11-19 Thread J.P. Delport
Hi, Vaibhav Bansal wrote: Yes, this is what the overlay node does for me. But I am unable to understand, why the stretching occurs only 'at' some specific angles. Are the transitions smooth or are you seeing jumps? jp Regards Vaibhav Bansal -Original Message- From: osg-users-boun.

Re: [osg-users] [osgOcean] 3D model material display error!

2009-11-19 Thread Kim Bale
Are you using a matrix transform above OceanScene to alter the sea level? K. 2009/11/19 Tian Ma : > Hi Kim: > > I just give the picture's URL link below: > > http://storage.openlab.net.cn/forums/2009-11-19/1981569/%e5%80%92%e5%bd%b1%e9%97%ae%e9%a2%98.jpg > > Cheers, > MT > > > > Kim Bale wrote:

Re: [osg-users] [osgOcean] 3D model material display error!

2009-11-19 Thread Tian Ma
Hi Kim: I just give the picture's URL link below: http://storage.openlab.net.cn/forums/2009-11-19/1981569/%e5%80%92%e5%bd%b1%e9%97%ae%e9%a2%98.jpg Cheers, MT Kim Bale wrote: > There's no attachment at all now :( > > K. > > > 2009/11/19 Tian Ma <>: > > > Hi Kim, > > > > I have amended the

Re: [osg-users] SO version inconsistency

2009-11-19 Thread Alberto Luaces
Hi, Robert Osfield writes: > I've now removed it to return the include file list to what it was > before I made the changes so should fix the build. Right now I > haven't removed Version from the include/osg, so having it in the > include file list won't be a problem, but... do we now remove Ver

[osg-users] Optimal Rendering setup

2009-11-19 Thread Mark Jones
I have a pre-render to generate a texture of an object without drawable culling, after that, I'm going to cull various drawables in the object to let its insides peek thru, I'll be blending the old exterior (via texture) with the interior view of the object that shows up when the drawables are cull

Re: [osg-users] [osgOcean] 3D model material display error!

2009-11-19 Thread Kim Bale
There's no attachment at all now :( K. 2009/11/19 Tian Ma : > Hi Kim, > > I have amended the attachment problem. Can you see the picture clearly now? > > Cheers, > MT > > > Kim Bale wrote: >> Hi Tian, >> >> I can't really see what's wrong from the attached picture, it kind of >> looks like a dir

Re: [osg-users] [osgOcean] 3D model material display error!

2009-11-19 Thread Tian Ma
Hi Kim, I have amended the attachment problem. Can you see the picture clearly now? Cheers, MT Kim Bale wrote: > Hi Tian, > > I can't really see what's wrong from the attached picture, it kind of > looks like a dirty blue splodge... > > K. > > > 2009/11/19 Tian Ma <>: > > > Hi Kim, > > >

Re: [osg-users] Warning: Could not find plugin to read objects from file "*.jpg"

2009-11-19 Thread James Adkison
Hi Robert, Mourad, Thanks for the help, it solved the problem. After using the dependency walker I was able to see that I was missing the jpeg62.dll. Thanks again, James -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=19894#19894 __

[osg-users] Using both osgViewer::Viewer and CompositeViewer simultaneously

2009-11-19 Thread dasari pavan kumar
Hi, I am trying to use osgViewerQT example where in I am trying to enable both compositeViewer and Viewer. But if I toggle between both windows, I am unable to register any input events for one of them, depending on which I enable first. I badly need help with this scenario. thank you, pavan

[osg-users] ShadowedScene, Camera and Callback

2009-11-19 Thread Benoît Bayol
Hi, I want to make a screenshot of a osgShadow::ShadowScene. I have created an osg::Camera this way : Code: camera->setClearColor(osg::Vec4(0.8f,0.8f,0.8f,1.0f)); camera->setClearMask(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); camera->setReferenceFrame(osg::Transform::ABSOLUTE_RF); came

Re: [osg-users] Main branch MSFBO support change

2009-11-19 Thread Wojciech Lewandowski
Robert, Paul and everyone interested, My changes in "Re: [osg-submissions] DisplaySettings masks forimplicitbufferattachments" were based on initial Paul submission. And of course my submission included Pauls changes and added support for setting IMPLICIT_BUFFER_ATTACHMENT policy through Displ

Re: [osg-users] Using OsgSim Overlay

2009-11-19 Thread Glenn Waldron
Vaibhav, The area covered by the projected texture changes based on your view angle. As your angle of view gets less steep, the texture resolution appears to descrease since it has to cover a larger area. Try view-dependend-with-perspective-overlay, which helps with this issue. Also, increase the

Re: [osg-users] Using OsgSim Overlay

2009-11-19 Thread Vaibhav Bansal
Yes, this is what the overlay node does for me. But I am unable to understand, why the stretching occurs only 'at' some specific angles. Regards Vaibhav Bansal -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf

Re: [osg-users] Main branch MSFBO support change

2009-11-19 Thread Robert Osfield
Hi Paul, I haven't reviewed this submission yet, but it clearly overlaps with the changes that Wojtek was working on. I've already checked in some of Wojtek's changes (the interface changes to osg::Camera and osg::DisplaySettings) but haven't checked in the changes to RenderStage.cpp. I'm awaiti

[osg-users] [osgOcean] Wake effects?

2009-11-19 Thread Erik Johnson
Hi, I thought this would have come up before, but does anyone have suggestions how to render a boat's wake? Using osgParticle provides an "ok" solution, but falls apart rapidly if the ocean waves are too large (the particles go underwater). Would be cool to leverage the same texturing effects

Re: [osg-users] [osgOcean] 3D model material display error!

2009-11-19 Thread Kim Bale
Hi Tian, I can't really see what's wrong from the attached picture, it kind of looks like a dirty blue splodge... K. 2009/11/19 Tian Ma : > Hi Kim, > > When add my own island model to the oceanscene and of cource nodemask and > shaders have been set to the model, I found that the reflection of

Re: [osg-users] [osgOcean] 3D model material display error!

2009-11-19 Thread Tian Ma
Hi Kim, When add my own island model to the oceanscene and of cource nodemask and shaders have been set to the model, I found that the reflection of the model on the ocean surface is not complete. Will you please tell me what caused this problem? And coule the problem be solved? Thank you! C

Re: [osg-users] Using OsgSim Overlay

2009-11-19 Thread J.P. Delport
Hi, Vaibhav Bansal wrote: Hello jp, Thanks for the quick reply. How do I check if the 'resolution' of ovelay geometry is changing. imagine the following: You want to overlay a 1024x1024 checkerboard onto the earth and you have a 512x512 overlay texture. If you view the whole earth it obvious

[osg-users] question about osgShadow and shader

2009-11-19 Thread Benoît Poulard
Hi, does it is possible to use a shader(vert+frag) on a node, and after to apply osgshadow on it? i want to apply a shader that modify my geometry before that osgshadow process the node. thank's Ben ___ osg-users mailing list osg-users@lists.openscenegra

Re: [osg-users] Using OsgSim Overlay

2009-11-19 Thread Vaibhav Bansal
Hello jp, Thanks for the quick reply. How do I check if the 'resolution' of ovelay geometry is changing. Regards Vaibhav Bansal -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of J.P. Delport Sent: Thursday

Re: [osg-users] Best ways to render "FE" models with millions of tris and quads

2009-11-19 Thread Robert Osfield
Hi Andrew, As Bryan explains, you have stubmled upon and osg::Geometry usage combination that forces the OSG to use OpenGL slow paths where it has to pass the data within glBegin/glVertex/glNormal/glEnd which is very slow for large datasets. Display lists reduce this overhead as the GL calling ov

Re: [osg-users] Using OsgSim Overlay

2009-11-19 Thread J.P. Delport
Hi Vaibhav, Vaibhav Bansal wrote: Hello, I have added a geometry as an overlay over another geometry. The overlay texture seems to distort(stretch) under certain viewing angles. It seems the projected texture is generating incorrect texture coordinates. The texture coordinates might be OK,

Re: [osg-users] Warning: Could not find plugin to read objects from file "*.jpg"

2009-11-19 Thread Mourad Boufarguine
Hi James, It is most probably a side-by-side problem. If you are using the precompiled binairies provided here http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies , make sure you have installed SP1 for VS2005. These binairies are compiled using VS 2005 SP1. To be sure, you can u

Re: [osg-users] OpenGL ES-2.0, OpenGL ES-1.1 and OpenGL 3.x support now ready for testing :-)

2009-11-19 Thread Hansoo Kim
I'm happy to hear that. I hope to check dev version out soon. :) robertosfield wrote: > > VR Lab, Konkuk University, South Korea -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=19857#19857 ___

Re: [osg-users] Warning: Could not find plugin to read objects from file "*.jpg"

2009-11-19 Thread Robert Osfield
Hi James, You'll need to use the Win32 3rd party dependencies package, either using the binaries if you use the same VS version as they were built with, or to build from scratch. For me details read the PlatformSpecifics docs on openscenegraph.org: http://www.openscenegraph.org/projects/osg/wiki

[osg-users] Using OsgSim Overlay

2009-11-19 Thread Vaibhav Bansal
Hello, I have added a geometry as an overlay over another geometry. The overlay texture seems to distort(stretch) under certain viewing angles. It seems the projected texture is generating incorrect texture coordinates. The white area is the overlaySubgraph geometry, and the colored area is the

Re: [osg-users] [forum] how add SDL in osg project

2009-11-19 Thread Alberto Luaces
Ivan, you are running in circles. Begin compiling the OSG from source as written in http://www.openscenegraph.org/projects/osg/wiki/Support/GettingStarted after reading that, continue with the VS specifics: http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio