227 reputation
211
bio website
location
age
visits member for 2 years
seen 3 hours ago

Oct
5
revised Rotating a child shape relative to its parent's orientation
added 777 characters in body
Oct
4
asked Rotating a child shape relative to its parent's orientation
Aug
31
accepted Converting world space coordinate to screen space coordinate and getting incorrect range of values
Aug
30
revised Converting world space coordinate to screen space coordinate and getting incorrect range of values
added 1869 characters in body
Aug
30
comment Converting world space coordinate to screen space coordinate and getting incorrect range of values
I'm using OpenGL with C++ and DirectX for C#. I am looking to understand why the projection is not working as expected. In this case it is not producing the range of values I would be expect while the object in question is moved around inside the view frustum.
Aug
30
comment Converting world space coordinate to screen space coordinate and getting incorrect range of values
If your object's WorldPosition is outside of the view frustum, its post-projective position won't be in the -1 to 1 range. I should state that I am moving the object around inside the view frustum and the values are not in range.
Aug
30
comment Converting world space coordinate to screen space coordinate and getting incorrect range of values
I've seen the XNA version via reflection and it pretty much does the same thing. It doesn't work either with my view * projection matrix.
Aug
30
revised Converting world space coordinate to screen space coordinate and getting incorrect range of values
edited tags
Aug
30
accepted My transparent objects overwrite opaque objects depth and always draw on top?
Aug
30
asked Converting world space coordinate to screen space coordinate and getting incorrect range of values
Aug
14
revised Deferred rendering with VSM - Scaling light depth loses moments
added 1128 characters in body
Aug
13
revised Deferred rendering with VSM - Scaling light depth loses moments
added 1537 characters in body
Aug
11
comment Deferred rendering with VSM - Scaling light depth loses moments
Thanks John but I had tried that before and it does not solve the problem.
Aug
11
comment Deferred rendering with VSM - Scaling light depth loses moments
Is it possible to determine the rescaling required from the code I have provided?
Aug
11
comment Deferred rendering with VSM - Scaling light depth loses moments
I've added the methods used for calculating for the moments.
Aug
11
revised Deferred rendering with VSM - Scaling light depth loses moments
added 1302 characters in body
Aug
10
awarded  Promoter
Aug
10
comment Deferred rendering with VSM - Scaling light depth loses moments
I've added the calculation for dist_to_light to the edit. The position variable is the homogenized position calculated above.
Aug
10
revised Deferred rendering with VSM - Scaling light depth loses moments
added 651 characters in body
Aug
9
revised Deferred rendering with VSM - Scaling light depth loses moments
deleted 109 characters in body