Hi all, you've already solved my issues with previous questions and
that is a great group so I hope you can help me with this one.

I have created a world with planets that are textured with bitmap and
this works fine:

planetOne = new Sphere( { radius:260, x:-0.6, y:-0.3, z:-800,
segmentsH:20, segmentsW:20 } );
planetOne.material = new BitmapFileMaterial("texture_one.jpg");

However when I want to apply a texture on a mesh that I generated
through Blender, this does not work:

// This object extends Mesh
randomOne = new RandomOne();
randomOne.material = new BitmapFileMaterial("rock.jpg");

I searched the docs extensively and I cannot seem to find whether
there are restrictions on what objects you can apply textures to, so
what I am missing there?

Thanks.

Reply via email to