Re: [osg-users] Visualizing Terrain DB on web page

2009-08-18 Thread Adrian Egli OpenSceneGraph (3D)
www.3d.assoftware.ch 2009/8/9 Akilan akilan.thangam...@gmail.com Hi, I would like to visualize my terrain DB constructed using osgdem on web page? Could it be possible? Is there any plug-in to do so? Thank you! Cheers, Akilan -- Read this topic online here:

Re: [osg-users] Visualizing Terrain DB on web page

2009-08-18 Thread Adrian Egli OpenSceneGraph (3D)
Hi Akilan, Our Solution works under Firefox / IExplorer (Windows) and Safari (OSX), please contact me at adrian.egli (AT) gmail.com if you need further information about www.3d.assoftware.ch plugin. /Adrian 2009/8/18 Adrian Egli OpenSceneGraph (3D) 3dh...@gmail.com www.3d.assoftware.ch

[osg-users] [forum] Help to use osgViewer in MFC

2009-08-18 Thread Nguyen Cuong
Hi, I'm new mem, i have some problems that want suggetion. i use osg 2.8.2 in MFC viewer, in my scene, i have a root(osg::Group), and i can add object to root, remove all object in root(init scene again). but when i use removeChilden(0,root-getNumChildren()), my app run not well, some time it

Re: [osg-users] [forum] Help to use osgViewer in MFC

2009-08-18 Thread Ümit Uzun
Hi Nguyen; OpenSceneGraph has multithreaded structure on drawing, culling and some kind of operation and singleThreaded structure on update traversal. So if you want to add or remove some nodes from your scene graph you should do this operation any updating operation sector. For example you can

Re: [osg-users] Aligning Coordinate Systems

2009-08-18 Thread David Goering
Even after trying to search the archives I couldnt find anything that helps me understand the problem, if you know of any threads specifically I would be thankful for a link, thanks, David -- Read this topic online here:

Re: [osg-users] Aligning Coordinate Systems

2009-08-18 Thread J.P. Delport
Hi, OSG has a default up orientation, but that does not mean that it is fixed and inflexible. You can use whatever convention you choose. E.g. we work in a north-east-down coordinate system and just adjust OSG's manipulators so that -z is up. What is the convention used by your toolkit?

Re: [osg-users] Visualizing Terrain DB on web page

2009-08-18 Thread Pierre BOURDIN
Hi Adrian, 2009/8/18 Adrian Egli OpenSceneGraph (3D) 3dh...@gmail.com Hi Akilan, Our Solution works under Firefox / IExplorer (Windows) and Safari (OSX), please contact me at adrian.egli (AT) gmail.com if you need further information about www.3d.assoftware.ch plugin. I've just

Re: [osg-users] near far plane

2009-08-18 Thread Torben Dannhauer
Hi, I have the same problem and decided to choose the callback solution. My callback calculates( so far) useable values for near and far plane, but this values are completely ignored. My current (maybe wrong ;) ) implementation is: Code: double cloudNear, cloudFar;

[osg-users] Rendering forests

2009-08-18 Thread Sergey Kurdakov
Hi Peter you wrote === right now my idea is to figure out a way to create a way to create forest scenes for a project I'm working on, and use sort of a method of pre-rendering the scene, and then applying it in a way which would allow for at a certain altitude/distance and below, the

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Robert Osfield
Hi Guillaume, I'm sorry but your explanation doesn't mean anything to me, I just don't understand the problem you have that your are trying to solve. Please also remember the osgvolume example is just an code example, it's not a tool, you as programming will be using the osgVolume NodeKit, it's

Re: [osg-users] Need help regarding rendering to a texture

2009-08-18 Thread Robert Osfield
Hi Brett, Perhaps others can devine what is going wrong in your code, I'm afraid I have way too much of work backlog to go reviewing uncommented application code. If you want others to help you'll want to explain what you are trying to achieve, and what artifacts you are getting. Robert. On

Re: [osg-users] data sync between callbacks

2009-08-18 Thread Robert Osfield
Hi Rabbi, This is really a C++ issue, sharing data... callbacks others at the other end of the mailing list/forum don't have your code in front of them so It's next to impossible to know what you are doing wrong in your code. Could be a threading issue? Who knows? We certainly can't as

Re: [osg-users] 3D HUD Elements

2009-08-18 Thread Robert Osfield
Hi Jimmy, Good to hear you've got it working. One thing to watch is whether your callback is getting the current or previous frames view matrix. The viewer camera view matrix is updated in the update traversal, so if you want to be 100% sure of getting the correct view matrix then placing the

Re: [osg-users] Rendering forests

2009-08-18 Thread Robert Osfield
Hi Peter, I would are building your own data then you could probably leverage VirtualPlanetBuilder for generating the underlying geometry and imagery, then post process the tiles to insert the extra data, be that backing in forestry/etc. into the imagery at low levels of detail, or inserting

Re: [osg-users] Visualizing Terrain DB on web page

2009-08-18 Thread Akilan
Hi, I updated my firefox 3.0 with the patch given in the following link, http://3d.cineca.it/storage/OSG4Web_test/Windows/test.html . Still I couldn't open my osg file on firefox. Should I do anything more? Thank you! Cheers, Akilan -- Read this topic online here:

Re: [osg-users] transparent object sorting and back face culling

2009-08-18 Thread Andrew Thompson
Hi Paul, Cheers for your response, ok I missed that first time around, so it is possible, that's good, just not 100% sure on how you implemented it. One special case is in my system the transparent box is sort of a zone that the camera may move inside or outside. I need it to render properly

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Poirier, Guillaume
My question is: If I have 1024 slices as 1024 png image files, how do I load them in osgvolume ? Sorry this is trivial... Also I noticed a typo in osgvolume.cpp, REPLACE_ALPHA_WITH_LUMINANACE. cheers ! guillaume -Original Message- From: osg-users-boun...@lists.openscenegraph.org

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Robert Osfield
Hi Guiillaume, On Tue, Aug 18, 2009 at 2:52 PM, Poirier, Guillaumeguillaume.poir...@nrc-cnrc.gc.ca wrote: My question is: If I have 1024 slices as 1024 png image files, how do I load them in osgvolume ? Sorry this is trivial... osgconv --image *.png is how I'd do it... Also I noticed a typo

Re: [osg-users] Stereoscopy with Linearly polarized glasses

2009-08-18 Thread David Angelo
Hi folks, I tried the Linux-NVIDIA driver a few weeks ago and it did not support 3D Vision. Hardware: NVIDIA Quadro + Samsung 120Hz monitor. Thanks a lot for this info... Can you tell us more ? Was OSG QUAD_BUFFER stereo working ? The monitor doesn't have to be use with 3DVISION I

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Poirier, Guillaume
Thanks. The typos are on lines 687, 689, 695, and 930. guillaume -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: August-18-09 10:02 AM To: OpenSceneGraph Users Subject: Re:

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Robert Osfield
On Tue, Aug 18, 2009 at 3:40 PM, Poirier, Guillaumeguillaume.poir...@nrc-cnrc.gc.ca wrote: Thanks. The typos are on lines 687, 689, 695, and 930. And which version of the OSG are you talking about??? These line numbers don't make sense for the svn/trunk version. The best way to point to an

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Poirier, Guillaume
I got the source from http://www.openscenegraph.org/downloads/developer_releases/OpenSceneGrap h-2.8.2.zip In osgvolume.cpp. -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent:

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Robert Osfield
Hi Guillaume, Just to be clear, it looks to me that the typo was LUMINANACE (an extra A crept in) which should be LUMINANCE. Robert. On Tue, Aug 18, 2009 at 4:01 PM, Poirier, Guillaumeguillaume.poir...@nrc-cnrc.gc.ca wrote: I got the source from

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Poirier, Guillaume
Yes. I will be testing the osgVolume in the next couple days, this looks exciting :) cheers ! guillaume -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: August-18-09 11:11 AM To:

[osg-users] problem with empty osg::Program

2009-08-18 Thread Bob Youmans
Hi, i'm using an osg::Program containing some very simple shaders and i need to turn these shaders on off (back to fixed function pipeline). I read in the archives where the suggested approach to do this is to use an empty osg::Program. So, i have a callback that switches the program when

Re: [osg-users] transparent object sorting and back face culling

2009-08-18 Thread Paul Speed
As long as your shape is convex then you should always be able to draw the inside first... even with the camera inside. -Paul Andrew Thompson wrote: Hi Paul, Cheers for your response, ok I missed that first time around, so it is possible, that's good, just not 100% sure on how you

[osg-users] Update callback, convert from drawable to text causing intermitent segfault?

2009-08-18 Thread Kris Dale
Morning / afternoon / evening everyone! So I'll try to keep this brief enough to not be a drag to read through but detailed enough to be understandable. :) Here's a rundown of the situation. I've got a HUD with text writing the yaw and pitch of a constantly updating object. The HUD works

Re: [osg-users] 3D HUD Elements

2009-08-18 Thread Jimmy Lin
Hi Robert, Looking at the CompositeViewer::updateTraversal(), it seems the update callback is called before update the view matrix, which mean my slave camera is using master camera's previous view matrix. But I think it's allright in my case to have 1 frame out of sync. Just want to know if

[osg-users] Redirecting osg::notify

2009-08-18 Thread Chris Glasnapp
Hello, This is probably a C++ question, but maybe there is a way OSG makes it easier. I have an on screen event log that I'd like to use to display the various OSG notifications (i.e. osg::notify(osg::WARN) Danger Will Robinson!). Is there anyway to intercept these calls so I can write the

Re: [osg-users] Help to use osgViewer in MFC

2009-08-18 Thread Nguyen Cuong
Thanks for reply, i'll try your solution, but i think that isn't the best, too. And I wonder why sometime my program run so good(i can remove and add model on reder time)? I will post my result in soon, best regards, -- Post generated by Mail2Forum[/quote] --

[osg-users] Temporal Averaging

2009-08-18 Thread paul1492
I know I've asked similar questions before but now I'm looking to use OSG to perform temporal averaging differently than I've asked before. Is there a way to perform an update, cull and draw on only a sub part of the scene graph? I want to average (say) 16 successive frames. For example,frames

Re: [osg-users] Redirecting osg::notify

2009-08-18 Thread Martin Beckett
See http://forum.openscenegraph.org/viewtopic.php?t=2552 Cheers, Martin ps. sorry in a hurry, please reply if this doesn't answer question -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16404#16404