Hi Tugkan,

On 2/2/07, Tugkan Calapoglu <[EMAIL PROTECTED]> wrote:
I played with osgviewer a little more today.

1- I have two screenshots which are taken with VSYNC enabled (85 Hz
refresh rate). Both of them are when the threding setting is
ThreadPerCamera. Normally Cull and Draw runs in parallel
threadpercamera1.png) but sometimes they become serial for some reason
(threadpercamera2.png). I think there are frequent frame drops and since
the stats are averaged (i guess) we see 75fps.

The stats frame rate are averaged.  To figure out the cause of going
serial I'll need to do some more testing.

2- I have run the osgproducerviewer and compared with osgviewer. With
osgproducerviewer cull and draw works far faster then osgviewer.(see
screenshot osgproducerviewer.png)

I have seen this as well when toggling between different threading
models.  Trying toggling to between SingleThreaded, ThreadPerContext
and ThreadPerCamera.

What I am seeing is that when cull and draw are happening at the same
time the times for each go up.  My guess is that the cores are
overwhelmed by the memory bandwidth needs that having both the cull
and draw work at the same time is causing.

Things like processor affinity can also have an effect.  I don't know
the status of Suse9.3 w.r.t support for processor affinity.


Another possiblity for a different is the slightly different view
point between the osgviewer and osgproduceviewer versions.

3- With osgviewer sometimes I get a flood of :

Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,)

It doesn't happen always and I don't know how I can reproduce it. It
doesn't seem to be position dependent. The town model I load is an IVE
file generated with OSG0.99. Maybe it is related to this?

I can't really speculate on the cause of this, could be database related.

4- Is 'f' key  is replaced with something else or not implemented yet? I
have a dual head config here. When osgviewer opens a window it makes it
full screen which has some problems about input in this configuration.
Window is opened only on the left screen but input acts as if it is only
the left half of the window ( for example in drive mode centered mouse
results in turning to left and mouse pointer on the right edge results
in driving straight ). This used to happen before and I could solve it
by pressing 'f' and then maximizing the window. I couldn't find a button
that has the same effect.

The osgviewer should be default open up across both heads,this is how
I'm using it everyday here.

How have you set up the dual head?  Is it TwinView?  Could you send me
you /etc/X11/xorg.conf.

I'm using dual head here but its two cards.

I'll configure my setup so I'm using TwinView.

5- Path saving ('z' key) is also not available. This was useful for
testing because it let us put the camera in the exact same location in
different runs. Is there a way to position the camera now?

Its on my todo list :-)

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to