Re: [osg-users] osgconv IVE to OSG create DDS?
Hi Chris, Chris 'Xenon' Hanson wrote: Aside: The real work I've been doing is making osgconv recursive on VPB-type databases so that the scripting silliness of this procedure: http://www.openscenegraph.org/projects/VirtualPlanetBuilder/wiki/CompressExisting is no longer needed. Good news, I'd be very happy to remove that page :) rgds jp -- 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 details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] problem building OSG under ubuntu 7.04
Hi Robert, Thank you, for your help. sorry for late response, i had some other official works. i had lot of other problems with Ubuntu so i am changing myself to fedora 9. i will try OSG in fedora next week. Thank again. Cheers, Aburik -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17760#17760 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] 3DS writer - Call for testing
Hi all, I submitted a 3DS writer to osg-submissions. Unfortunately, it seems there was not many people on the list for using/testing it... So please raise your hand if you feel interested! Thanks. Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] change ocean height
Hi JS ok I have updated osgOcean from the trunk and tried the new setOceanSurfaceHeight function. It is working well. Except that I have no node reflections in the water ? Did you try it ? In my 1st pic you can see the ocean and a cow at altitude 0, the reflection is great. [Image: http://img43.imageshack.us/img43/8820/water1h.jpg ] But when I add a (0,0,100) transform node for the cow and I use setOceanSurfaceHeight(100), I have no more reflections and a strange artifact at the horizon, see pic2 [Image: http://img25.imageshack.us/img25/9372/water2r.jpg ] Do you confirm this ? (really sorry to bother you ^^) Thank you! Cheers, Sebastien -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17763#17763 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] change ocean height
Hi Sebastien, I think this is because the reflection matrix used by the reflection FBO doesn't take into account the change in height and is still trying to reflect the scene across the origin. I don't have much time to give to osgOcean at the moment so if you need a fix urgently you should have a go yourself. It should be pretty easy to sort out, just modify the _reflectionMatrix variable in OceanScene when the setOceanSurfaceHeight is modified to reflect across the new ocean plane. void setOceanSurfaceHeight(double height){ _oceanTransform-setMatrix(osg::Matrix::translate(0,0,height)); _isDirty = true; } If you get to it before me, send in the code and I'll merge the fix. Cheers. Kim. 2009/10/1 Sebastien Nerig overse...@hotmail.com: Hi JS ok I have updated osgOcean from the trunk and tried the new setOceanSurfaceHeight function. It is working well. Except that I have no node reflections in the water ? Did you try it ? In my 1st pic you can see the ocean and a cow at altitude 0, the reflection is great. [Image: http://img43.imageshack.us/img43/8820/water1h.jpg ] But when I add a (0,0,100) transform node for the cow and I use setOceanSurfaceHeight(100), I have no more reflections and a strange artifact at the horizon, see pic2 [Image: http://img25.imageshack.us/img25/9372/water2r.jpg ] Do you confirm this ? (really sorry to bother you ^^) Thank you! Cheers, Sebastien -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17763#17763 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB: How to use a vector database with osgdem?
Hi Chris and Alejandro, I'm not sure what the status of of these options are in osgdem, but you can use osgGIS to accomplish these tasks. It works well with draping over VPB databases. Thanks, Jason On Thu, Oct 1, 2009 at 1:55 AM, Chris 'Xenon' Hanson xe...@alphapixel.comwrote: Alejandro Aguilar Sierra wrote: Hello: Can someone please explain how can be used the command line option --vector with osgdem? Is there reproducible examples of the use of --building, --forest, --type-attribute, --height options? I was just asking about the same thing. I'm curious too, I'm not sure if they're fully implemented. -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now available! http://www.alphapixel.com/demos/ There is no Truth. There is only Perception. To Perceive is to Exist. - Xen ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] change ocean height
Michael, Kim, If you get to it before me, send in the code and I'll merge the fix. I'll do this right away. Give me a few minutes. J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] change ocean height
Hi again, If you get to it before me, send in the code and I'll merge the fix. I'll do this right away. Give me a few minutes. Done and committed to osgOcean SVN trunk. I also added a command line parameter to the oceanExample so that you can experiment with the ocean surface height. So for example I tested with: oceanExample cessna.osg.(0,-15,90).rot.(0,200,115).trans --oceanSurfaceHeight 100 (which uses the cessna.osg model from OpenSceneGraph-Data and positions it 115 meters in the air, and places the ocean surface at 100 meters) Hope this helps, and sorry for forgetting the reflection matrix when I added ocean surface height control... J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] change ocean height
Hi all, Thanks for your rapidity !! So I have updated and tested with my scene, when the cow is at 150 and the ocean at 100, it works well (the reflection is hard to see but it is here !) [Image: http://img246.imageshack.us/img246/9285/sanstitre1yg.jpg ] But ... really sorry again... there is a problem when the cow touches the ocean, both of them are at height 100... do you confirm this ? [Image: http://img297.imageshack.us/img297/836/sanstitre2hs.jpg ] Cheers, Sebastien -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17768#17768 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Compel a camera (using MatrixManipulator) inside a sphere
Hi, Here's my problem. I have affected a nodetrackmanipulator to a viewer and a callback to the camera. I want is to compel my camera inside a sphere. So, in the callback method operator() I get the nodetrackmanipulator, get the position matrix mat from it using getMatrix(). Then I compute the lenght of the position the camera (this is done in the virtual void operator()(osg::Node* node, osg::NodeVisitor* nv) method) : [code] osg::Matrixd mat = _nodeTrackerManipulator-getMatrix(); double length = mat.getTrans().length(); if (length sphereRadius) { osg::Matrixd newMat; newMat.identity(); newMat.setRotate( m.getRotate() ); newMat.setTrans( 0, 0, 0); _nodeTrackerManipulator.setByMatrix( newMat ); } [/code] The problem is that the display result is wrong. The camera is not at position (0,0,0). I have also try using setByInverseMatrix but nothing. What should it done to update the position, rotation nodeTrackerManipulator (matrixManipulator) ? Thank you. [/code] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17769#17769 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] change ocean height
Hi Sebastien, So I have updated and tested with my scene, when the cow is at 150 and the ocean at 100, it works well (the reflection is hard to see but it is here !) [Image: http://img246.imageshack.us/img246/9285/sanstitre1yg.jpg ] If you lower the cow or lower your point of view you'll see the reflection becomes clearer. The intensity of reflection depends on the angle of the reflected view vector. But ... really sorry again... there is a problem when the cow touches the ocean, both of them are at height 100... do you confirm this ? [Image: http://img297.imageshack.us/img297/836/sanstitre2hs.jpg ] Hmmm, my setting of the clip node would be wrong. I'll test it out. J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] change ocean height
Hi Sebastien, But ... really sorry again... there is a problem when the cow touches the ocean, both of them are at height 100... do you confirm this ? [Image: http://img297.imageshack.us/img297/836/sanstitre2hs.jpg ] Yep, that was it. Simple fix. Sorry about that. Note that the reflections are clipped to a plane, but the ocean surface is not a plane (which is the whole point of osgOcean... :-) ) so there are some points where if the waves are really high the reflection will be missing on part of it. It's either that or have reflections popping up behind objects as you saw, so it's a lesser of two evils situation... And please don't apologize about reporting bugs, we have to find these bugs! I don't use these features in our other projects here, so other users like you are the only source of testing... If you want you can always try to fix them and send us the fixes, but I will never say Oh no, not another bug report... Damn, osgOcean's software quality is getting way too high... I wish these bug reports would stop and the bugs would just stay there... ... :-) J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB: How to use a vector database with osgdem?
HI Alejandro and Chris, On Thu, Oct 1, 2009 at 6:55 AM, Chris 'Xenon' Hanson xe...@alphapixel.com wrote: I was just asking about the same thing. I'm curious too, I'm not sure if they're fully implemented. In VPB the vector (build and forest outlines imported from shape files) support is limited to databases build that use polygonal meshes rather than osgTerrain::TerrainTile. VPB now defaults to generating databases with osgTerrain::TerrainTile's as they are more compact and more flexible as they allow runtime decimation of data as well as terrain modifications, but it doesn't yet have support for handling vector data. To use the polygonal build you'll need to use --polygonal. I would like to see support added to osgTerrain::TerrainTile to allow us to provide polygonal outlines and fixed points of interest that the tesselation will honour, once this is in place we'll be able to get the shapefile support in VPB rolled out to all combinations. I should add that I'm not the author of the shapefile support in VPB, so I can't answer in too much about it's implementation. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB: How to use a vector database with osgdem?
Robert Osfield wrote: I should add that I'm not the author of the shapefile support in VPB, so I can't answer in too much about it's implementation. Can you point the finger to who is? Robert. -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now available! http://www.alphapixel.com/demos/ There is no Truth. There is only Perception. To Perceive is to Exist. - Xen ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] OSG website down?
Hi, Folks, Is the OSG website down? I haven't been able to connect to it the whole afternoon. Cheers, Yefei ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] 3DS writer - Call for testing
On 2009-10-01, Sukender suky0...@free.fr wrote: I submitted a 3DS writer to osg-submissions. Unfortunately, it seems there was not many people on the list for using/testing it... So please raise your hand if you feel interested! Thanks. I might have some time to look at it. I don't have immediate applications, however. -- Randolph Fritz design machine group, architecture department, university of washington rfr...@u.washington.edu or rfritz...@gmail.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Stats Matrices label
Hi, I think I found a wrong display label when when the camera scene stats is enabled. There is a label called Matrices. Shouldn't it be called Materials instead? Guy -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=1#1 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Macports osg
OSG 2.8.2, MacOS X 10.5.8, Macports This is a workaround for one of those irritating Mac library name conflicts. Before starting your OSG app, make sure to set DYLD_FALLBACK_LIBRARY_PATH to the location of your OSG libraries. If I do not, when I try to start osgviewer, I see: dyld: Symbol not found: __cg_jpeg_resync_to_restart Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO Expected in: /Developer/usr/local/MacPorts/lib/libJPEG.dylib -- Randolph Fritz design machine group, architecture department, university of washington rfr...@u.washington.edu -or- rfritz...@gmail.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB: How to use a vector database with osgdem?
That would be ideal, but osggis seems to be pretty unstable, always segfaults, whatever I do. In my lap I am using osg 2.9.0 and osggis revision 193. In my main workstation at my lab, osg 2.9.6. Any hint? -- A. On Thu, Oct 1, 2009 at 6:54 AM, Jason Beverage jasonbever...@gmail.com wrote: Hi Chris and Alejandro, I'm not sure what the status of of these options are in osgdem, but you can use osgGIS to accomplish these tasks. It works well with draping over VPB databases. Thanks, Jason ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] 3DS writer - Call for testing
Hi at forum, at least , your files could not be downloaded as they are 7z ( not zip ). You might use 7z to make zip files with good compression and repost. Regards Sergey ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSG website down?
He, Yefei wrote: Hi, Folks, Is the OSG website down? I haven't been able to connect to it the whole afternoon. I do not seem to be able to reach it either. Cheers, Yefei -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now available! http://www.alphapixel.com/demos/ There is no Truth. There is only Perception. To Perceive is to Exist. - Xen ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSG website down?
On 2009-10-02, Chris 'Xenon' Hanson xe...@alphapixel.com wrote: He, Yefei wrote: Hi, Folks, Is the OSG website down? I haven't been able to connect to it the whole afternoon. I do not seem to be able to reach it either. Same here. -- Randolph Fritz design machine group, architecture department, university of washington rfr...@u.washington.edu -or- rfritz...@gmail.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] problem in setPivotPoint of PAT for .3DS file
Hi, I am using OSG-2.8.0 i have read a .3DS file with a certain origin. now i am trying to rotate the object in the file about a point other than its origin in that file . for that i have used PAT. i have tried to use setPivotPoint but could not understand its working can any body suggest the way to use it . if possible with an example... Thank you! Cheers, gopal :P -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17783#17783 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] About osggis (was VPB: How to use a vector database with osgdem?
Actually, osggis works but it needs that the shape has a .prj file. Regards. -- A. On Thu, Oct 1, 2009 at 8:37 PM, Alejandro Aguilar Sierra algsie...@gmail.com wrote: That would be ideal, but osggis seems to be pretty unstable, always segfaults, whatever I do. In my lap I am using osg 2.9.0 and osggis revision 193. In my main workstation at my lab, osg 2.9.6. Any hint? -- A. On Thu, Oct 1, 2009 at 6:54 AM, Jason Beverage jasonbever...@gmail.com wrote: Hi Chris and Alejandro, I'm not sure what the status of of these options are in osgdem, but you can use osgGIS to accomplish these tasks. It works well with draping over VPB databases. Thanks, Jason ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org