Node Change Color
16 February 2016 11:19
Hi
I just discovered your framework and i can say it's good.
As i'm trying to understand the logic, i make a simple scene and i want to change cube color via node.
I have RGB value that i want for the cube.
Can't make it work, color are rendered but color is wrong
Maybe light problem???
Thanks, sorry for my low level english
Result
![]()
Node
![]()
I just discovered your framework and i can say it's good.
As i'm trying to understand the logic, i make a simple scene and i want to change cube color via node.
I have RGB value that i want for the cube.
Can't make it work, color are rendered but color is wrong
Maybe light problem???
Thanks, sorry for my low level english
Result

Node

m_objets.set_nodemat_rgb("cube", ["Material","monRGB"], couleur1,couleur2,couleur3);
16 February 2016 12:12
16 February 2016 12:22
16 February 2016 16:35
16 February 2016 17:13
sorry i will explain me better.Can you attache your file with example?
I set a cube in blender with a diffuse color an another with a node color.
When i set the same color on the node color, the render is different
I'm doing something wrong… I checked diffuse entisity etc…. Everything the same…
Blend4web and that kind of thing.
16 February 2016 17:14
16 February 2016 17:27
i finally found, i don't know if it's a bug, i have to put the DiffuseInt of the material inside the node to 0.5 instead of 0.8It's can't be a bug I think, I think it's a differece of setup between node and simple material. So can you attach an axample, just to confirm my thoughts?
Blend4web and that kind of thing.
17 February 2016 14:20
18 February 2016 17:29