SPDL Phenomenon

Discussions concerning programming of SOFTIMAGE©
homam
Posts: 50
Joined: 16 Mar 2013, 22:15
Location: Montreal

SPDL Phenomenon

Post by homam » 29 Mar 2020, 21:22

Hello,

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
)
Any ideas are appreciated :)

Thanks!