Announcement

Collapse
No announcement yet.

Max script access to z-value channel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Max script access to z-value channel

    Hi everyone...

    I need to acces z-values of rendered image using max script. How can I do that?
    Is there some kind of max script reference for VRay?

    thanks for any help

  • #2
    I found this the other day. Not sure if this would help you but its worth looking at.

    http://www.cgplusplus.com/online-ref...ay-properties/

    Comment


    • #3
      Probably better off asking this on the Cgtalk Maxscript forum... It depends exactly what you need it for....

      If you just want to use the render element as a texture or something then you can access the renderelement tab and find the path.

      If you want to analyse the zdepth channel, sampling pixel values for instance, then you need to look into using GetPixels() You can combine this information with your camera transformation index and environmental ranges to get positions in world space if that's what you're after?
      Maxscript made easy....
      davewortley.wordpress.com
      Follow me here:
      facebook.com/MaxMadeEasy

      If you don't MaxScript, then have a look at my blog and learn how easy and powerful it can be.

      Comment


      • #4
        http://www.kxcad.net/autodesk/Autode...th_channel.htm

        Comment

        Working...
        X