[osg-users] Win32 Static linking with OSG 1.1?

2006-07-21 Thread Chris Hanson
I just updated to the latest CVS of the whole OSG/OT/OP trio and rebuilt my app. It's now crashing prior to hitting main, presumably in some startup or global object init stage. I've been going through the usual hunting for stale objects and rebuild all process, but I haven't found anything br

Re: [osg-users] Database pager

2006-07-21 Thread Chris Hanson
Rafa Gaitan wrote: Maybe experts can help you better but as I know the DatabasePager is a Thread that collects all PagedLOD nodes in the scene graph.. unloading from memory when has expired his time. Also helps you to load nodes new PagedLOD nodes without stall rendering... For example osgdem

[osg-users] OpenSceneGraph BOF

2006-07-21 Thread Robert Osfield
Hi All, I have just added details on the OSG BOF at Siggraph to the openscenegraph.org front page, fingers crossed it is correct. Please ammend if there is any mistakes. http://www.openscenegraph.org Cheers, Robert. ___ osg-users mailing list osg-u

Re: [osg-users] strange huge memory consumption when using HUD

2006-07-21 Thread Stephan Huber
Sorry, missed the right button. To continue my own mail, Stephan Huber schrieb: For Mac OS X there is one with your developer tools, ... called mallocDebug, on windows I used the trial version of Memory validator but there seems to be mo

Re: [osg-users] Two independent cameras

2006-07-21 Thread Robert Osfield
On 7/21/06, Oliver Kutter <[EMAIL PROTECTED]> wrote: The simple question first: 1. When I move a scene in the viewer, do I rotate the scene or its camera? Do both and get totally confused :-) I tend to set up camera manipulators so that all the key variables are in world coordinates and manipu

[osg-users] Two independent cameras

2006-07-21 Thread Oliver Kutter
Hi, I have some questions conserning the camera handling: The simple question first: 1. When I move a scene in the viewer, do I rotate the scene or its camera? Now for the real question: 2. I have the following situation: I want to look at a scene at the same time from different positions (cam

Re: [osg-users] strange huge memory consumption when using HUD

2006-07-21 Thread Stephan Huber
Yanling Liu schrieb: Hi, my HUD was find with OSG 1.0 except have to set DO_NOT_COMPUTE_FAR_NEAR. After switch to OSG 1.1, my HUD becomes a black screen and there is huge memory consumption (eat 40MB approximately every one second and keep eating). Perhaps you can use a memory debugger to fin

Re: [osg-users] strange huge memory consumption when using HUD

2006-07-21 Thread Robert Osfield
HiYanling, On 7/21/06, Yanling Liu <[EMAIL PROTECTED]> wrote: Hi Robert, I have added flushDeletedGLObjects as this: m_sceneView->PreRenderProcess(); m_sceneView->RenderScene(); double time = 1.0; m_sceneView->flushDeletedGLObjects(time); m_pGLCanvas->swapBuffers(); Still

RE: [osg-users] Perspective Tricks

2006-07-21 Thread Argentieri, John-P63223
Title: Perspective Tricks Thanks Corbin. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Holtz, Corbin LSent: Friday, July 21, 2006 3:39 PMTo: osg usersSubject: RE: [osg-users] Perspective Tricks Take a look at the AutoTransform node.  I believe it has an auto-scaling mode

RE: [osg-users] Perspective Tricks

2006-07-21 Thread Holtz, Corbin L
Title: Perspective Tricks Take a look at the AutoTransform node.  I believe it has an auto-scaling mode that can be set to screen-size.   Corbin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Argentieri, John-P63223 Sent: Friday, July 21, 2006 2:27 PM To: osg

[osg-users] Perspective Tricks

2006-07-21 Thread Argentieri, John-P63223
Title: Perspective Tricks Hello Again. Does anyone know of any neat perspective tricks I can use to make a certain group of objects appear as the same size no matter how far away they are? Any ideas are greatly appreciated. Thanks, John ___ o

Re: [osg-users] distorted text in OSG 1.1 using SCREEN_COORDS size mode

2006-07-21 Thread Bunfield, Dennis AMRDEC/Davidson
Hi Robert, Thanks for the quick reply. Attached is the modified osgtext example I made to show you the scaling text problem. Thanks, Dennis Re: [osg-users] distorted text in OSG 1.1 using SCREEN_COORDS size mode * This message: [ Message body

Re: [osg-users] Database pager

2006-07-21 Thread Rafa Gaitan
Maybe experts can help you better but as I know the DatabasePager is a Thread that collects all PagedLOD nodes in the scene graph.. unloading from memory when has expired his time. Also helps you to load nodes new PagedLOD nodes without stall rendering... For example osgdem creates a PagedLOD datas

Re: [osg-users] strange huge memory consumption when using HUD

2006-07-21 Thread Yanling Liu
Hi Robert, I have added flushDeletedGLObjects as this:    m_sceneView->PreRenderProcess();    m_sceneView->RenderScene();    double time = 1.0;    m_sceneView->flushDeletedGLObjects(time);     m_pGLCanvas->swapBuffers();Still, black screen with keep growing memory consumption.On 7/21/06, Robert Osf

Re: [osg-users] strange huge memory consumption when using HUD

2006-07-21 Thread Yanling Liu
Thanks Robert, I still feel strange because I created HUD only once and no deletion at all. Also I did not load any data into my scene. The only thing needs to be draw is the HUD. I wonder where is deleted GL objects at all. I have tried to disable HUD and loaded some data into my scene. Everything

[osg-users] Help creating flat version of OSGdem

2006-07-21 Thread Philppe Collat
Hi I am trying to create a flat 2d version of osgdem and its capabilities.  I have managed to leave the geocentric option out and get various versions of the flat earth.osga.  I am able to get flat versions of the imagery pieces as well by using this command below...   osgdem -t geotiff.tif output

Re: [osg-users] Textured Geode and Lighting

2006-07-21 Thread Robert Osfield
On 7/21/06, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote: Robert, I am not familiar with the way normals are set. In fact, I have not explicitly set any normals at all. From what you are saying, it sounds like the normals on the outer surface of my globe would be exactly what one would expe

Re: [osg-users] OpenSceneGraph-1.1 Release

2006-07-21 Thread Robert Osfield
On 7/21/06, Radu Mihai <[EMAIL PROTECTED]> wrote: If there is an old news item in french that I can start with for the translation, i could try to get a french version of the news (my french grammar ain't perfect) for http://linuxfr.org There isn't any translation I'm aware of. To help things

RE: [osg-users] Textured Geode and Lighting

2006-07-21 Thread Argentieri, John-P63223
Robert, I am not familiar with the way normals are set. In fact, I have not explicitly set any normals at all. From what you are saying, it sounds like the normals on the outer surface of my globe would be exactly what one would expect when standing on the surface. How can I create normals that co

[osg-users] Database pager

2006-07-21 Thread Mustafa
Is there any detailed information about database pager? what is the difference of the OSG viewer with and without it? any reference explaining this concept welcome. BR Send instant messages to your online friends http://uk.messenger.yahoo.com ___ osg-

Re: [osg-users] OpenSceneGraph-1.1 Release

2006-07-21 Thread Radu Mihai
Have the same behavior with OSG 1.0 Universal, and I submitted a bug- report to apple: Bug ID# 4643964 Strange thing is, I remember having OSG 1.0 work a couple of months ago, around April I'll try to build the latest CVS with Xcode & see how far I get. On the Linux front, OSG 1.1 works on

Re: [osg-users] OpenSceneGraph-1.1 Release

2006-07-21 Thread Radu Mihai
If there is an old news item in french that I can start with for the translation, i could try to get a french version of the news (my french grammar ain't perfect) for http://linuxfr.org -- Radu Mihai [EMAIL PROTECTED] On 21-Jul-06, at 10:32 AM, Robert Osfield wrote

Re: [osg-users] can't set tank rotation to world normals ( follow terrain )..

2006-07-21 Thread Ulrich Hertlein
[EMAIL PROTECTED] wrote: Thanks Ulrich, that helps. My problem now is how to find the terrain normal , any hint ? That depends greatly on the way your terrain is stored. If you have a mesh/geometry you could use the IntersectVisitor and shoot straight down from your current position.

Re: [osg-users] Textured Geode and Lighting

2006-07-21 Thread Robert Osfield
On 7/21/06, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote: Yes, I generated the database with osgdem. The geode construction is done in a routine that I wrote. Its geometry is a single triangle strip that starts left-to-right at the top row, sends the last vertex in that row again, then right

RE: [osg-users] Textured Geode and Lighting

2006-07-21 Thread Argentieri, John-P63223
Yes, I generated the database with osgdem. The geode construction is done in a routine that I wrote. Its geometry is a single triangle strip that starts left-to-right at the top row, sends the last vertex in that row again, then right-to-left in the bottom row, etc. It is a grid so there are severa

Re: [osg-users] OpenSceneGraph-1.1 Release

2006-07-21 Thread Robert Osfield
Hi All, Most of the sites listed on the SpreadTheNews page have now be conatacted with the release news. However, there a number of sites that require non english language sites that I'm afraid I can't grapple how to translate for. So if you not so linguistically challanged as I, then please ha

Re: [osg-users] Textured Geode and Lighting

2006-07-21 Thread Robert Osfield
Looks like the normals are reversed for some reason on the insert. How did you generate the database? osgdem? On 7/21/06, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote: Hi Robert. I owe you one. Here are two screens. The problem is most noticable as the map goes from positive to neg

Re: [osg-users] can't set tank rotation to world normals ( follow terrain )..

2006-07-21 Thread gbetti
mail.it/f Sponsor: Refill s.r.l. - Cartucce compatibili e kit di ricarica per tutti i modelli di stampante. Acquista al telefono o online: consegna in tutta Italia in 48 ore! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5190&d=20060721

Re: [osg-users] Textured Geode and Lighting

2006-07-21 Thread Robert Osfield
Hi John I have a number of datasets that fit what you have done but haven't noticed any significant issue with difference in lighting. Could you provide a screenshots? Robert. On 7/21/06, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote: Hello All. I am using a bluemarble paged database

[osg-users] Textured Geode and Lighting

2006-07-21 Thread Argentieri, John-P63223
Title: Textured Geode and Lighting Hello All. I am using a bluemarble paged database of the globe that I created, and over top of it creating a geode with map data image textured to it. It works very well thanks to all the help that I've received, but there is one remaining issue. The geode

Re: [osg-users] Re: clipNode

2006-07-21 Thread Robert Osfield
On 7/21/06, David Johansson <[EMAIL PROTECTED]> wrote: > > Hi Robert, thanks for the reply! > > > > Is this an OpenGL limitation or OSG limitation? (could it be fixed?) > > Both. Ok, so i guess i might have to re-think all this then. Positional state is an akward one, unlike normal OpenGL state

Re: [osg-users] Re: clipNode

2006-07-21 Thread David Johansson
> Hi Robert, thanks for the reply! > > Is this an OpenGL limitation or OSG limitation? (could it be fixed?) Both. Ok, so i guess i might have to re-think all this then. > How can i set these "clip plane numbers"? Just, see include/osg/ClipPlane. I've been looking there before for something

Re: [osg-users] write node to flt file

2006-07-21 Thread Robert Osfield
On 7/21/06, Benoît Poulard <[EMAIL PROTECTED]> wrote: Is it possible with OSG to write a node into a flt file No. Or must I develop the writter for this format? Yes. Others have through own FLT writers but these are all propropriatory I'm afraid. Robert. __

Re: [osg-users] can't set tank rotation to world normals ( follow terrain )..

2006-07-21 Thread Ulrich Hertlein
[EMAIL PROTECTED] wrote: I am trying to have the tank following terrain in a simple application following tutorial on NPS site. The problem I have is that while tank moves with right height from terrain trough an intersectVisitor I can't get it to follow terrain ondulation ( setAttitude ).. Is th

[osg-users] write node to flt file

2006-07-21 Thread Benoît Poulard
Hi, Is it possible with OSG to write a node into a flt fileOr must I develop the writter for this format?thank'sBen ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/

Re: [osg-users] Re: clipNode

2006-07-21 Thread Robert Osfield
On 7/21/06, David Johansson <[EMAIL PROTECTED]> wrote: Hi Robert, thanks for the reply! Is this an OpenGL limitation or OSG limitation? (could it be fixed?) Both. How can i set these "clip plane numbers"? Just, see include/osg/ClipPlane. ___ osg-

Re: [osg-users] Re: clipNode

2006-07-21 Thread David Johansson
Hi Robert, thanks for the reply! Is this an OpenGL limitation or OSG limitation? (could it be fixed?) How can i set these "clip plane numbers"? MVH David Johansson On 7/21/06, Robert Osfield <[EMAIL PROTECTED]> wrote: Hi David, The is a restriction in the OSG w.r.t management of positional s

Re: [osg-users] strange huge memory consumption when using HUD

2006-07-21 Thread Robert Osfield
Hi Yanling, There won't be a problem with CameraNode's and display lists, the two are totally orthogonal. Do you have a custom viewer? If so are flushing delete OpenGL objects on each frame? If not then you need to call : sceneView->flushDeletedGLObjects(double& availableTime); Where avail

Re: [osg-users] ControlPoint doesnt have a copy operator

2006-07-21 Thread Robert Osfield
On 7/21/06, Mustafa <[EMAIL PROTECTED]> wrote: Hi Robert, I noticed that osg::AnimationPath::ControlPoint doesnt have a copy operator something like: AnimationPathCallback(const AnimationPathCallback& apc,const CopyOp& copyop): And... What is the problem? Its not appropriate to pass in Co

[osg-users] ControlPoint doesnt have a copy operator

2006-07-21 Thread Mustafa
Hi Robert, I noticed that osg::AnimationPath::ControlPoint doesnt have a copy operator something like: AnimationPathCallback(const AnimationPathCallback& apc,const CopyOp& copyop): BR Send instant messages to your online friends http://uk.messenger.yahoo.com __

Re: [osg-users] Animation path dynamic control point

2006-07-21 Thread Robert Osfield
Hi Mustafa, On 7/21/06, Mustafa <[EMAIL PROTECTED]> wrote: I have created an animationpath and inserted some control points. 1) Now I want to delete some of the control points? there is no delete method, but used ControlPointMap do delete. Is it the right way? I have never tried to delete Con

[osg-users] Animation path dynamic control point

2006-07-21 Thread Mustafa
I have created an animationpath and inserted some control points. 1) Now I want to delete some of the control points? there is no delete method, but used ControlPointMap do delete. Is it the right way? 2) Also I tried to modify the time values in the ControlPointMap. Above two operation is succ

Re: [osg-users] distorted text in OSG 1.1 using SCREEN_COORDS size mode

2006-07-21 Thread Robert Osfield
Hi Dennis, I did actuall merge a fix for scaling of screen space text, this is probably the most likely change that would affect things between 1.0 and 1.1. Have a look at OpenSceneGraph viewcvs. Could you post a complete modified osgtext so I can test it at my end. Robert. On 7/20/06, Bunfie

Re: [osg-users] osgspheresegment (was Re: OpenSceneGraph-1.1 Release Candidate 3 uploaded)

2006-07-21 Thread Robert Osfield
On 7/21/06, E. Wing <[EMAIL PROTECTED]> wrote: I think its a bug. The places where the footprints are left don't seem to be consistent for me and they don't seem to follow any intuitive pattern. The intersections are just left after a certain number of frames that that the app has run, they won

Re: [osg-users] Re: clipNode

2006-07-21 Thread Robert Osfield
Hi David, The is a restriction in the OSG w.r.t management of positional state like clip planes, eye linear texgen and lightsources. This restriction is that each RenderStage can only have each clip plane/texgen/light source in once place at one time, if you have mulitple positions for a clip pl

Re: [osg-users] Regarding making a leverage or hole to a face of cube

2006-07-21 Thread Robert Osfield
Hi Tirumulesh, Have a look at the osggeometry and osgtesselate examples. Robert On 7/20/06, TIRUMALESH CHINTAMANI <[EMAIL PROTECTED]> wrote: Hi all, I am working on OSG to make a scene where in a face of cube has a hole in it. But not able to figure out..how to design it. I was thinking to