Scrive Dirk Reiners <[EMAIL PROTECTED]>:

>
>       Hi Simon,
>
> Matthias Stiller wrote:
> > Hello Simon,
> >
> >> a simple question: i have a window with two viewports. i would like
> >> to use one viewport with GL_FILL and the other with GL_LINE. i
> >> already looked at RenderAction, but could not find the necessary
> >> functions.
> >
> > AFAIK this is not supported, you need to send some GL commands before
> > and after rendering to get the state right.
>
> I can't think of a simple way to do it.The easiest I can come up with is
> writing
> your own Window::renderAllViewports replacement and use GL functions to
> switch
> before drawing your viewports.


Wouldn't it be possible to use a MaterialGroup in the respective
viewports on top of the root scene with the PolygonChunk set
appropriately?

Regards,

   Toni

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to