On 2010-06-06 19:26, Ria Müller wrote:
> Hi Carsten, hi Yvonne
>
> thanks for your answers.
> I have a NVIDIA GeForce 7900 GTX.
> It supports MRT's, so I guess it supports render targets with diffrent
> bit per fragment.

Careful. This not something you can assume so easily. Many of the early 
MRT-supporting implementations only support the same number of bits on 
all RT's.

(The 7900 is a rather old card, so my guess that it does _not_ support 
different bit-depths when doing MRT rendering... Look it up on the internet)

> I'm sorry when I ask a stupid question, but I have never rendered twice
> in OpenSG before.
> Maybe you know an example how to do that?

You add two ViewPorts on the same Window, where the first has a 
GrabTextureForeground (or is a FBOViewport, which is faster). You can 
then use the grabbed texture in the second viewport's scene.

Cheers,
/Marcus


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to