Quote: "I think it's possible with the CSG commands"
Yes, this is the best way...take a look
ink rgb(90,90,90),0
box 0,0,20,20
ink rgb(100,100,100),0
box 2,2,19,19
get image 1,0,0,20,20,1
autocam off
sync on
set ambient light 0
hide light 0
make light 1:position light 1,0,2,20:color light 1,rgb(0,255,0):set light range 1,70
make light 2:position light 2,0,3,0:color light 2,rgb(255,255,0):set light range 2,30
`blocks for our rooms
for i= 1 to 3
make object box i,10,10,10
offset limb i,0,0,5,0
position object i,0,0,-10+i*10
next i
scale object 2,50,50,100 `corridor
`the object for the boolean union
make object plain 4,20,20
for i= 1 to 3
perform csg difference 4,i
delete object i
next i
texture object 4,1:scale object texture 4,5,5
position camera 0,2,-2
do
`camera control.
control camera using arrowkeys 0,0.1,0.1
a#=wrapvalue(a#+mousemovex()/2)
cam#=wrapvalue(cam#+mousemovey()/2)
rotate camera cam#,a#,0
if leftkey() then move camera left 0.1
if rightkey() then move camera right 0.1
sync
loop
I'm not a grumpy grandpa
