Re: [osg-users] Textures swapping

2009-08-25 Thread Eric Pouliquen
Hi Robert, thanks for your answer, and sorry for this silly c++ question :-* Have to read more about these ref_ptr before looking for complicated reasons ! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16668#16668

[osg-users] Modeling particle systems for use in OSG applications

2009-08-25 Thread John Vidar Larring
Hi, This might be a bit of topic, but hopefully of interest to the osg-users list. Here's what we'd like to do: we'd like to contract a graphics designer to model/design several particle systems (or particle symbols, as we call them since they will be self contained and local particle

Re: [osg-users] Shadows Problem on vista

2009-08-25 Thread Danny Lesnik
Hi everybody, Thank you for reply. We are talking about 2 different laptops. One with Windows XP and second with Vista, both have latest ATI Rageon drivers. Thank you! Cheers, Danny -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16669#16669

Re: [osg-users] CompositeViewer-addView/removeView problem

2009-08-25 Thread Robert Osfield
Hi Jimmy, On Tue, Aug 25, 2009 at 6:55 AM, Jimmy Lindummy...@gmail.com wrote: I just found out when I create graphic context, if I don't set inheritedWindowData for the trait, then everything is ok. but if I use window form control's handle as inheritedWindowData and repeatly

Re: [osg-users] Modeling particle systems for use in OSG applications

2009-08-25 Thread Kim Bale
Hi John, I remember someone asking a similar question a while back and the suggestion was to use to the particle system designer that delta3d supplies: http://www.delta3d.org/filemgmt_data/files/Particle%20system.pdf I'm afraid I've not used it, so I can't say how good it is but I hope that

Re: [osg-users] Shadows Problem on vista

2009-08-25 Thread Ümit Uzun
Hi Danny; Problems not related OS most possibly. ATI card generally can produce shadow texturing coordinate incompatibility. So shadows interlacing each other or recieve on different surface which not related target cast model. Please try same code on popular NVidia graphics card. Regards.

[osg-users] Intersect.

2009-08-25 Thread Danny Lesnik
Hi, I'm trying to use intersect for primitive collision detection. I load one 3DS file into my scene and test whether this object has any intersections. The problem is following: Although ,there is only one object in my scene, I can clearly see that this object intersects with something.

Re: [osg-users] rendering to existing gtk window

2009-08-25 Thread Robert Osfield
Hi Vinay, I don't if it's a typo, of the code you are trying to use is exactly as you've set it, but you inhertiedWindwData is most definately wrong, it should something like: traits-inheritedWindowData = new osgViewer::GraphicsWindowX11::WindowData(m_hWnd); Note the inclusion of WindowData.

Re: [osg-users] Intersect.

2009-08-25 Thread Paul Melis
Danny Lesnik wrote: I'm trying to use intersect for primitive collision detection. I load one 3DS file into my scene and test whether this object has any intersections. The problem is following: Although ,there is only one object in my scene, I can clearly see that this object intersects with

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

2009-08-25 Thread Robert Osfield
Hi Tim, You really need to explain more what you mean by updates to a texture and in what way you are going about updating them. Without more info there is nothing others can really recommend. Robert. On Mon, Aug 24, 2009 at 8:23 PM, Tim Allenosgfo...@tevs.eu wrote: Hi, I am trying to

Re: [osg-users] How to handle multiple key press at once?

2009-08-25 Thread Robert Osfield
Hi Davide, The OSG's (and most window systems) provide events sequentially for cases where you press several keys at once. So what you'll get is separate calls for pressing and releasing of the different keys and you'll need to track which ones are pressed at any one time yourself. Robert. On

Re: [osg-users] Modeling particle systems for use in OSG applications

2009-08-25 Thread John Vidar Larring
Hi Kim, Thanks, I'll try it out straight away! This might just turn out to be the best Tuesday this week:) // John Kim Bale wrote: Hi John, I remember someone asking a similar question a while back and the suggestion was to use to the particle system designer that delta3d supplies:

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

2009-08-25 Thread Trajce Nikolov
Hello community, are you interested in opensource crossplatform DIS library? cheers, Nick http://www.linkedin.com/in/tnikolov Sent from Benoni, Gauteng, South Africa ___ osg-users mailing list osg-users@lists.openscenegraph.org

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

2009-08-25 Thread Maxim Gammer
Hi, what's wrong with CERTI or PORTICO? 2009/8/25 Trajce Nikolov nikolov.tra...@gmail.com Hello community, are you interested in opensource crossplatform DIS library? cheers, Nick http://www.linkedin.com/in/tnikolov Sent from Benoni, Gauteng, South Africa

[osg-users] texture to file

2009-08-25 Thread Peter Wraae Marino
Hi osgUsers, I have a question about texture to file. Currently I have render to texture (RTT) and would like to save this texture to a file. Is there a straight forward method of doing this? anyone? -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site

[osg-users] Keyboard scancodes in OSG

2009-08-25 Thread Maxim Gammer
Hi, how do we get a scancode of the pressed key in keyboard handler in OSG? -- Maxim Gammer ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] texture to file

2009-08-25 Thread Maxim Gammer
Hi... osg::ref_ptrosg::Image image = new osg::Image; image-readPixels. example if (osgDB::writeImageFile(*image,_filename)) { std::cout Saved screen image to `_filename` std::endl; } 2009/8/25 Peter Wraae Marino osgh...@gmail.com Hi osgUsers, I have a question about texture to

Re: [osg-users] texture to file

2009-08-25 Thread Peter Wraae Marino
Hi Maxim , I believe the readPixels is reading from the framebuffer and not the texture (or am I mistaken??) remember a RTT usually means I have 2 or more cameras in my scene... where one is used to do the RTT... so this can lead to a question how would osg::Image know which buffer to read from?

Re: [osg-users] texture to file

2009-08-25 Thread Rafa Gaitan
Hi Peter You can attach an image to the camera doing the rtt. osg::Image *image = new osg::Image; image-allocateImage(tex_width, tex_height, 1, GL_RGBA, GL_UNSIGNED_BYTE); // attach the image so its copied on each frame. camera-attach(osg::Camera::COLOR_BUFFER, image); Rafa. On Tue, Aug 25,

[osg-users] OSGViewer camera position and external data

2009-08-25 Thread Alex Malhao
Hi, When I load a map with OSGViewer the camera is positioned very far from the map. How can I change the initial position of the camera? There is one other question, how can I use external data (gamepad, wiimote, etc..) to make movements inside my osgViewer? Thank you! Cheers, Alex

Re: [osg-users] Intersect.

2009-08-25 Thread Danny Lesnik
Hi Paul, I just can't realize I have only one object its bs radius os 43. what is the object that I can intersect with on x =12,5? There supposed to be nothing. Thank you! Cheers, Danny -- Read this topic online here:

Re: [osg-users] Intersect.

2009-08-25 Thread Paul Melis
Danny Lesnik wrote: I just can't realize I have only one object its bs radius os 43. what is the object that I can intersect with on x =12,5? There supposed to be nothing. Thank you! The only suggestion I have is to check out what is really going on by writing a small OSG app that shows

Re: [osg-users] Jean-Sebastien Guay,kim in osgOCean application

2009-08-25 Thread osghxl
hi,Jean-Sebastien Guay,kim and others: sorry,we are in different time zones,it is difficult for me to keep online in touch with you. As you said ,i disable full screen and glare effect,and load spaceship.osg in osgOcean application.The transparent flame trail of spaceship is rendered

Re: [osg-users] Jean-Sebastien Guay,kim in osgOCean application

2009-08-25 Thread Kim Bale
Hi Houxl, I can't think of any reason why that would happen if all full screen effects are turned off. Could you post a screenshot of the artefact? Cheers. Kim. 2009/8/25 osghxl osg...@163.com: hi,Jean-Sebastien Guay,kim and others: sorry,we are in different time zones,it is difficult for

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

2009-08-25 Thread Tomlinson, Gordon
Have you tried ? Gordon Product Manager 3d __ Gordon Tomlinson Email : gtomlinson @ overwatch.textron.com __ -Original Message- From:

Re: [osg-users] Shadows Problem on vista

2009-08-25 Thread Tomlinson, Gordon
Same Graphics card/chip and same driver release Number ? Gordon Product Manager 3d __ Gordon Tomlinson Email : gtomlinson @ overwatch.textron.com __ -Original Message-

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

2009-08-25 Thread Tomlinson, Gordon
And don't forget HLA :) (http://en.wikipedia.org/wiki/High_Level_Architecture_(simulation)) as this has depreicated DIS for many :) Gordon Product Manager 3d __ Gordon Tomlinson Email : gtomlinson @ overwatch.textron.com

Re: [osg-users] Intersect.

2009-08-25 Thread Tomlinson, Gordon
I would suggest what I would in this case which is Step into the code and look at the triangles as they are tested etc and then you can see what's happening rather than play 50 guesses Gordon Product Manager 3d __ Gordon Tomlinson Email

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

2009-08-25 Thread Ralf Stokholm
Hi All If you need a distributed simulation based on OSG I can recommend Delta3d which has already integrated HLA RPRFOM (works with RTI-s MÄK Pitch Portico and CERTI) and also DIS based on OpenDIS. Brgs. Ralf Stokholm Arenalogic www.arenalogic.com 2009/8/25 Tomlinson, Gordon

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

2009-08-25 Thread Trajce Nikolov
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 simulation based on OSG I can recommend Delta3d which has already integrated HLA RPRFOM (works with RTI-s

Re: [osg-users] Intersect.

2009-08-25 Thread Paul Melis
Danny Lesnik wrote: Hi, I'm trying to use intersect for primitive collision detection. I load one 3DS file into my scene and test whether this object has any intersections. The problem is following: Although ,there is only one object in my scene, I can clearly see that this object intersects

Re: [osg-users] Intersect.

2009-08-25 Thread Danny Lesnik
Hi Paul, Thank you for your help. I think I understand now what LineSegmentIntersector is doing. What might be the correct approach to test wether bounding sphere intrsect with any other project? My idea is to move object with UpdateCallBack and stop movement if I have any other object on

Re: [osg-users] OSGViewer camera position and external data

2009-08-25 Thread Robert Osfield
Hi Alex, On Tue, Aug 25, 2009 at 11:43 AM, Alex Malhaofranciskovi...@gmail.com wrote: When I load a map with OSGViewer the camera is positioned very far from the map. How can I change the initial position of the camera? use the camera manipulator setHomePosition i.e.

Re: [osg-users] Intersect.

2009-08-25 Thread Paul Melis
Danny Lesnik wrote: Thank you for your help. I think I understand now what LineSegmentIntersector is doing. What might be the correct approach to test wether bounding sphere intrsect with any other project? That depends on how coarse/precise you want the intersections to be. Testing

Re: [osg-users] Intersect.

2009-08-25 Thread Maxim Gammer
For example, GIMPACT GIMPACT - very slow use BULLET physic + convex decomposition (BULLET example) 2009/8/25 Paul Melis p...@science.uva.nl Danny Lesnik wrote: Thank you for your help. I think I understand now what LineSegmentIntersector is doing. What might be the correct approach to test

Re: [osg-users] rendering to existing gtk window

2009-08-25 Thread Vinay Shah
Sorry, that was a typo. The computer my code is on isn't connected to the internet so I mistyped it as I rewrote it. So yes, I do have what you have written below. I have taken a look at the osgViewerMFC and didn't see anything else that I was missing. I will look into the osgviewerQT

[osg-users] .osg read and write confusion

2009-08-25 Thread Eric Pouliquen
Hi all, I've a problem to design a class which uses the plugin scheme to read and write custom data to/from .osg file. Let's imagine a simple class, which construct a small scenegraph in its constructor. When saving to .osg, OSG writes out logically this little scenegraph in the file, plus

[osg-users] dynamic QuadTree on spherical terrain

2009-08-25 Thread Eric Pouliquen
Hi all, I used a lot databases made with osgdem on spherical terrain. I'm wondering if there is something existing in osgTerrain to manage dynamic quadtree on such databases (I'm talking about geometry only) ? It could be a very good starting point to implement GPU CLOD texture algorithms to

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

2009-08-25 Thread Art Tevs
Hi Eric, there is a fresh paper about that, what you want to do: http://wwwcg.in.tum.de/Research/Publications/TerrainRayCasting Oh at least, I think this is what you want to do? Cheers, Art[/url] -- Read this topic online here:

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

2009-08-25 Thread Tim Allen
Hi Updating means i am changing the image in the texture. Thanks RegaRds, Tim. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16712#16712 ___ osg-users mailing list

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

2009-08-25 Thread Jason Beverage
Hi Eric, Are you talking about being able to generate the quadtree on the fly rather than preprocessing it? If so, then check out osgEarth ( http://www.osgearth.org), that's what it was made for :) Thanks, Jason On Tue, Aug 25, 2009 at 12:55 PM, Art Tevs arti_t...@yahoo.de wrote: Hi Eric,

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

2009-08-25 Thread Tomlinson, Gordon
Interesting paper Gordon Product Manager 3d __ Gordon Tomlinson Email : gtomlinson @ overwatch.textron.com __ -Original Message- From:

Re: [osg-users] How to handle multiple key press at once?

2009-08-25 Thread Davide Byron
ok i got the idea, thanks a lot for the quick answer :) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16716#16716 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] How to read big openscenegraph files?

2009-08-25 Thread Paul Martz
The problem is likely the size of the resulting scene graph, and therefore only indirectly related to the size of the actual .flt file. One problem I have noted with the .flt loader is that it always keeps the entire vertex palette in memory during a file load. This can consume a tremendous

Re: [osg-users] How to read big openscenegraph files?

2009-08-25 Thread Trajce Nikolov
Hi, can you tell more about the openFlight database? What was the tool to generate the file? Can you see something like master.flt among the files? Nick On Tue, Aug 25, 2009 at 9:44 PM, Paul Martz pma...@skew-matrix.com wrote: The problem is likely the size of the resulting scene graph,

Re: [osg-users] How to read big openscenegraph files?

2009-08-25 Thread Jolley, Thomas P
Hi Nick, You may want to search on master.flt in the mail archive. The first one that came up looks like it may help you. http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg05439.html Tom Jolley From: Trajce Nikolov

Re: [osg-users] How to read big openscenegraph files?

2009-08-25 Thread Trajce Nikolov
Hi Tom, that was what I was to propose to Colli, to convert the OpenFlight XRefs into PagedLODs. If there is a master.flt the database is probably coming from TerraVista and it has tiled structure. Colli, let me know if the posted link resolved your problem. OpenSceneGraph can render large

Re: [osg-users] How to read big openscenegraph files?

2009-08-25 Thread Colli Bann
Hi, i am sorry for not providing all informations! I was running osgconv on linux 11. The cpu tool over 90% and from memory over 90% as well, before it blew up with a bad alloc. I resized the swap space to over 20Gig, because i thought, that he had problem with memory allocation because it

Re: [osg-users] How to read big openscenegraph files?

2009-08-25 Thread Trajce Nikolov
Hi Colli, please post the master.flt. I have done this in the past, and yes, I have managed dbs larger then 6gb. I ll help you. it is trivial Nick http://www.linkedin.com/in/tnikolov Sent from Benoni, Gauteng, South Africa On Tue, Aug 25, 2009 at 10:50 PM, Colli Bann coli...@gmx.de wrote: Hi,

Re: [osg-users] How to read big openscenegraph files?

2009-08-25 Thread Brian R Hill
Use the source attached to this link. It should do what you want. http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg05445.html Brian This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in

Re: [osg-users] How to read big openscenegraph files?

2009-08-25 Thread Trajce Nikolov
this will work for some cases , not for all. All depends how TerraVista exported the database. As I can recall, there are several options for the origins. You might end up with matrix attached to the Xref nodes in the master file. But it is worth of giving it a try Nick

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

2009-08-25 Thread Tim Allen
Hi, The real problem im facing is when Im editing the images i am getting popping textures. Thank you! Cheers, Tim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16726#16726 ___ osg-users mailing

Re: [osg-users] How to read big openscenegraph files?

2009-08-25 Thread Brian R Hill
Hi Nick, It won't touch any nodes other than the externally referenced node/file. Check out the code, it's really pretty simple. Brian This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery.

Re: [osg-users] How to read big openscenegraph files?

2009-08-25 Thread Trajce Nikolov
Hi Brian, the code looks good and I like it. I am worried about cases where the tile placement is done via matrix in the xref file then compiled in place tiles. The pagedlod needs proper center and size (radius). In such a case where the origin is set as a Tile Origin (from the OpenFlight compiler

Re: [osg-users] nodemask or switch

2009-08-25 Thread Jim Brooks
When do I need a switch node if I have a nodemask? [..] Why - is there extra functionality from the switch, is there a limitation of the nodemask? The difference is in traversal of nodes. Switch nodes affect ALL traversals. Node/cull masks affect certain kinds of traversals. For example, if a

Re: [osg-users] How to read big openscenegraph files?

2009-08-25 Thread Trajce Nikolov
I mean matrix in the xref node ... there is a typo down there Nick http://www.linkedin.com/in/tnikolov Sent from Benoni, Gauteng, South Africa On Wed, Aug 26, 2009 at 12:13 AM, Trajce Nikolov nikolov.tra...@gmail.comwrote: Hi Brian, the code looks good and I like it. I am worried about cases

[osg-users] re :transparent objects render in osgOcean

2009-08-25 Thread osghxl
hi,kim ,Jean-Sebastien Guay and others: I have registered an account in forem,but the messages i sent is awaiting approval.So i post my reply by mailing list. in osgocean example ,i disable glare and dof false in ocean scene initialization. ...