Hi Olavo,
Olavo Belloc wrote:
> Hi Marcus,
>
> Thanks for your help, I will probably(almost sure) need it.. =)
>
> I was studying the viewport's implementation to introduce the
> activate()/deactivate() methods. These methods would set/unset the
> viewport settings (glViewport, glScissor, glDrawBuffer.. etc). Those
> will help to fix the stereo bug in a more clear way, for both BalancedMW
> and SortFirstW. However, by reading the code, I got some newbie questions:
>
> 1. In the PassiveViewport::draw() function, there is no
> "action->setTravMask(getTravMask());" like at the Viewport::draw()
> function. Why? Inst it necessary in this case? or its a bug? The same
> happens in the PassiveViewport::render() function.
Nope, that's a bug, thanks for spotting it!
> 2. Why do the viewport setup (glViewport,glScissor,...) was moved from
> the Viewport's ::render() function to the RenderAction::start() function?
I vaguely remember that the motivation was for looking into separating cull and
draw, which we never got around to for 1. So I think you can safely move that
back into the Viewport, and make it adhere nicer to your changes.
Gerrit, please correct me if you see something I'm missing.
> I would really appreciate some help on these questions.
Hope it helps and thanks for your help!
Dirk
-------------------------------------------------------------------------
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