Re: [osg-users] Move object with callback

2010-04-29 Thread J.P. Delport
Hi, if you don't want to use callbacks you can split the viewer-run() into !done and viewer-frame(); And then just update a PositionAttitudeTransform or MatrixTransform that sits above your node you want to move between frame calls. jp On 21/04/10 09:54, daniele argiolas wrote: Hi, in my

Re: [osg-users] [3rdparty] Digital elevation model visualization

2010-04-29 Thread lucie lemonnier
Hi, Thank you for your answer, I'll follow your advice, I'll look at osgEarth and VPB. Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27420#27420 ___ osg-users mailing list

[osg-users] Can, t Set Home Position using Spherical Manipulator...............

2010-04-29 Thread Nitin Rangari
Hi All, I am using Spherical Manipulator since its suit for cad application but I am not able to set Home Position in Spherical Manipulator. regards, Nitin ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] CityGML

2010-04-29 Thread Suvajit Sengupta
Hi Joachim, Thats great !! Will be happy to test it out. ... Thank you! Cheers, Suvajit -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27422#27422 ___ osg-users mailing list

Re: [osg-users] [osgPPU] HDR example: wrong average luminance?

2010-04-29 Thread Art Tevs
Hi all, Oh, just that you note this, I have moved 0.4.1 to 0.4.2-rc1, to better reflect current version state. Lucca: the syntax is exactly the same as on usual texture2D call. So texture2DLod(sampler, coordinate [,lod]). So in both shaders luminance_adapted and luminance_mipmap, just

Re: [osg-users] [3rdparty] Digital elevation model visualization

2010-04-29 Thread lucie lemonnier
Hi, I also use VRJuggler to run my application in a virtual reality environment (for example CAVE). OsgEarth and VPB are compatible with VRJuggler? Thank you! Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27425#27425

Re: [osg-users] [3rdparty] Digital elevation model visualization

2010-04-29 Thread Tim Moore
On Thu, Apr 29, 2010 at 9:27 AM, lucie lemonnier lucielemonn...@hotmail.frwrote: Hi, Thank you for your answer, I'll follow your advice, I'll look at osgEarth and VPB. Cheers, lucie You might find helpful a couple of blog posts I wrote about building small databases with VPB:

[osg-users] [osgPPU] Trying to install osgPPU in winXP

2010-04-29 Thread Jon Goenetxea
Hi, I am trying to install the 0.4 version of osgPPU. [WinXP] When I try to generate the code, cmake says: Code: CMake Error at CMakeLists.txt:244 (INCLUDE): include could not find load file: OsgPPUCPack I have tryed to find that file manually, but it is not in the package. Anyone know

Re: [osg-users] Write osg::Image to stringstream as jpg or png

2010-04-29 Thread Vedran Pavlic
Hi, Ok, I looked into it some more and it doesn't work even for .bmp extensions, the image gets scrambled. Is there a way to convert osg::Image to some other image type, preferably CLR System::Drawing::Image or one of boost types. My first idea was to write osg::Image to a stream and read that

Re: [osg-users] Write osg::Image to stringstream as jpg or png

2010-04-29 Thread J.P. Delport
Hi, this small test app still works fine on my side for RGB and GRAY images... Does it work for you? I'm not sure what's happening on your side. Maybe try without manually setting pixel format. jp On 29/04/10 11:23, Vedran Pavlic wrote: Hi, Ok, I looked into it some more and it doesn't

[osg-users] FBX find cmake

2010-04-29 Thread Serge Lages
Hi all, The latest version of the fbx plugin (from the SVN) builds with the 2011.2 version, but currently in the FindFBX.cmake file, the default location of the SDK is Autodesk/FBX/FbxSdk/2010.2. Should it be changed to Autodesk/FBX/FbxSdk/2011.2 ? Thanks ! -- Serge Lages

Re: [osg-users] [osgPPU] Trying to install osgPPU in winXP

2010-04-29 Thread Jon Goenetxea
Hi, OK, I dissabled BUILD_OSGPPU_PACKAGES checkbox, and now it generates the project. I hope it could work like this. Thank you! Cheers, Jon -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27431#27431

Re: [osg-users] Write osg::Image to stringstream as jpg or png

2010-04-29 Thread Vedran Pavlic
Hi, I tried your test app and it didn't work for me, not right away at least. What it did is got my mind working. The files were saving but i couldn't open them, or it said that they were corrupted or the image was scrambled. And then i thought to define fout as a binary stream and that seemed

Re: [osg-users] FBX find cmake

2010-04-29 Thread Michael Platings
Hi Serge, yes I submitted a change for this on 14th April, hopefully Robert will get around to applying it soon :) On 29 April 2010 10:37, Serge Lages serge.la...@gmail.com wrote: Hi all, The latest version of the fbx plugin (from the SVN) builds with the 2011.2 version, but currently in the

[osg-users] Is osgVolume being improved?

2010-04-29 Thread Dženan Zukić
Hi, When osgVolume was being introduced last year, plans to support mixing it with polygonal data have been announced. Is there any progress in this, or other improvements in osgVolume (maybe support for 2D transfer function)? What are the current plans regarding osgVolume? Cheers, Dženan

Re: [osg-users] Is osgVolume being improved?

2010-04-29 Thread Robert Osfield
Hi Dženan, 2010/4/29 Dženan Zukić dzen...@gmail.com: When osgVolume was being introduced last year, plans to support mixing it with polygonal data have been announced. Is there any progress in this, or other improvements in osgVolume (maybe support for 2D transfer function)? What are the

Re: [osg-users] Is osgVolume being improved?

2010-04-29 Thread Dženan Zukić
Hi, Is there any time frame for reaching the decision? Cheers, Dženan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27436#27436 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Camera Problem

2010-04-29 Thread Danny Lesnik
Hi, Does any bosy have any clue? It's realy show stopper for us. Thank you! Cheers, Danny -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27437#27437 ___ osg-users mailing list

Re: [osg-users] Is osgVolume being improved?

2010-04-29 Thread Montgomery, John T.
Funding request cannot be presented until the end of April, so June or July before we will know for definite either way. :-) John Montgomery University of Aberdeen Directorate of Information Technology Edward Wright Building Dunbar Street Aberdeen AB24 3QY Tel: +44 (0) 1224 27 3218 Mob: 07592

Re: [osg-users] Is osgVolume being improved?

2010-04-29 Thread Robert Osfield
Hi Dženan, 2010/4/29 Dženan Zukić dzen...@gmail.com: Is there any time frame for reaching the decision? I'm afraid there isn't time frame for getting funding. It could be next month, it could be next year. Robert. ___ osg-users mailing list

Re: [osg-users] Camera Problem

2010-04-29 Thread Robert Osfield
Hi Danny, I'm afraid you have a rather optimistic view of what we might be able to do with so little relevant information. So I'm not surprised no one has come forward, as it's just so open ended what might be wrong. Go have a look at the various example. Robert. On Thu, Apr 29, 2010 at 1:02

Re: [osg-users] openGL error with osgEarth?

2010-04-29 Thread Glenn Waldron
Akilan, You are probably running out of texture units. In multitexture mode, osgEarth uses one per layer. Try using multipass mode instead: MapEngineProperties props; props.layeringTechnique() = MapEngineProperties::LAYERING_MULTIPASS; MapNode* node = new MapNode( map, props ); Glenn Waldron :

Re: [osg-users] [3rdparty] Digital elevation model visualization

2010-04-29 Thread Jason Beverage
Hi Lucie, I'm not very familiar with VR-Juggler, but if it works with other OSG applications it *probably* works with VPB and osgEarth :) Jason On Thu, Apr 29, 2010 at 4:54 AM, Tim Moore timoor...@gmail.com wrote: On Thu, Apr 29, 2010 at 9:27 AM, lucie lemonnier lucielemonn...@hotmail.fr

Re: [osg-users] [3rdparty] Digital elevation model visualization

2010-04-29 Thread lucie lemonnier
Hi, Ok, Thank you! Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27444#27444 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [3rdparty] Texture applied in modelling tool not showing up

2010-04-29 Thread Adam Smith
Hello folks (and J-S). I am reporting on my progress as stated yesterday. I'm still not able to get Collada files to texture properly although I am having success with .3DS (3D Studio) files using the same OSG application code. J-S, I took your advice and upped the notify level (thanks for

Re: [osg-users] [3rdparty] Texture applied in modelling tool not showing up

2010-04-29 Thread Jean-Sébastien Guay
Hi Adam, J-S, I took your advice and upped the notify level (thanks for that tip as it is quite useful!). Yes :-) I am getting two messages that seem relevant to my issue: 1) Currently no support for texture in Specular channel 2) Failed to find matching bind_vertex_input for UVSET0

[osg-users] Loading an Osg model from memory

2010-04-29 Thread Manolo Padron Martinez
Hi: We're trying to load an osg model from an stream. We got the code like this        membuf sb((char *)Data, Size);        std::istream stream(sb);        osgDB::ReaderWriter* reader = osgDB::Registry::instance()-getReaderWriterForExtension(osg);        if(reader)        {                

Re: [osg-users] [3rdparty] Texture applied in modelling tool not showing up

2010-04-29 Thread Adam Smith
Hi J-S, Again thanks for the quick reply and the new suggestions. I will try Blender (provided I can navigate the UI :) ). This way I can ascertain if it is a tool usage issue with Truespace. Since I am still somewhat inexperienced, it will take me a bit make sure I have enough technical

[osg-users] RE Loading an Osg model from memory

2010-04-29 Thread Luc Frauciel
Hi, osgDB::ReaderWriter::ReadResult will keep a handle on the node. At the end of your function (after return), the reference count of you object (maintained by ReadResult) will drop to Zero = object destroyed. I don't know what is the official way to avoid that, but one way or another, you

Re: [osg-users] [osgPlugins] WRL Plugin needed

2010-04-29 Thread Michele Fiorentino
Hi, using VS2008 on windows XP with up-to date svn osg and vrml i get this error. I succeded to compile ( I used dlls) working on C++precompiler option and libs but it will be nice to modify it in cmake for community. Unbfortuantely i am very ignorant in Cmake scripting...someone can help?

Re: [osg-users] Osg Viewer in Windows style window

2010-04-29 Thread Sanat Talmaki
Hi Nick, Yes these are from the sample itself (unchanged). I donno why I'm getting a run-time error: Warning: no document names in string for template #129. Warning: no document names in string for template #129. Warning: no shared menu for document template #129. Warning: no document names in

[osg-users] getting length and width of terrain within a cameras view ATI Cards and OSG

2010-04-29 Thread David Glenn
Hi All, This is a two part question Part 1; One of the figures that I have to present to the viewer is the width length of the area of terrain that is covered in the window view. Back when we where doing this in Performer, we had set zoom points, so we had an idea of the width length as it

Re: [osg-users] Loading an Osg model from memory

2010-04-29 Thread Todd J. Furlong
That looks similar to code we use to do the same thing. Only difference is we check rr.validNode instead of rr.success, but you say it is successful. We are using OSG 2.8.2. -Todd On 4/29/2010 10:27 AM, Manolo Padron Martinez wrote: Hi: We're trying to load an osg model from an stream. We

Re: [osg-users] getting length and width of terrain within a cameras view ATI Cards and OSG

2010-04-29 Thread Chris 'Xenon' Hanson
On 4/29/2010 12:07 PM, David Glenn wrote: One of the figures that I have to present to the viewer is the width length of the area of terrain that is covered in the window view. Back when we where doing this in Performer, we had set zoom points, so we had an idea of the width length as it

Re: [osg-users] [osgPPU] HDR example: wrong average luminance?

2010-04-29 Thread Luca Vezzadini
art wrote: the syntax is exactly the same as on usual texture2D call. So texture2DLod(sampler, coordinate [,lod]). So in both shaders luminance_adapted and luminance_mipmap, just change the texture2D calls to texture2DLod where mipmap level is accessed. Hi Art, Just retried the

Re: [osg-users] Loading an Osg model from memory

2010-04-29 Thread Manolo Padron Martinez
Thanks to all. Finally I found my problem, I had some corruption in the datas that I was using, but the code was correct. Thanks again Regards from Canary Islands On Thu, Apr 29, 2010 at 19:18, Todd J. Furlong t...@inv3rsion.com wrote: That looks similar to code we use to do the same thing.  

Re: [osg-users] getting length and width of terrain within a cameras view ATI Cards and OSG

2010-04-29 Thread David Glenn
Chris 'Xenon' Hanson wrote: honestly, I've not found the FireGL and corresponding NVidia Quadro cards to be effectively better than a consumer-level card with equivalent specs. In the past, the FireGL or Quadro drivers are even sometimes less up to date than the bleeding edge consumer