Re: [osg-users] Camera composition
if you are going to render whole scene again, i did not understand where culling is? and also i dont believe culling far plane is a good idea if you are rendering large area, the increment of performance will not be dramatic. i suggest you to draw terrain in different levels of details. i render 100km x 100km terrain by LOD instead of culling them. On Fri, Mar 26, 2010 at 3:15 PM, Joseba Rodriguez jrodrig...@landersimulation.com wrote: Hi, I have a large terrain with other geometries on it, and im trying to do some culling on this scene. One of the things i´ve been trying is to keep a minimun far plane distance, but mountains on terrain are cut due to the far plane. For solving this i tried to render terrain and the geometry over it on different cameras with different fal planes, but i just get a black screen when i change the camera projection matrix. The idea is something like this: - Viewer - MainCamera |- Camera1 - (terrain in render bin -5, big far) |- Camera2 - all the other things in scene, small far. Any idea of how can i make this? Thank you! Cheers, J -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26191#26191 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Ufuk Gün ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] osg version problem advice?
Hi, i have .ive models which are created in ~osg::2.2.0. i realized that there are textures which are not 2^n size in these models. normally i call this command: osgconv --compressed model.ive model.ive but when i compress it, i can not open this model with the old version of osg. it says: The version found in the file is newer than this library can handle. then i tried to compress models with version 2.2.0 but this time i got this error: Failed to create pbuffer, failing back to normal graphics window. Error: Unable to create graphis context - cannot run compression Data written to 'model.ive'. do you have any advice about this situation. how can i compress my .ive files. i thougt i can convert them to .osg format but this time textures are lost. then i tried to get images from .ive file in order to put them near the .osg file but i could not get any image. any advice would be great. thanks... -- Ufuk Gün ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg version problem advice?
Hi Robert, unfortunately i have to use older version of osg because currenty i am fixing bugs of one our simulators which is developed in 2007and 2008. we implemented this simulator in delta3D 1.4 which uses the older version of osg. i want to upgrade this system to the newer versions but i am afraid of getting many errors. there are many changes between versions like producer. that's why i am trying to find some backward compatible solution... On Mon, Mar 15, 2010 at 2:31 PM, Robert Osfield robert.osfi...@gmail.comwrote: HI Ufuk, Is there a reason that you are using a version of the OSG so many years out of date? In very old versions of the OSG there was a problem under Windows with osgconv attempting to create a graphics context due a crappy windows issue of the MS compiler not pulling in symbols that it should have, the only work around is to explicitly reference these symbols. Modern versions of the OSG has this hack in them to workaround the Windows problem. Robert. On Mon, Mar 15, 2010 at 12:20 PM, Ufuk Gun ufuk...@gmail.com wrote: Hi, i have .ive models which are created in ~osg::2.2.0. i realized that there are textures which are not 2^n size in these models. normally i call this command: osgconv --compressed model.ive model.ive but when i compress it, i can not open this model with the old version of osg. it says: The version found in the file is newer than this library can handle. then i tried to compress models with version 2.2.0 but this time i got this error: Failed to create pbuffer, failing back to normal graphics window. Error: Unable to create graphis context - cannot run compression Data written to 'model.ive'. do you have any advice about this situation. how can i compress my .ive files. i thougt i can convert them to .osg format but this time textures are lost. then i tried to get images from .ive file in order to put them near the .osg file but i could not get any image. any advice would be great. thanks... -- Ufuk Gün ___ 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 -- Ufuk Gün ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg version problem advice?
Hi jp, it sounds weird but it might work. i will try because it seems i have no other option :) thanks... On Mon, Mar 15, 2010 at 2:56 PM, J.P. Delport jpdelp...@csir.co.za wrote: Hi, this might be a radical solution, but you should be able to get virtualbox with Ubuntu 8.04 LTS to build OSG 2.2 without problems and hopefully do the convertions you need. Once you have it running you can just archive the virtual machine for future use. jp Ufuk Gun wrote: Hi Robert, unfortunately i have to use older version of osg because currenty i am fixing bugs of one our simulators which is developed in 2007and 2008. we implemented this simulator in delta3D 1.4 which uses the older version of osg. i want to upgrade this system to the newer versions but i am afraid of getting many errors. there are many changes between versions like producer. that's why i am trying to find some backward compatible solution... On Mon, Mar 15, 2010 at 2:31 PM, Robert Osfield robert.osfi...@gmail.commailto: robert.osfi...@gmail.com wrote: HI Ufuk, Is there a reason that you are using a version of the OSG so many years out of date? In very old versions of the OSG there was a problem under Windows with osgconv attempting to create a graphics context due a crappy windows issue of the MS compiler not pulling in symbols that it should have, the only work around is to explicitly reference these symbols. Modern versions of the OSG has this hack in them to workaround the Windows problem. Robert. On Mon, Mar 15, 2010 at 12:20 PM, Ufuk Gun ufuk...@gmail.com mailto:ufuk...@gmail.com wrote: Hi, i have .ive models which are created in ~osg::2.2.0. i realized that there are textures which are not 2^n size in these models. normally i call this command: osgconv --compressed model.ive model.ive but when i compress it, i can not open this model with the old version of osg. it says: The version found in the file is newer than this library can handle. then i tried to compress models with version 2.2.0 but this time i got this error: Failed to create pbuffer, failing back to normal graphics window. Error: Unable to create graphis context - cannot run compression Data written to 'model.ive'. do you have any advice about this situation. how can i compress my .ive files. i thougt i can convert them to .osg format but this time textures are lost. then i tried to get images from .ive file in order to put them near the .osg file but i could not get any image. any advice would be great. thanks... -- Ufuk Gün ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto:osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto:osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Ufuk Gün ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- 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 -- Ufuk Gün ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] filpped view
Hi Nick, you can render scene to a texture and when you place this texture you can modify the texture coordinates as it seems like mirrored. we made such a thing in rearview mirror in a car simulation. if you are going to mirror whole scene, some monitors are able to mirror its display on the hardware. so you may not do anything for this case. On Mon, Mar 15, 2010 at 2:59 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Nick, On Mon, Mar 15, 2010 at 12:55 PM, Trajce (Nick) Nikolov nikolov.tra...@gmail.com wrote: Hi community, is there a way to flip (mirror along the x axis) a view in a composite viewer? Just flip the left/right values of the projection matrix. If face culling is enabled then you'll need to swap the face that gets culled using osg::FrontFace. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Ufuk Gün ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg version problem advice?
Hi Jean-Sébastien, thank you so much for your advice. i did not know that option. now i will convert all my .ive files to .osg with latest version of OSG than convert these .osg files to .ive files with older version of OSG. than everything will be great! thanks :) On Mon, Mar 15, 2010 at 3:32 PM, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com wrote: Hi Ufuk, i thougt i can convert them to .osg format but this time textures are lost. then i tried to get images from .ive file in order to put them near the .osg file but i could not get any image. You can convert the .ive to .osg while keeping the textures by using the option -O OutputTextureFiles. See the source for the .osg plugin (in newer versions of osgconv you can use --format osg to see what options the .osg plugin supports, but in older versions you need to check the source code). Hope this helps you get a few steps further... 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 -- Ufuk Gün ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg version problem advice?
Hi Robert, Yes, this is an another option for this case. i will check if there is a huge difference or not. if not i may write a bug fix to 2.2. thanks Robert... On Mon, Mar 15, 2010 at 4:15 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Ufuk, An option you have open to your is to backport fixes to the OSG to your version of the OSG - this is one of the strengths of the open source. Just do a diff between osgconv in later versions of the OSG with what you have, it may well compile directly. Robert. On Mon, Mar 15, 2010 at 12:47 PM, Ufuk Gun ufuk...@gmail.com wrote: Hi Robert, unfortunately i have to use older version of osg because currenty i am fixing bugs of one our simulators which is developed in 2007and 2008. we implemented this simulator in delta3D 1.4 which uses the older version of osg. i want to upgrade this system to the newer versions but i am afraid of getting many errors. there are many changes between versions like producer. that's why i am trying to find some backward compatible solution... On Mon, Mar 15, 2010 at 2:31 PM, Robert Osfield robert.osfi...@gmail.com wrote: HI Ufuk, Is there a reason that you are using a version of the OSG so many years out of date? In very old versions of the OSG there was a problem under Windows with osgconv attempting to create a graphics context due a crappy windows issue of the MS compiler not pulling in symbols that it should have, the only work around is to explicitly reference these symbols. Modern versions of the OSG has this hack in them to workaround the Windows problem. Robert. On Mon, Mar 15, 2010 at 12:20 PM, Ufuk Gun ufuk...@gmail.com wrote: Hi, i have .ive models which are created in ~osg::2.2.0. i realized that there are textures which are not 2^n size in these models. normally i call this command: osgconv --compressed model.ive model.ive but when i compress it, i can not open this model with the old version of osg. it says: The version found in the file is newer than this library can handle. then i tried to compress models with version 2.2.0 but this time i got this error: Failed to create pbuffer, failing back to normal graphics window. Error: Unable to create graphis context - cannot run compression Data written to 'model.ive'. do you have any advice about this situation. how can i compress my .ive files. i thougt i can convert them to .osg format but this time textures are lost. then i tried to get images from .ive file in order to put them near the .osg file but i could not get any image. any advice would be great. thanks... -- Ufuk Gün ___ 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 -- Ufuk Gün ___ 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 -- Ufuk Gün ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Multiple GPU
Hi, I have to do a simulation project which needs 8 screens. This system likes a dome. so i want to ask few questions about this: 1) i want to use multiple gpu's. So is there a limit on number of gpu's on a pc? i saw 4 gpu's on a pc and every gpu has 2 outputs. can i render 8 screen with viewer? 2) how can i set which gpu render which screen. is there an auto management system in viewer? if i have screens which have resolutions like 8x1280x1024 or 4x2560x1024 or any other combination of this, should i do an extra thing for this? 3) do you think i will have a critical frame rate problem if i render 8 screens. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Multiple GPU
Hi, Thank you so much for your answers. :) i will research and try your advices. I wanted to learn where to start. i will let you know what i have done about this. thanks again :) -- Ufuk ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org