PDA

View Full Version : transform to screen space in maya?


phildog
12-10-2006, 10:01 AM
Hi guys (and girls)

is there any way to query the screen or raster position of particles (or anything for that matter) at the time of rendering just like how renderman has screen space and NDC etc.

sorry if this has already been asked,

thanks

Phil

praetorian
12-11-2006, 11:56 AM
samplerInfo node has pixelCenterX pixelCenterY attrs.This can be usefull.
To normalise into [0-1] range divide it by rendering resolution. (ie: pixelCenterX / 720.0 pixelCenterY / 576.0)

phildog
12-11-2006, 09:13 PM
oh yeah *smacks head*

thanks pratorian!

CGTalk Moderation
12-11-2006, 09:13 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.