Announcement

Collapse
No announcement yet.

SDK: extra outputs from texture plugin

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

  • SDK: extra outputs from texture plugin

    Hi

    I have written a plugin texture based on the vray_texacolor sample and would like to add extra outputs to the node. How do I add extra outputs and how do I write data to those outputs?

    On another note. When I try to animate or add an expression to an attribute on my node, it doesn't work when rendering an animation. It seems to only export a single value for the attribute. The attributes have been created with: "addParamFloat", do I need to do it differently? *EDIT*. I created a description file for the node and that seems to fix the animated attributes thing.

    --
    Jacob
    Last edited by jbvfx; 21-07-2014, 06:11 AM.
    Jacob Børsting
    Head of Pipeline @ Ghost VFX

  • #2
    Check the TexAColorOp texture which is in vray_texsampler. You can use addOutputParamTexture()/addOutputParamTextureFloat()/etc and inside their getTexColor()/getTexFloat/etc methods calculate the output.
    V-Ray/PhoenixFD for Maya developer

    Comment

    Working...
    X