i think your problem is probably face normals ( ie the direction of the
face ). you can make faces doublesided in blender and export or use
do it manually. something like this should work (untested):
import soya
import soya.cube
scene = soya.World()
camera = soya.Camera(scene)
soya.set_root_widget(camera)
cube = soya.cube.Cube(scene)
cube.scale(2., 2., 2.)
for child in cube:
child.double_sided = True
soya.Idler(scene).idle()
On Mon, Jun 13, 2005 at 11:20:45AM +0200, Mattes Sarcander wrote:
> Hi,
> I am just starting to play with Soya and 3D programming, so forgive me
> if this is a stupid question ;>
>
> How can the camera be placed inside another object, while still
> displaying the inside of the object correctly?
>
> If I just scale an object to a size where the camera would be inside if
> it, the object does not get displayed completely. Some faces seem to be
> ignored. I thought of some clipping effect and tried to play with
> camera.back and .front, alas with no success.
>
> Making the material of the object transparent and placing a light source
> inside the object also did not work.
>
> Now I am clueless what to do. Do you have any ideas?
>
> Mattes
>
> --
> "If you don't like having choices made for you, you should start
> making your own." -- Neal Stephenson
>
>
>
>
>
> _______________________________________________
> Soya-user mailing list
> [email protected]
> https://mail.gna.org/listinfo/soya-user
>
>