OK, first up, I only downloaded DBP today, so I'm still getting to grips with things.
I'm slowly making progress though, apart from figuring out why my 3D objects don't line up properly.
Here's the code:
set display mode 800,600,32,1
sync on
sync rate 60
autocam off
color backdrop rgb(0,0,0)
rem hanger floor
make object box 1, 40,1,50
position object 1, 0,0,0
rem left wall
make object box 2, 1,50,50
color object 2, rgb(255,0,0)
position object 2, -40,0,50
rem right wall
make object box 3 ,1,50,50
color object 3, rgb(0,255,0)
position object 3, 40,0,50
rem rear wall
make object box 4, 50,50,1
color object 4, rgb(0,0,255)
position object 4, 0,0,50
position camera 0,12,-30
point camera 0,0,0
do
sync
loop
The aim is to have the side walls run from the back of the floor to just out of view at the front, and have the back wall correctly fill in the rear of the room. I guess some of the problem is down to the camera and perspective, and some of it is down to my n00b-ness
Is there a way to work out what I need to set the dimension and positions of the objects to in order to get them to line up?