qdtk / openshadinglanguage

Automatically exported from code.google.com/p/openshadinglanguage
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

implement NDC transform - or means to query info from Render Camera #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The projection shader offers NDC projection.

According to the docs 'NDC' is a valid geometric space, yet transform( 
'common', 'NDC', point ) 
only yields:

[osl-core] Could not get matrix 'NDC'

Alternatively I could get by if I could query information from the current 
render camera.
Arnold allowed to query the render camera from the globals. Or provided 
'sg->sx' and 'sg->sy'.

11/19/09 22:56:07 changed by lg ¶

We definitely need to make transform() (on the Arnold side) aware of "NDC" and 
"screen" space. 
Bumping up in priority.

Original issue reported on code.google.com by rene.lim...@gmail.com on 11 Jan 2010 at 6:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by rene.lim...@gmail.com on 23 Feb 2010 at 6:33