Page 1 of 2

Shape field

Posted: Mon Jul 31, 2023 1:15 pm
by HHbomb
Hi,

Can somebody explain how to use Shape field with gradient ? I tried, but I can't reproduce the pict.
Gradient is not updated when moving the SDF, not in good place,...

Thanks

Re: Shape field

Posted: Mon Aug 07, 2023 1:53 pm
by paride4331
Hi HHbomb,
viewtopic.php?f=51&t=81971#p426119
Regards
Paride

Re: Shape field

Posted: Tue Aug 08, 2023 8:12 am
by HHbomb
Hi, thanks Paride.
Could you please save "FieldSphape01_mx19.max" to max 2020 or 2022 ? ( i can't open it )
Cheers

Re: Shape field

Posted: Wed Aug 09, 2023 8:13 am
by paride4331
Hi HHbomb,
Done!
Regards
Paride

Re: Shape field

Posted: Wed Aug 09, 2023 9:16 am
by HHbomb
Hi Paride !
Thanks for the file.

So I have always my problem : In standalone the gradient is at the good place and move with the "Core shape SDF" ( named in material editor node )
But not in Max.
Even when I import orbx in max en move the object, the gradient is not updated.

Hope it can be fixed !

Re: Shape field

Posted: Wed Aug 09, 2023 10:12 am
by paride4331
HHbomb wrote:Hi Paride !
Thanks for the file.

So I have always my problem : In standalone the gradient is at the good place and move with the "Core shape SDF" ( named in material editor node )
But not in Max.
Even when I import orbx in max en move the object, the gradient is not updated.

Hope it can be fixed !
HHbomb,
Could you point me to that .orbx please?

Re: Shape field

Posted: Wed Aug 09, 2023 1:02 pm
by HHbomb
Hi !
I simplified OTOY example to easely see what I wanted.
If you move prism object, gradient is updated in RT.
Cheers

Re: Shape field

Posted: Thu Aug 10, 2023 10:08 am
by paride4331
Hi HHbomb,
in SA there are two ways to project the shape onto the other object: changing the placement's position or changing the translation of the UVs.
In 3ds Max, currently only UV translation is available.
It could be possible to create a custom Vectron OSL shader that includes a placement option. Alternatively, it's also possible to achieve this through Parameter Wiring, connecting the object's position to UV translation.
The developers will attempt to include the Placement node, along with options for automatic configuration, in an upcoming release.
Regards
Paride

Re: Shape field

Posted: Thu Aug 10, 2023 1:09 pm
by HHbomb
Hi thank you !
It would be great that such usefull features could work properly in Max ! :mrgreen:

I vote for a "custom Vectron OSL shader that includes a placement option"

Re: Shape field

Posted: Thu Aug 10, 2023 9:34 pm
by jobigoud
Sorry for my lack of knowledge of the Max plugin but how do you currently combine multiple Vectron shapes with Union or Subtraction operators if you don't have placements?