hello,
I have a problem with texture :
- On blender I see the cube with my texture in the render but when i
use it in soya it doesn't work.
- I read the faq and place the texture image in [soyapath]/Images and
the image is 64*64 bits. In the blender file i'am using the same image
When i adapt the tutorial modeling script on a cube with my texture it's
working but when i use a shape alone it doesn't work and this code
doesn't work anymore :
class RotatingVolume(soya.Volume):
def advance_time(self, proportion):
self.rotate_lateral(2.0 * proportion)
# OK
cube_world = soya.cube.Cube(None, material)
cube = RotatingVolume(scene, cube_world.shapify())
cube.x = -1.0
cube.rotate_vertical(30.0)
# Nope
carre_model = soya.Shape.get("carre")
carre = RotatingVolume(scene,carre_model )
carre.material=material
carre.x = 1.0
carre.rotate_vertical(30.0)
Could you help me?. Thank you