How to use a special material for the sticks ? 

I try to put a material for my joints :
I use something like :

function default_joint_build()
{
Element.useJointPart1();
loadAndAddAsTransformNode("newstick" + (1 + Math.random(5)) + ".ac");
Material.new();
Material.texture = "field1.png";
VertexBuilder.material = Material.object;
}
But no material applied to the sticks ....

(I can see in the documentation : Manipulate 3d objects surface properties
(Material objects can be associated with geometry nodes).

can you help me ?

Thanks

Forums: 

> I try to put a material for my joints
> But no material applied to the sticks ....

Hi Alain,

Textures for sticks can be assigned in the header of the .ac files
between the name and numvert.

Like this:

AC3Db
MATERIAL "vrmlmat0" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5
0.5 shi 10 trans 0.000000
OBJECT world
kids 1
OBJECT poly
name "stick"
texture "sometexture.png"
numvert 49
1 0.1 0.173205
1 0.173205 0.1
... coordinates
... etc...

Hope it works for you,

Walter