Re: [osg-users] Paged LOD for osg terrain

2009-09-24 Thread Ralf Stokholm
Hi Brett Osg paged lod is basically implemented as the name states, there are a pagedLod node in your model that will spawn a load of the nodes below it when it gets close enough to the camera and is inside the view frustum. I guess the technique is quite similar to a standard LOD node except

Re: [osg-users] [build] OSG w. MSVC9 - osgUtil/TexturePoolSize compilation problem

2009-09-24 Thread Robert Osfield
Hi John, I believe the problems you are seeing will probably not be related to the changes I've recently checked in w.r.t the texture pool. Have you had osgviewer and present3D working fine on this machine with these models/presentations before? What spec hardware (i.e. graphics card, CPU etc)

Re: [osg-users] [osgPlugins] Loading animation in OSG

2009-09-24 Thread Michael Platings
Hi Pradeep I have written an importer for the FBX format which supports animation. I've sent it to the submissions list so it's waiting review by Robert before it gets into the trunk, but you can get it and add it to your own version yourself. The email is Re: [osg-submissions] FBX plugin from the

Re: [osg-users] Paged LOD for osg terrain

2009-09-24 Thread Robert Osfield
HI Brett, On Thu, Sep 24, 2009 at 6:32 AM, Brett Thomas Lee brettle...@hotmail.com wrote: All I want is the technique description since there are lot of LOD techniques out there.Based on which technique is osg LOD is based on???Any papers?? PagedLOD is not based on any particular paper, and

Re: [osg-users] [osgPPU] resize osgPPU

2009-09-24 Thread Art Tevs
Hi Sebastian, seb wrote: ... When I use Processor::dirtyUnitSubgraph(), or Unit::dirty(), nothing happens, as you can see on the 1st pic, it has not resized my scene Ok, it seems I have to write a patch for osgppu to allow those methods to resize also all units. At least some global

[osg-users] osgWidget event handling question

2009-09-24 Thread Alexandre Amalric
Hi osg-users, I would like to know if there is a way to handle an event by a widget like a push event and tell other GUIEventAdapter to not handle it ? My goal is to have a widget with some matrix manipulators, but when I click on the widget area I don't want the matrix manipulators to handle

Re: [osg-users] osgWidget event handling question

2009-09-24 Thread Robert Osfield
Hi Alexandre, GUIEventHandlers are themselves responsible for deciding whether they want to handle an event that is already handled or not. In your can return true from your own handle() method or setting the handled flag on the event. Have a look at the ::handle(..) implementations in

Re: [osg-users] osgWidget event handling question

2009-09-24 Thread Alexandre Amalric
Hi Robert, Great it is exactly what I need, I just have to set _handled = true for the specified event, thank you. Kind regards, 2009/9/24 Robert Osfield robert.osfi...@gmail.com Hi Alexandre, GUIEventHandlers are themselves responsible for deciding whether they want to handle an event

Re: [osg-users] [osgPPU] resize osgPPU

2009-09-24 Thread Sebastien Nerig
Hi, no you are right, nothing is wrong, but I was just thinking the new viewport will automatically set the new camera aspect ratio I did it and that works good now here is my code Code: osg::ref_ptrosg::Viewport vp = new osg::Viewport(0, 0, width, height); double fovy; double aspect; double

Re: [osg-users] [build] OSG w. MSVC9 - osgUtil/TexturePoolSize compilation problem

2009-09-24 Thread Montgomery, John T.
Hi Robert, I agree that it has nothing to do with your recent changes. My suspicion is it has something to do with file i/o, or, if it's involved (?) - threading - and me having used a wrong version of something. What part of OSG/P3D handles the i/o? ( This is my home computer on which OSG

[osg-users] OpenCTM ?

2009-09-24 Thread Pierre Bourdin (gmail)
Hi All, has anybody heard or tested OpenCTM ? A file format and a software library for compressed 3D triangle meshes. http://openctm.sourceforge.net/?page=performance Cheers, Pierre. Pierre BOURDIN I.M.E.R.I.R. Av. Pascot BP 90443 66004 PERPIGNAN tél: 04 68 56 84

Re: [osg-users] osgOcean collision detection

2009-09-24 Thread Jan Ciger
Hello, Dimitrios Filiagos dfili...@yahoo.com wrote: Hi, is it possible to gain the information of a specific point (providing the x,y) on the ocean surface? Because I am using osgOcean on a project and I need to do some collision detection stuff. Thank you! Cheers, Dimitrios I

Re: [osg-users] osgOcean collision detection

2009-09-24 Thread Jean-Sébastien Guay
Hi Dimitrios and Jan, I have the same need. I was looking at the code and while the information is obtainable from the raw heightmap (there is even a convenient interpolation function for it), it is not exposed in the public API. I think you need to hack the osgOcean code and expose the

Re: [osg-users] [osgPPU] Using osgPPU

2009-09-24 Thread Hadrien Thomas
Hi art, Thank you for your answer. I did not success in installing the necessary plug-in to make a .ppu file. To answer to your question about the processor: it is a child of the root osg::Group and so is my quad. Since yesterday I minimalized my code and I have something working. Actually,

Re: [osg-users] [osgPlugins] new-bee question on mdl and md2 samples

2009-09-24 Thread Jason Daly
Pradeep Balasundaram wrote: Hi, Has anyone successfully used an the mdl and md2 plugins to introduce characters in to osg? If so, can I get an example project for the same? I appreciate any help extended. I don't know about .md2, but I do know that the full capabilities of character

Re: [osg-users] [osgPlugins] Loading animation in OSG

2009-09-24 Thread Cedric Pinson
Hi Pradeep, It's possible to export your data from blender with the osg exporter. It will export an osg file that will be work with the osganimationviewer. Of course if you use another tool, you will have to check the exporter. As Michael said it's possible with FBX not yet in the osg trunk. for

Re: [osg-users] Paged LOD for osg terrain

2009-09-24 Thread Chris 'Xenon' Hanson
Brett Thomas Lee wrote: Hi, All I want is to know how osg paged LOD is implemented. Yes, but thats a very broad question that would need a very extensive answer. Are there any papers or articles describing the technique or based on which papers is osg paged LOD implemented. Not

Re: [osg-users] [osgPlugins] Loading animation in OSG

2009-09-24 Thread Jean-Sébastien Guay
Hi Cedric, for more information check in this page http://www.openscenegraph.org/projects/osg/wiki/Community/NodeKits/osgAnimation This page would need some update, i am not able to edit it, do you know if something has changed about editing ? Silly question, are you logged in? I logged in

Re: [osg-users] [osgPPU] Using osgPPU

2009-09-24 Thread Art Tevs
Hi Thomas, carnibirdy wrote: Actually, it's not doing anything. It's supposed to pass through 4 units... UnitTexture-UnitInOut-UnitInOut-UnitInOut ... which does nothing! Of course, this will do nothing. You do not forward the output of the pipleine to the main screen. The way you

Re: [osg-users] Cut a surface

2009-09-24 Thread Pedro Xavier Contla
Hi, Thank s for the hints... I will do it. Pedro -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17628#17628 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [osgPlugins] Loading animation in OSG

2009-09-24 Thread Cedric Pinson
Hi Jean Sebastien, Yes i am looged and i dont see the edit button that why i asked if there is something i miss. Well, i will try maybe with a new account, maybe there is something changed since the migration... Thanks Cheers, Cedric - +33 659 598 614 Cedric Pinson

[osg-users] Rendering Optimizations Not Working

2009-09-24 Thread Brian R Hill
Folks, I'm rendering a scene with 3 different objects instanced 500 times each. When I run it in osgviewer is achieves 1000 hz, when I run it in a simple osgViewer::Viewer based app it runs at 1000 hz, when I run it in a more complex osgViewer::Viewer based app it runs at 30 hz. All the

Re: [osg-users] osgOcean collision detection

2009-09-24 Thread Jan Ciger
Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com wrote: I was planning on starting work on this kind of functionality soon. If you get to it before I do, you can send me the files with the modifications you needed to make to the API and I'll review the changes and merge them into the

[osg-users] keyboard differences between OSG 2.8.2 vs 2.8.1

2009-09-24 Thread Jim Brooks
Hi, On OSG 2.8.2, square brackets [] and parentheses() return the same values. OSG 2.8.1 returns different values as expected. Confirmed using my program and osgkeyboard. I'm using a USA keyboard on Debian 5 Lenny. -- Jim Brooks ___ osg-users mailing

Re: [osg-users] keyboard differences between OSG 2.8.2 vs 2.8.1 [patch]

2009-09-24 Thread Jim Brooks
Hi, Here's a fix for the keys '[' ']' never reaching a keyboard handler: src/osgViewer/GraphicsWindowX11.cpp _extendedKeymap[XK_bracketleft ] = '('; _extendedKeymap[XK_bracketright ] = ')'; _extendedKeymap[XK_bracketleft ] = '[';