I'm looking into writing mental ray phenomenon using SPDL. I found this old post: http://www.softimageblog.com/archives/105 which is great. However i didn't find how someone can declare an image reference in SPDL similar to how images are declared in .mi files.
Example for image deceleration in .mi:
Code: Select all
color texture "mentalrayTexture1" "D:/image.png"
shader "Image_Lookup" "mib_texture_lookup"
(
"tex" "mentalrayTexture1",
"coord" 0 0 0
)
Thanks!