What is the RI_NULL Renderman version for DAZ Script?
A call to Display in Renderman has the following structure:
RiDisplay("name.png"," png.dpy","rgb", ["token"], ["parameter"]);
where ["token"] and ["parameter"] are a list of parameters associated to the display " png.dpy"
The implementation in DazScript is:
Renderer.riDisplay( ".../name.png", " .../display/png.dpy","rgb",["token"], ["parameter"]);
But when there are no parameters Renderman uses the variable RI_NULL to replace the parameters list
RiDisplay("name.png"," png.dpy","rgb",RI_NULL);
In DAZscript code samples there is only the example including parameters. What is the equivalent of RI_NULL in DAZ Script?
an expression like RiDisplay("name.png"," png.dpy","rgb") leads to an error during execution parameters or null are mandatory.
I already read the DzScriptedRenderer page and I don’t get it.
Comments
Try RiDisplay("name.png"," png.dpy","rgb", [ "" ], [ "" ])
Saludos.
I Will try it.
¡Gracias!
It didn't works, I get an error. But using the default state of the display did the job:
var atTokens = ["string compression"];
var apParams = ["lzw"];
Renderer.riDisplay("name.png"," png.dpy","rgb", atTokens , apParams);