Re: [osg-users] OSG Input Event System

2010-10-02 Thread Werner Modenbach
Hi Robert, thanks for your excellent support here on the list. You explaned the event input system very clearly and I enjoy getting a better overview on osg. Can you please give a compareable short explanation on how frame() calls are generated and what happens inside then? The background of my

Re: [osg-users] OSG Input Event System

2010-10-02 Thread Robert Osfield
Hi Werner, If you have questions on a separate topic please use a separate thread. Robert. On Sat, Oct 2, 2010 at 7:47 AM, Werner Modenbach werner.modenb...@texion.eu wrote: Hi Robert, thanks for your excellent support here on the list. You explaned the event input system very clearly and I

[osg-users] osgViewer::frame() CPU cost (was: OSG Input Event System)

2010-10-02 Thread Alberto Luaces
Changing the subject since this is a different topic. Werner Modenbach writes: Can you please give a compareable short explanation on how frame() calls are generated and what happens inside then? The background of my question is the behaviour and the experience I got with Qt Adapterwidget.

Re: [osg-users] osgViewer::frame() CPU cost (was: OSG Input Event System)

2010-10-02 Thread Werner Modenbach
On Saturday 02 October 2010 11:52:08 Alberto Luaces wrote: Changing the subject since this is a different topic. Sorry, was by accident. Werner Modenbach writes: Can you please give a compareable short explanation on how frame() calls are generated and what happens inside then? The

Re: [osg-users] How to calculate screen coordinates

2010-10-02 Thread Tim Moore
On Sat, Oct 2, 2010 at 4:47 AM, Oliver Burtchen o.burtc...@gmx.de wrote: Hello at all, I'm currently working on frustum-culling for a roam-algorithm-implemetation. Maybe someone can give me a hint what I'm missing to nail my problem down. I want to calculate the x,y-coordinates for a

Re: [osg-users] osgViewer::frame() CPU cost

2010-10-02 Thread Alberto Luaces
Werner Modenbach writes: On Saturday 02 October 2010 11:52:08 Alberto Luaces wrote: Changing the subject since this is a different topic. Sorry, was by accident. Werner Modenbach writes: Can you please give a compareable short explanation on how frame() calls are generated and what

Re: [osg-users] osgViewer::frame() CPU cost

2010-10-02 Thread Alberto Luaces
Alberto Luaces writes: In order to have a clearer lecture of what means every OSG traversal, I recommend you to read the OSG's Quick Start Guide: Sorry, I meant http://www.skew-matrix.com/OSGQSG/ -- Alberto ___ osg-users mailing list

Re: [osg-users] osgViewer::frame() CPU cost

2010-10-02 Thread Jean-Sébastien Guay
Hi Werner, Alberto said: This is the common scenario for realtime applications. On the other side for GUI applications, usually the scene is static until the user does something. In that case, you only call frame() after keyboard, mouse, redraw events... and you save all that redundant

[osg-users] pushing bytes back to ifstream?

2010-10-02 Thread Thomas Dickerson
I'm sorry if this is something that I should know, but osg::ifstream doesn't seem to have any way of peeking at the next byte or reading/pushing back a byte. I am attempting to implement a platform agnostic readLine() method that can handle \r\n, \r, or \n. Is there a wrapper class I should be

Re: [osg-users] How to calculate screen coordinates

2010-10-02 Thread Oliver Burtchen
Hi Tim, many thanx for the answer! Dividing the vector by w was the hint I needed. Now it works. Best regards, Oli Am Samstag, 2. Oktober 2010, 13:13:35 schrieb Tim Moore: On Sat, Oct 2, 2010 at 4:47 AM, Oliver Burtchen o.burtc...@gmx.de wrote: Hello at all, I'm currently working on