Hi.
I try to remove all maps to octane diffuse materials. I succeed for some slots :
-----------------------------------------------------
OCD = getclassinstances Diffuse_material
for mat in OCD do
(
mat.transmission_input_type = 3 --none
)
-----------------------------------------------------
but I can't manage to remove displacement or emission slot.
with : mat.displacement = undefined I get error. (???)
Thanks.
Remove textures from material
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
YOKO Studio | win 10 64 | i7 5930K GTX 3090 | 3dsmax 2022.3 |
- neonZorglub
- Posts: 1018
- Joined: Sun Jul 31, 2016 10:08 pm
Hi HHbomb,
Thank you for reporting this issue.
There is a bug preventing to clear textures from maxscript this way..
I can't think of a work around for current version.
This will be fixed in the next release.
That will also allow you to do things like mat.transmission_tex = undefined
(witch might be better than changing the type to none, as that keeps a reference to the texture..)
Thanks
Thank you for reporting this issue.
There is a bug preventing to clear textures from maxscript this way..
I can't think of a work around for current version.
This will be fixed in the next release.
That will also allow you to do things like mat.transmission_tex = undefined
(witch might be better than changing the type to none, as that keeps a reference to the texture..)
Thanks
Thanks !
YOKO Studio | win 10 64 | i7 5930K GTX 3090 | 3dsmax 2022.3 |