fael097
@fael097
New Member
Joined: Feb 15, 2024
Topics: 9 / Replies: 34
Reply
RE: script to automate rgb color conversion to gamma 2.2

okay, it works for individually selected objects now, but some new bugs: -for vray mats it worked on main slots, but it’s not changing sub slot mappe…

9 years ago
Forum
Reply
RE: script to automate rgb color conversion to gamma 2.2

alright, now it doesn’t return any error messages, but this happens: If I have selected an object with only one material applied to it, the script wi…

9 years ago
Forum
Reply
RE: script to automate rgb color conversion to gamma 2.2

denisT: i bet that i’ve missed anything … but 90% of what you need is there: fn collectAllMaterials mat mats:#() = if mat == undefined then mats e…

9 years ago
Forum
Reply
RE: script to automate rgb color conversion to gamma 2.2

anyone else could help me on this please? thanks

9 years ago
Forum
Reply
RE: script to automate rgb color conversion to gamma 2.2

thanks guys. aandres’ script works, sort of. it’s applying the formula correctly to submaps, but it’s applying it twice to the main slots like diffus…

9 years ago
Forum
Reply
RE: script to automate rgb color conversion to gamma 2.2

this is what my code looks so far: function StdDiffuseRGBtoLinear = ( oldr = $.material.diffuseColor.r oldg = $.material.diffuseColor.g oldb = $.mat…

9 years ago
Forum
Topic
Reply
Topic
Forum
Replies: 2
Views: 12
Reply
RE: checkbutton initial state?

yeah, worked like a charm, thanks mate!

14 years ago
Forum
Reply
RE: checkbutton initial state?

alright, worked for that case, but how about lets say when i wired smooth iterations toa parameter “osmooth” and the checkbutton switches it between 0…

14 years ago
Forum
Topic
Forum
Replies: 4
Views: 15
Reply
RE: store a node to control an object later?

great heres what i was doing wrong: instead of $.modifiers[1].controls.boxMod = $Box001.modifiers[1] i was typing only boxMod = $Box001.modifiers[…

14 years ago
Forum
Reply
RE: store a node to control an object later?

yeah, i realized that, but i did what you said, could you point what i am doing wrong?

14 years ago
Forum
Reply
RE: store a node to control an object later?

well i tried b4, but wont work aswell. says “unknown property “enabled” in undefined for some reason

14 years ago
Forum
Page 1 / 3