[osg-users] Help: many cameras are rendering at the same time or one by one?

2012-01-30 Thread wang shuiying

Hello,

My question might be silly, but I really want to know about that.

I wonder if there are many cameras (one main camera + many pre render 
cameras), will OSG (or grahic hardware) manage to make these cameras 
render one by one or  at the same time?


I have a programm concerning leveraging GPU parallelism capability, but 
I include many pre render cameras in it. So I would like to know how 
these cameras are managed.


Thank you in advance!

Shuiying


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


Re: [osg-users] Help: many cameras are rendering at the same time or one by one?

2012-01-30 Thread Chris 'Xenon' Hanson
On 1/30/2012 12:27 PM, wang shuiying wrote:
 I wonder if there are many cameras (one main camera + many pre render 
 cameras), will OSG
 (or grahic hardware) manage to make these cameras render one by one or  at 
 the same time?
 I have a programm concerning leveraging GPU parallelism capability, but I 
 include many pre
 render cameras in it. So I would like to know how these cameras are managed.

  I believe this is determined by osgViewer's threading model:

CullDrawThreadPerContext
CullThreadPerCameraDrawThreadPerContext
DrawThreadPerContext
SingleThreaded

etc.

 Thank you in advance!
 Shuiying


-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
There is no Truth. There is only Perception. To Perceive is to Exist. - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Help: many cameras are rendering at the same time or one by one?

2012-01-30 Thread Sergey Polischuk
Hi
If you have one graphics device and one graphics context - all cameras rendered 
one by one (i mean actual draw calls)

30.01.2012, 23:27, wang shuiying shuiying.w...@fu-berlin.de:
 Hello,

 My question might be silly, but I really want to know about that.

 I wonder if there are many cameras (one main camera + many pre render
 cameras), will OSG (or grahic hardware) manage to make these cameras
 render one by one or  at the same time?

 I have a programm concerning leveraging GPU parallelism capability, but
 I include many pre render cameras in it. So I would like to know how
 these cameras are managed.

 Thank you in advance!

 Shuiying

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