Quote: "Man, how did you do those side views"
I used the "set camera view" command , and just set the cameras view to the viewpoint you want to use.
` set display
set display mode 800,600,32
sync on
sync rate 0
` rotating object
make object box 1,100,100,100
` start loop
do
sw=screen width()
sh=screen height()
mx=mousex()
my=mousey()
` change the cameras view when the mouse is in that area
if mx>0 and mx<sw/2 and my>0 and my<sh/2 and view<>1 then view=1:gosub set_camera_view:
if mx>sw/2 and mx<sw and my>0 and my<sh/2 and view<>2 then view=2:gosub set_camera_view:
if mx>0 and mx<sw/2 and my>sh/2 and my<sh and view<>3 then view=3:gosub set_camera_view:
if mx>sw/2 and mx<sw and my>sh/2 and my<sh and view<>4 then view=4:gosub set_camera_view:
` text view
text mx-10,my-10,str$(view)
` rotate object
rotate object 1,wrapvalue(object angle x(1)+0.5),wrapvalue(object angle y(1)+0.5),wrapvalue(object angle z(1)+0.5)
` end loop
sync
loop
set_camera_view:
`3d cam
if view = 1
set camera view 0,0,sw/2,sh/2
endif
`xz cam
if view = 2
set camera view sw/2,0,sw-1,sh/2
endif
`xy cam
if view = 3
set camera view 0,sh/2,sw/2,sh-1
endif
`yz cam
if view = 4
set camera view sw/2,sh/2,sw-1,sh-1
endif
return
Quote: "How did you do that lightmapping"
That was a bit of a pain to get working in dbc and the code for it is a bit messey. Im going re code it for dbp and release the socrce for it some time next week (may be). And the other thing asked yea I did use memblocks.
Quote: "You thinking of a .x export?"
I was thinking of adding an .x exporter but it will take up quite some time (iv never code an .x filee export b4). The saved file are not .dbo there my own sort of save but im sill working on it..