Isotropix Forums

Megascans Surfaces to Clarisse

Clarisse Scripting related topics

Re: Megascans Surfaces to Clarisse

Unread postby bvaldes » Fri Mar 16, 2018 9:11 am

Hi,

Thanks for the script update!
What do you mean by Is there an easy way to make all the other maps to be instances of Albedo by python?
Benoit VALDES
Isotropix
Clarisse QA
User avatar
bvaldes
 
Posts: 280
Joined: Mon Sep 26, 2016 10:44 am

Re: Megascans Surfaces to Clarisse

Unread postby mzofx » Thu Jul 12, 2018 5:31 am

Hi, thanks for script. I'm fairly new to Clarisse, especially to the shading aspect of it. I was wondering how can you use this script to apply a megascan material to just one axis of a triplanar shader that I'm using to texture a displaced grid ( a mountain). For example let's say I want to apply megascan material 1 to the top plane and megascan material 2 to the left and right planes. I did a test with just one material (screenshot attached) but I think it's the wrong way to proceed. Any help would be appreciated. Thanks
Screen Shot 2018-07-11 at 9.29.25 PM.png
mzofx
 
Posts: 9
Joined: Sat Aug 26, 2017 12:41 am

Re: Megascans Surfaces to Clarisse

Unread postby dboude » Mon Jul 16, 2018 9:39 am

Hi mzofx,

You should make your network like this.
Material_Triplanar_Mix.PNG


All material 1 maps plugged in the top input of a triplanar node, and all material 2 maps plugged in the sides (Right, Left, Front, Back) inputs

Cheers
Démian
Isotropix
Technical Artist - Clarisse Specialist
User avatar
dboude
 
Posts: 554
Joined: Mon Jul 03, 2017 10:51 am

Re: Megascans Surfaces to Clarisse

Unread postby mzofx » Wed Jul 18, 2018 4:22 am

dboude wrote:Hi mzofx,

You should make your network like this.
Material_Triplanar_Mix.PNG


All material 1 maps plugged in the top input of a triplanar node, and all material 2 maps plugged in the sides (Right, Left, Front, Back) inputs

Cheers


It now makes sense. Thank you!
mzofx
 
Posts: 9
Joined: Sat Aug 26, 2017 12:41 am

Re: Megascans Surfaces to Clarisse

Unread postby mzofx » Sun Jul 22, 2018 3:41 am

jandersunstar wrote:Thanks all for your feedback,

I added a multiplier for the size of the texture (physicalSizeMult) and for the intensity of the displacement (displacementHeightMult), right now is set to 1, but you can change it to 10 for example.

I also added a variable for the default value when there is not a json file with the correct information, right now is set to 1 (physicalSize) for 1m, but you can change it to 10 for example, the same for the displacement (displacementHeight), right now is set to 0.



Hi, I'm having troubles setting the right UV scale for the textures. Running the script as is my textures appear very small. I understand I need to change the "physicalSizeMult" value in the script. In this way I have to reimport the textures every time I want to change the value? I would like to avoid that because I'm combining more megascans materials with a triplanar (I'm texturing a displaced terrain) and every time I reimport the textures with the script I have to reconnect everything. How do I adjust the scale of all the textures without re-running the script and re-importing everything? Thank you
mzofx
 
Posts: 9
Joined: Sat Aug 26, 2017 12:41 am

Re: Megascans Surfaces to Clarisse

Unread postby jandersunstar » Sun Jul 22, 2018 3:06 pm

You can do a filter/search for _tx and just change the Uv Scale to all the nodes.

uvscale.png


-Luis
User avatar
jandersunstar
 
Posts: 254
Joined: Fri Jun 06, 2014 8:21 pm
Location: Mexico City

Re: Megascans Surfaces to Clarisse

Unread postby mzofx » Wed Jul 25, 2018 7:11 am

jandersunstar wrote:You can do a filter/search for _tx and just change the Uv Scale to all the nodes.

-Luis


That works. Thanks!
mzofx
 
Posts: 9
Joined: Sat Aug 26, 2017 12:41 am

Previous

Return to Scripting