Re: Fwd: Projection Matrix

Michael Dürig <[email protected]> Fri, 01 Dec 2006 17:26:35 +0100
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>

Take a look at ChromiumParametervCR() with GL_SERVER_VIEW_MATRIX_CR and 
GL_SERVER_PROJECTION_MATRIX_CR. This is used to set view and projection 
matrices on remote viewports.

Michael

Daniel E. Shipton wrote:
> Pinging this list to see I can get a bite here. :)
> -D
> 
> ---------- Forwarded message ----------
> From: *Daniel E. Shipton* < [email protected] 
> <mailto:[email protected]>>
> Date: Nov 28, 2006 9:48 AM
> Subject: Projection Matrix
> To: [email protected] 
> <mailto:[email protected]>
> 
> Hi all,
> 
> I am trying to modify the GL stream that chromium is sending to the 
> render nodes to only modify the ModelView Matrix.  I override all the 
> usual suspects and don't allow calls to things like glViewport, glOrtho, 
> glMultMatrix(when not in ModelView), etc.  However, even with making all 
> of these calls as no-ops(which I verified with logging) the Projection 
> Matrix on the render nodes is still being affected.  I also looked at 
> crserverlib code and found it may have been setting up viewports in 
> there too...but I don't really know enough about how chromium sets up 
> remote viewport to intelligently mess with the code.  So, my question is 
> how does chromium set up the remote viewports and where do I need to 
> intercept those calls to make sure that the Projection Matrix is not 
> touched on render nodes.
> 
> -Dan
> 
> 
> -- 
> Daniel E. Shipton
> Software Engineer, Infiscape Corp.
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Chromium-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/chromium-dev


-------------------------------------------------------------------------
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