Re: [osg-users] I want to know the time of rendering.

2012-06-27 Thread J.YoungStone
Hi, Robert, Sebastian First, I'm sorry about my ambiguous questions because of lack of my English proficiency. :( But Sebastian seems to be noticing the point of my question. To summarize my question once again, I want to compare the rendering time( Time of first loading the model on viewer)

Re: [osg-users] I want to know the time of rendering.

2012-06-27 Thread Robert Osfield
Hi Jerome, On 27 June 2012 02:05, J.YoungStone jer...@cybermed.co.kr wrote: I want to compare the rendering time( Time of first loading the model on viewer) when loading model using 'osg::Node' type and 'osg::ProxyNode' type. Nodes don't get rendered so you can't measure how long they take

Re: [osg-users] I want to know the time of rendering.

2012-06-27 Thread YoungStone, Jeong
Hi, Robert I got what you mean to some extent. Maybe I need deep learning of OSG. And later, I will ask you about related issues. Thank you for your interest in my topic. :) ... Thank you! Cheers, YoungStone, -- Read this topic online here:

Re: [osg-users] I want to know the time of rendering.

2012-06-26 Thread J.YoungStone
I think I mean what you said ( almost exactly ). Specifically, I want to compare common node and proxy node. Namely, I want to compare the code above and the code below. Code: #include osg/ProxyNode #include osgViewer/Viewer int main( int argc, char** argv ) {

Re: [osg-users] I want to know the time of rendering.

2012-06-26 Thread Robert Osfield
Hi Jarome, I don't really know what you are actually asking. First you asking about time of rendering, now you want to compare nodes, but don't specify how you want to compare them. There is no way I or anyone else can provide an answer. Robert. On 26 June 2012 00:40, J.YoungStone

Re: [osg-users] I want to know the time of rendering.

2012-06-26 Thread Sebastian Messerschmidt
Robert, Jarome I guess Jarome wants to compare the rendering time (i.e. time for rendering one frame) with the scene containing the first node type vs. the scene containing the second node type. Unfortunately I cannot help here directly, but I know that there is a kind of Stats object (used

[osg-users] I want to know the time of rendering.

2012-06-25 Thread J.YoungStone
Hi, nice to meet you all. I'm beginner in OSG. I'm reading OpenSceneGraph 3.0 Beginner's Guide and practicing the example in this book. Here are very simple example. #include osgDB/ReadFile #include osgViewer/Viewer Code: int main( int argc, char** argv ) { osg::ref_ptrosg::Node root

Re: [osg-users] I want to know the time of rendering.

2012-06-25 Thread Robert Osfield
Hi Jerome, When you say you want to know the time of rendering, do you mean the time in seconds since the start of the viewers frame loop? Time of day? Also how do you want to use the time? This is important to know as depending upon what task you have there are different ways to get the time