I needed to add the line:
scene.textures.brick.mapping.type = "globalmapping3d"
The way I debugged this was using blender. Blender has an option to output a scene file for debugging!
Search found 2 matches
- Sun Jan 06, 2019 9:02 pm
- Forum: User Support
- Topic: Simple SDL example to render bricks or checkboard?
- Replies: 2
- Views: 1640
- Thu Jan 03, 2019 5:21 am
- Forum: User Support
- Topic: Simple SDL example to render bricks or checkboard?
- Replies: 2
- Views: 1640
Simple SDL example to render bricks or checkboard?
I am trying to generate a scene with a texture of bricks mapped onto a background using the LuxCore SDL. For some reason the texture is not rendering. I am doing: scene.textures.brick.type = brick scene.textures.brick.brickwidth = 0.03 scene.textures.brick.brickheight = 0.01 scene.materials.wall.typ...