SPDL Phenomenon

Discussions concerning programming of SOFTIMAGE©
Post Reply
homam
Posts: 49
Joined: 16 Mar 2013, 23:15
Location: Montreal
Contact:

SPDL Phenomenon

Post by homam » 29 Mar 2020, 23: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!

Post Reply

Who is online

Users browsing this forum: No registered users and 61 guests