Genuinely not sure if this is Maya or Vray causing the crash, but posting here in case anyone else has experience of it.
I'm using an expression to control the line width of a toon shader, so the thickness is the same regardless of DPI changes. The expression bases the line width as a fraction of the pixel width of the rendered image.
ie:
this works perfectly for what I need. Or ..did work perfectly for my previous project
Now if I try to change the expression value I get an instant maya crash every time. .. Any suggestions are most welcome (!)
I'm using an expression to control the line width of a toon shader, so the thickness is the same regardless of DPI changes. The expression bases the line width as a fraction of the pixel width of the rendered image.
ie:
Code:
VRayToon3.lineWidth=(vraySettings1.width * 0.0041);
Now if I try to change the expression value I get an instant maya crash every time. .. Any suggestions are most welcome (!)
Comment