Re: [osg-users] txp database issue

2009-05-12 Thread Stephan Posch
Hi Robert,

I definitely understand not being able to see the issue.  I can see the issue 
and I'm having trouble figuring it out, so it may be a long shot getting 
anything here, but it's always worth a try!  The best way to describe it is 
that it looks like all 3 LODs just start paging nonstop...almost like it is 
changing LODs every frame.  In any case here is the other information I forgot 
last post:

1) DB is txp archived version 2.2
2) Culture is externally referenced
3) OSG version 2.8/XP/295GTX/VS2008/Release  RelWithDebInfo

Thank you!

Steve P.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=11893#11893





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] txp database issue

2009-05-12 Thread Stephan Posch
Robert,

Thanks for the ideas.  I've been thinking about the expiry scheme change as a 
possibility, so I'll look into that a bit more (though things have been mostly 
better for me since the change).  Now if I can only find those 2.6 binaries I 
have laying around somewhere...

Thanks again!

Steve P.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=11901#11901





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] txp database issue

2009-05-12 Thread Stephan Posch
Robert,

I dug up my 2.6.1 binaries and I can't reproduce the LOD craziness, though I do 
still see the highest LOD textures eventually go all white (which I'm guessing 
at this point is a texture memory issue).  Anyway, I'll dig further into it as 
the week progresses.

Thanks for your help!

Steve P.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=11921#11921





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] txp database issue

2009-05-12 Thread Stephan Posch
Ryan,

Thanks for the hint on the max number of lods.  I'll try that when I get back 
to this later in the week.  I've been back and forth trying to determine if it 
is the txp plugin or not.  That code hasn't really changed all that much in the 
past couple of years, but at the same time, there have definitely been changes 
made by the vendor to the DB creation tool...

Thanks,

Steve P.


Kawicki, Ryan H wrote:
 If you have suspicions that it might be related to the new expiry
 scheme, you can call DatabasePager::setTargetMaximumNumberOfPageLOD(0).
 This implies that you want to use the pervious system that was set in
 place.
 
 We've also seen this problem crop up, in our application and in
 osgViewer.  I've tried tracking it down, but have not had time.  I don't
 think it is related to the txp pluggin, but just now seeing your latest
 post, I could be wrong.  
 
 I was finally successful in getting a database that can be released to
 the community.  Once I do a final look through to make sure it can be
 released, I'll post a link to where it can be found.
 
 Ryan H. Kawicki
 The Boeing Company
 Training Systems  Services
 Software Engineer
 
 -Original Message-
 From: Stephan Posch [mailto:] 
 Sent: Tuesday, May 12, 2009 7:52 AM
 To: 
 Subject: Re:  txp database issue
 
 Robert,
 
 Thanks for the ideas.  I've been thinking about the expiry scheme change
 as a possibility, so I'll look into that a bit more (though things have
 been mostly better for me since the change).  Now if I can only find
 those 2.6 binaries I have laying around somewhere...
 
 Thanks again!
 
 Steve P.
 
 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=11901#11901
 
 
 
 
 
 ___
 osg-users mailing list
 
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
 g
 ___
 osg-users mailing list
 
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 
  --
 Post generated by Mail2Forum


--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=11928#11928





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] txp database issue

2009-05-12 Thread Stephan Posch
TerraVista, though I'm not sure what version it is off the top of my head.


Kawicki, Ryan H wrote:
 If you do not mind me asking, what tool are you using to generate your
 DBs?
 
 Ryan H. Kawicki
 The Boeing Company
 Training Systems  Services
 Software Engineer
 
 -Original Message-
 From: Stephan Posch [mailto:] 
 Sent: Tuesday, May 12, 2009 10:44 AM
 To: 
 Subject: Re:  txp database issue
 
 Ryan,
 
 Thanks for the hint on the max number of lods.  I'll try that when I get
 back to this later in the week.  I've been back and forth trying to
 determine if it is the txp plugin or not.  That code hasn't really
 changed all that much in the past couple of years, but at the same time,
 there have definitely been changes made by the vendor to the DB creation
 tool...
 
 Thanks,
 
 Steve P.
 
 
 Kawicki, Ryan H wrote:
 
  If you have suspicions that it might be related to the new expiry 
  scheme, you can call
  
 DatabasePager::setTargetMaximumNumberOfPageLOD(0).
 
  This implies that you want to use the pervious system that was set in 
  place.
  
  We've also seen this problem crop up, in our application and in 
  osgViewer.  I've tried tracking it down, but have not had time.  I 
  don't think it is related to the txp pluggin, but just now seeing your
  
 
 
  latest post, I could be wrong.
  
  I was finally successful in getting a database that can be released to
  
 
 
  the community.  Once I do a final look through to make sure it can be 
  released, I'll post a link to where it can be found.
  
  Ryan H. Kawicki
  The Boeing Company
  Training Systems  Services
  Software Engineer
  
  -Original Message-
  From: Stephan Posch [mailto:]
  Sent: Tuesday, May 12, 2009 7:52 AM
  To: 
  Subject: Re:  txp database issue
  
  Robert,
  
  Thanks for the ideas.  I've been thinking about the expiry scheme 
  change as a possibility, so I'll look into that a bit more (though 
  things have been mostly better for me since the change).  Now if I can
  
 
 
  only find those 2.6 binaries I have laying around somewhere...
  
  Thanks again!
  
  Steve P.
  
  --
  Read this topic online here:
  http://forum.openscenegraph.org/viewtopic.php?p=11901#11901
  
  
  
  
  
  ___
  osg-users mailing list
  
  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.
  or
  g
  ___
  osg-users mailing list
  
  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.
  org
  
  --
  Post generated by Mail2Forum
  
 
 
 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=11928#11928
 
 
 
 
 
 ___
 osg-users mailing list
 
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
 g
 ___
 osg-users mailing list
 
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 
  --
 Post generated by Mail2Forum


--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=11933#11933





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] txp database issue

2009-05-11 Thread Stephan Posch
Hey everyone,

I've been running into an issue with txp databases.  The problem is that after 
running for a while the LODs start switching in and out rapidly like the pager 
can't choose which ones to use.  Even when staying still in the scene the LODs 
continue to switch.  It drops framerate down to around 6.0 Hz and the 
statistics show somewhere between 100-150 ms times for GPU operations 
(update/draw/cull all look normal).  

I can't really say what exactly triggers it because the timing of it seems to 
be somewhat random.  Though it does seem to occur when externally referenced 
models in the DB have been paged out/in multiple times.  In addition, the 
highest LOD textures eventually lose all data and go all white.

Any insight would be helpful and much appreciated!

Thanks,

Steve P.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=11853#11853





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] TerraPage Paging Problem

2009-03-31 Thread Stephan Posch
I'm using an unarchived TerraPage DB that seems to never page out. 

Archived version 2.1  2.2 DBs seem to behave just fine.  Unarchived 2.1 DBs 
don't ever page out.  Unarchived 2.2 DBs don't even load (it blows up in the 
loader with a bad index into an array).

Has anyone else seen any of these issues related to unarchived DBs?

Thanks,

Steve

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=9509#9509





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [osgPPU] Retrieving an Image from osgPPU

2009-03-02 Thread Stephan Posch
Maybe I'm overlooking something simple, but I just don't seem to see it right 
off hand.  I'm using osgPPU to do multiple passes on a scene and I have the 
case where I need the result in two ways (I need both simultaneously):

1)  To the screen (done with UnitOut)
2)  To an osg::Image

Case #1 is obviously simple, but I'm having trouble with case #2.  I've tried 
writing a custom unit similar to that of UnitOutCapture without the save to 
disk, but the call to readImageFromCurrentTexture is extremely slow.  Is there 
a better way to do this?

Thanks,

Steve

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=7792#7792





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [osgPPU] Retrieving an Image from osgPPU

2009-03-02 Thread Stephan Posch
Thanks Art,

I'll take a look as time allows and see what I can do.

Steve

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=7795#7795





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [osgPPU] Multisampling/RenderBuffer Support

2009-02-24 Thread Stephan Posch
I don't see any support for using RenderBuffer attachments in the osgPPU code.  
I've used osgPPU for a few things here and there, but I'd really like to take 
advantage of the on card multisampling capabilities.  Is that something that 
will eventually be implemented?

Steve

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=7325#7325





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [osgPPU] Multisampling/RenderBuffer Support

2009-02-24 Thread Stephan Posch
Art,

From what I can tell, the multisampling capability already exists in OSG via 
the Camera's attach function.  However, when looking at the RenderStage code, 
you can see that a different FBO is created to handle the multisampled objects.

From runCameraSetup() in RenderStage.cpp:

fbo_multisample-setAttachment(buffer, 
 osg::FrameBufferAttachment(new osg::RenderBuffer( 
 width, height, internalFormat, 
 samples, colorSamples)));

When multisampling is specified in the camera, a different FBO is set up that 
specifically attaches to a RenderBuffer target (rather than directly to a 
texture).  I believe that internal FBOs in osgPPU would need to follow that 
same type of mentality.  

Does that help to clarify?

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=7339#7339





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [osgPPU] Multisampling/RenderBuffer Support

2009-02-24 Thread Stephan Posch
I believe I had tried using the bypasses unsuccessfully, but maybe I was 
missing something.  I'll look back at it and see what I can find.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=7345#7345





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org