Hi Gerrit,

quick question: what is the difference between the "vpCamera" and 
"camera" matrices in DrawEnv [1]?
Some background: I'm kinda hoping that they can be (ab?)used to solve a 
little problem with the deferred shading stuff I'm working on:
When doing the shading passes there is an ortho camera active and I 
render a single quad, but I'd like to use LightChunk to transport 
information about the currently active light source to the shading 
shader. The problem is in LightChunk::activate where it computes the 
position of the light in eye coords, it uses DrawEnv::getCameraViewing() 
for the viewing matrix and that is the viewing matrix from the ortho 
camera ATM. Would that be a case that was supposed to be handled by the 
two sets of matrices in DrawEnv?

        Thanks,
                Carsten

[1] the only use I could find is in Billboard, but I could not guess the 
intentions behind it from that.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core

Reply via email to