Isotropix Forums

Can clarisse support interior mapping shader?

General discussion about the new Angie renderer

Can clarisse support interior mapping shader?

Unread postby 1mi8 » Mon May 16, 2022 7:14 pm

Hi
I try to make a interior mapping shader by oslscriptedshader, but I didn't succeed. I can't write oslscript. The oslscript is correct in some renderer, maybe it's wrong in clarisse.
Can clarisse support interior mapping shader by correct oslscript, or by other way?
Attachments
005.png
jiWindowBox_Arnold_v1_wP_OSL.txt
(5.52 KiB) Downloaded 318 times
01.png
1mi8
 
Posts: 8
Joined: Wed Jan 16, 2019 7:48 pm

Re: Can clarisse support interior mapping shader?

Unread postby sam » Tue May 17, 2022 8:46 pm

Hi

First, your setup is wrong and you aren't supposed to plug a texture to the shader. The shader expects a file path to a texture. I guess the shader usage is documented where you found it.

This script doesn't seem to work with Angie too. It was already adapted to work for VRay so I guess it will need some adapting too. I sincerely haven't got the time to look at this code to try to find out why it doesn't work.

If you don't know how to write OSL code, I suggest you to find another OSL script that does that. It may work.
Sam Assadian
Isotropix
CEO/Founder
User avatar
sam
 
Posts: 1883
Joined: Fri Jan 25, 2013 11:33 pm

Re: Can clarisse support interior mapping shader?

Unread postby nguiard » Wed May 18, 2022 10:51 pm

Hi,

Sam is right, you simply need to put the filename of the texture instead of plugging a image file node and it works.

There is a more recent version of the shader on the website specified at the beginning of the script. However, it doesn't work directly because it specifies labels with white spaces for each attribute and we don't support it. You either need to remove the labels or to replace the white spaces by underscores.

Hope it helps!
Nicolas Guiard
Isotropix
Head of R&D
User avatar
nguiard
 
Posts: 414
Joined: Fri Jan 25, 2013 11:33 pm

Re: Can clarisse support interior mapping shader?

Unread postby 1mi8 » Thu May 19, 2022 11:13 am

Thanks for Sam and nguiard's reply.
It work.
Attachments
111.png
1mi8
 
Posts: 8
Joined: Wed Jan 16, 2019 7:48 pm


Return to Angie