MCP_Architectural MetaSL Shader for Softimage

Discussions regarding Materials, Material-Compounds or Shaders, etc.
Post Reply
User avatar
Daniel Brassard
Posts: 878
Joined: 18 Mar 2010, 23:38
Location: St. Thomas, Ontario
Contact:

MCP_Architectural MetaSL Shader for Softimage

Post by Daniel Brassard » 30 Apr 2013, 18:31

Hi everyone,

I have converted the MCP_Architectural MetaSL shader of Mental Mill to work in Softimage. I used Soft 2013 to test it, although I think it may work on 2011 and 2012 as well (a confirmation would be appreciated).

So here is the file as is for test and feedback.

Comments appreciated.

Installation: unzip the file and put the file in your user or workgroup folder:

C:/Users/Username/Autodesk/Softimage_2013/Application/msl

Known Bugs:

- Some of the parameters are not implemented in this shader. They are there for future implementation.

Corrected in this version:

- Conversion from Spectrum type to Color was not correct in some instances
- Conversion from max_value to max was not correct.
- Added a parameter luminance_weight to play with when refl_is_metal is "on". Default color value (0.212671, 0.715160, 0.072169, 0.0)
- Bool are now displaying on the UI

Cheers!

Daniel
Attachments
mcp_architectural.zip
(5.61 KiB) Downloaded 159 times
Last edited by Daniel Brassard on 11 May 2013, 06:13, edited 6 times in total.
$ifndef "Softimage"
set "Softimage" "true"
$endif

Matic
Posts: 70
Joined: 18 Jun 2009, 19:58

Re: MCP_Architectural MetaSL Shader for Softimage

Post by Matic » 06 May 2013, 22:19

Hey Daniel, isn't this shader already available though? I seem to have all of the metaSL nodes from mental mill in 2013 in Autodesk\Softimage 2013\Application\phenolib\msl.

User avatar
Daniel Brassard
Posts: 878
Joined: 18 Mar 2010, 23:38
Location: St. Thomas, Ontario
Contact:

Re: MCP_Architectural MetaSL Shader for Softimage

Post by Daniel Brassard » 06 May 2013, 22:24

There are two MetaSL architectural shaders that come with Softimage: architectural and architectural comp. These shaders came with Mental Mill 1.1 The MCP version come with Mental Mill 1.2 and is part of the mental core library. The MCP version has a few more input parameters than the other Architectural shaders.

The MCP_Architectural is closer to the mia_material_x that come with the MetaSL shader library.

If you really want something daunting, get a hold of the mia-material_x. THAT is a shader!

Dan

P.S Some of the shaders that come with Softimage don't work out of the box. I had to modify the shader code to get them working. Not all of them though, there are some issue related to the old LLVM backend that need to be resolved (Spectrum and Color3 type to name a few) by AD doing an update to the backend.

The MCP was one of them.
Last edited by Daniel Brassard on 06 May 2013, 22:37, edited 1 time in total.
$ifndef "Softimage"
set "Softimage" "true"
$endif

User avatar
rray
Moderator
Posts: 1775
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

Re: MCP_Architectural MetaSL Shader for Softimage

Post by rray » 06 May 2013, 22:36

Thanks! I've tried it but so far couldn't make show up.
softimage resources section updated Jan 5th 2024

User avatar
Daniel Brassard
Posts: 878
Joined: 18 Mar 2010, 23:38
Location: St. Thomas, Ontario
Contact:

Re: MCP_Architectural MetaSL Shader for Softimage

Post by Daniel Brassard » 06 May 2013, 22:44

RRay

The shader should appear under MetaSL as "Architectural shader (core shader library)" of type user shader.

Can you confirm the path you put the shader under?
$ifndef "Softimage"
set "Softimage" "true"
$endif

User avatar
rray
Moderator
Posts: 1775
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

Re: MCP_Architectural MetaSL Shader for Softimage

Post by rray » 06 May 2013, 22:55

I've tried (user dir)\Autodesk\Softimage_2013_SP1\Application\data\msl

now I've tried the application's msl and there it works! Trying out a pass environment and reflections/refractions, and it looks great already.
softimage resources section updated Jan 5th 2024

User avatar
rray
Moderator
Posts: 1775
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

Re: MCP_Architectural MetaSL Shader for Softimage

Post by rray » 06 May 2013, 23:07

I noticed something: When the pass environment is rotated, the rendered output is ok, but the hq shaded one is flipped:
Image

One other thing I noticed, when I dialed the diffuse down from 1 to 0.2 and then back up to 1, there's a lot of dark details missing in the reflections when rendered (hq shaded is ok)
softimage resources section updated Jan 5th 2024

User avatar
gustavoeb
Moderator
Posts: 587
Joined: 21 Jul 2010, 00:33
Skype: gustavoboehs

Re: MCP_Architectural MetaSL Shader for Softimage

Post by gustavoeb » 06 May 2013, 23:16

When you say mentalcore do you mean the maya plugin? Is nVidia distributing those shaders for free now ?
Gustavo Eggert Boehs
Blog: http://www.gustavoeb.com.br/

User avatar
Daniel Brassard
Posts: 878
Joined: 18 Mar 2010, 23:38
Location: St. Thomas, Ontario
Contact:

Re: MCP_Architectural MetaSL Shader for Softimage

Post by Daniel Brassard » 07 May 2013, 00:47

@RRAy

Thanks for the feedback.

You are correct for the filepath where to put the shader. I corrected the first post.

Strange that the HQV is showing the map upside down but not in the rendered view. I'll look at the diffuse as well, it may be an error in the conversion between Spectrum to float4.

@Gustavoeb

I got the MCP shaders from Mental Mill 1.2 available on the NVidia ARC website. They are all labelled mi cross product shaders. I was curious to see what was the difference between these shaders and the one we have in Soft.

To me, MetaSL is nice but a bit experimental in Softimage. You never know if one will work fine or crash on entry. It still hit and miss at that end. Too bad, lot of potential and fairly easy to learn but another area that need some love from AD.
$ifndef "Softimage"
set "Softimage" "true"
$endif

User avatar
Daniel Brassard
Posts: 878
Joined: 18 Mar 2010, 23:38
Location: St. Thomas, Ontario
Contact:

Re: MCP_Architectural MetaSL Shader for Softimage

Post by Daniel Brassard » 10 May 2013, 19:51

RRAY,

I have modified the MCP_Architectural shader. I did have some Spectrum to float4 conversion issue. Can you test it with your scene and see if it works now?

Thanks

Dan

P.S. I have updated the first thread with the new file.
$ifndef "Softimage"
set "Softimage" "true"
$endif

Matic
Posts: 70
Joined: 18 Jun 2009, 19:58

Re: MCP_Architectural MetaSL Shader for Softimage

Post by Matic » 10 May 2013, 23:54

This is awesome Daniel!

User avatar
Daniel Brassard
Posts: 878
Joined: 18 Mar 2010, 23:38
Location: St. Thomas, Ontario
Contact:

Re: MCP_Architectural MetaSL Shader for Softimage

Post by Daniel Brassard » 11 May 2013, 06:26

The MCP_Architectural shader next to those that come with Softimage 2013 (Architectural and Architectural Comp). A few more functionality in this shader although a few parameters do nothing right now, there is a lot of room to play and modify in the future.
Attachments
MCP_Architectural_01.jpg
MCP_Architectural_02.jpg
$ifndef "Softimage"
set "Softimage" "true"
$endif

User avatar
rray
Moderator
Posts: 1775
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

Re: MCP_Architectural MetaSL Shader for Softimage

Post by rray » 11 May 2013, 15:00

Diffuse works fine now, the map is is still flipped with an transformed environment here
Btw, I just noticed it's flipped for all factory shaders as well, so it's a bug in the HQV.
softimage resources section updated Jan 5th 2024

User avatar
Daniel Brassard
Posts: 878
Joined: 18 Mar 2010, 23:38
Location: St. Thomas, Ontario
Contact:

Re: MCP_Architectural MetaSL Shader for Softimage

Post by Daniel Brassard » 12 May 2013, 23:29

That is great, RRay. Thanks for the feedback.

Are you going to report the bug to AD?

Dan
$ifndef "Softimage"
set "Softimage" "true"
$endif

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests