Re: [osg-users] [vpb] Some questions about VPB and cloud of points

2009-08-26 Thread Andrea Martini
Hi Glenn, thank you for your answer. What do you think about the first question? Can i create a dem file starting from a cloud of points using osgdem? This cloud of points is an ascii file with n rows each one with x,y,z values. These values are referred to a coordinate system (i know this one).

Re: [osg-users] Assigning one image to another

2009-08-26 Thread Ulrich Hertlein
Hi Brett, On 25/08/09 10:00 PM, Brett Thomas Lee wrote: Hi I also tried lots of methods like img-setImage(64,64,1,GL_RGBA,GL_RGBA,GL_UNSIGNED_BYTE,rendTexture-getImage()-data(),osg::Image::NO_DELETE); Are you rendering to 'rendTexture' (the name implies something like that). The texture data

Re: [osg-users] Updating a texture(urgent)

2009-08-26 Thread Robert Osfield
Hi Tim, On Tue, Aug 25, 2009 at 10:47 PM, Tim Allenosgfo...@tevs.eu wrote: The real problem im facing is when Im editing the images i am getting popping textures. What do you mean by popping textures? How are you editing the images? You really are provide way too little information for

[osg-users] view-dependent Billboard clouds

2009-08-26 Thread Basheer Joukhadar
Hi, I'm trying to implement billboard clouds for a 3d object . i have already started and implemented the billboard clouds for view-independent case . but now i need to upgrade my code to view-dependent case . i'll appreciate any kind of help Thank you! Cheers, Basheer --

Re: [osg-users] dynamic QuadTree on spherical terrain

2009-08-26 Thread Eric Pouliquen
Hi Art and Jason, Thanks for your answers, very interesting paper, and Jason you're absolutly right, osgEarth is the answer :) Eric -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16735#16735 ___

Re: [osg-users] view-dependent Billboard clouds

2009-08-26 Thread Roland Smeenk
Hi Basheer, A scenegraph solution is possible by using a nodemask. This way different views can traverse into different parts of the scenegraph containing the nodes you want to use for a specific view. However in this case the scenegraph is specifically tailored for the number of views you are

Re: [osg-users] osgOcean application

2009-08-26 Thread Hou Xl
Hi,kim I print screen and get some images.From the three images you maybe know what happen in spaceship flame trail.In fact ,i want to get the reason why the flame trail turns grey or white when i toggle glare and dof(underwater) false at run time. Thank you! Cheers, houxl

Re: [osg-users] osgOcean application

2009-08-26 Thread Hou Xl
Hi,kim in osgocean example : ... _oceanScene-enableUnderwaterDOF(false); _oceanScene-enableGlare(false); ... i print screen and get some images. Thank you! Cheers, houxl[/img][/quote] -- Read this topic online here:

Re: [osg-users] osgOcean application

2009-08-26 Thread Kim Bale
Hi Houxl, Try disabling the default shader (which is enabled by default in oceanscene) void OceanScene::setUseDefaultSceneShader( bool enable ) { _enableDefaultShader = enable; } Regards, Kim. 2009/8/25 Hou Xl osg...@163.com: Hi,kim I print screen and get some images.From the

Re: [osg-users] texture to file

2009-08-26 Thread Peter Wraae Marino
Hi Rafa, thanks.. i used your suggestion and it works. my only problem now is that the RTT i have created generates a GL_LUMINANCE image, which format do I use? I would like to load and use this texture again as luminance texture. any suggestions, Peter On Tue, Aug 25, 2009 at 12:25 PM, Rafa

Re: [osg-users] Z-buffer transparency / Alpha

2009-08-26 Thread Sergey Polischuk
Hi, If u didn't solved that yet - try 2 things: 1st: when doing prerender - on root stateset set GL_DEPTH_TEST to ON|OVERRIDE and DEPTH attrib to LESS and turn it ON|OVERRIDE(seems like depth write turned off for transparent objects by default, which is right thing in general :D ) 2nd: when

Re: [osg-users] [vpb] Some questions about VPB and cloud of points

2009-08-26 Thread Glenn Waldron
Andrea, I'm afraid I don't know the answer to that one. All the OSG terrain options take a regular grid of height postings as input, so you would probably need to preprocess an arbitrary could if you want to go that route. osgdem, osgEarth, etc. all use GDAL under the hood to read data formats;

Re: [osg-users] [vpb] Some questions about VPB and cloud of points

2009-08-26 Thread jago jagoc
Hi Andrea, you can create a .dem by 3dem software, download it at http://freegeographytools.com/3dem_setup.exe When you start the software you have to selet File-load terrain model-XYZ PointCloud and after File-Save Ugs asci dem. Hope this helps, /Jagovic Andrea, I'm afraid I don't know the

[osg-users] Setting my ZNear and ZFar clipping planes?

2009-08-26 Thread Andy Lundell
Hi, I'm trying to set up my system so that I can manually specify the clipping planes. In past projects I would use the SceneView object and the SetComputeNearFarMode method. This project I'm not using a SceneView (Just a viewer) and I have no idea how to get at this functionality. (I'm also

Re: [osg-users] Picking primitive subset

2009-08-26 Thread Florian Perteneder
Hi, I'm new to OpenSceneGraph and working on a similar problem. I'm trying to write an application that allows the user to select different faces of a geometry that I load via Collada and than save the Geometry as a Collada file again that contains the selected Geometry as well as the original

[osg-users] Paging strategies for road tiles

2009-08-26 Thread Björn Blissing
Hi all, My application involves road vehicles driving down long roads. Approx 1000 km of continuous road. The problem is that I can only hold about 100 km of road before system memory runs out. Plan B then naturally falls on some sort of paging strategy. I rewrote the software so it generates

Re: [osg-users] Paging strategies for road tiles

2009-08-26 Thread Brian R Hill
Hi Bjorn, It looks like the problem is your tiles are larger than 2000 m radius. Try setting the range to the tile radius, or some multiple (1.5 * radius, 2.0 * radius). Brian This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us

Re: [osg-users] Assigning one image to another

2009-08-26 Thread Trajce Nikolov
I believe the method is this one, but make sure to use it in proper place /** Read the contents of the current bound texture, handling compressed pixelFormats if present. * Create memory for storage if required, reuse existing pixel coords if possible. */ void

Re: [osg-users] Setting my ZNear and ZFar clipping planes?

2009-08-26 Thread Jason Daly
Andy Lundell wrote: Hi, I'm trying to set up my system so that I can manually specify the clipping planes. In past projects I would use the SceneView object and the SetComputeNearFarMode method. This project I'm not using a SceneView (Just a viewer) and I have no idea how to get at this

Re: [osg-users] checking StateAttribute::OVERRIDE

2009-08-26 Thread Helbig, Yuen
I Also needed to check that stateset-getAttributePair(ssType) != NULL before accessing stateset-getAttributePair(ssType)-second Yuen -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Thrall, Bryan Sent:

Re: [osg-users] Setting my ZNear and ZFar clipping planes?

2009-08-26 Thread Andy Lundell
Jason Daly wrote: Andy Lundell wrote: Viewer is-a ViewerBase and an osgViewer::View osgViewer::View is-a osg::View osg::View has-a Camera Camera is-a CullSettings [...] It's a long (and fairly winding) road to travel, but it makes sense once you get there :-) Thank you. I've got it

Re: [osg-users] Setting my ZNear and ZFar clipping planes?

2009-08-26 Thread Jason Daly
Andy Lundell wrote: Thank you. I've got it now. Glad I could help. A ComputeStereoMatricesCallback in osgUtil::SceneView is probably what you're looking for. You can get to the SceneView object through osgViewer::Renderer (just a different inheritance road to travel). I

Re: [osg-users] osg DIS (Distributed Interactive Simulation)

2009-08-26 Thread Philip Lowman
Also check out KDIS. On Tue, Aug 25, 2009 at 8:11 AM, Trajce Nikolov nikolov.tra...@gmail.comwrote: OpenDIS looks good. Wasn't aware of it. Thanks for all the feedback Nick On Tue, Aug 25, 2009 at 2:04 PM, Ralf Stokholm alfma...@arenalogic.comwrote: Hi All If you need a distributed

[osg-users] osg, Qt and python

2009-08-26 Thread Martin Beckett
It seems that following Qt going LGPL we will soon have LGPL python bindings (the current pyqt is commercial). Has anyone any experience/interest in a python QtViewer? Both the pyqt and the new pyside bindings are very thin wrappers around the Qt C++ code so it shoudn't be a huge challenge.