Posted: 6th Jun 2007 4:46
can this be done in DBPro?

i'm trying to make a skybox by turning the cube in-side-out & texturing each surface with the left,right,top etc bitmap textures

or do i need to create plains (i don't really want to do that)
Posted: 6th Jun 2007 5:26
Check this:

http://forum.thegamecreators.com/?m=forum_view&t=104675&b=6
Posted: 7th Jun 2007 13:00
I've found this piece of code useful for skyboxes
+ Code Snippet
`Basic Display Setup
Set Display Mode 800,600,32
Sync Rate 0 : Sync On
AutoCam Off : Hide Mouse
Position Camera 0,0,0,0
`Create 6 Textures for Cube faces
Create Bitmap 1,64,64
Set Current Bitmap 1
For I = 1 to 6
 Cls
 Center Text 32,26,Str$(I)
 Get Image I,0,0,64,64
Next
Set Current Bitmap 0
Delete Bitmap 1
`Make Skybox
Make Object Cube 1,-100
` Cube Faces          E W D U S N
Set Cube Mapping On 1,1,2,3,4,5,6
` Main Loop
Do
 Control Camera Using ArrowKeys 0,0,1
 XRotate Camera WrapValue(MouseY())
 Sync
Loop


Notice how the images are all reversed (back to front) except for the floor (image 3).

This works well if the skybox is positioned at the same position as the camera.
Posted: 7th Jun 2007 23:37
this has been asked before,but the easiest way is to texture it in your modeling program.
Posted: 20th Jun 2007 0:04
TinTin: that bit of code is VERY useful indeed
this has saved alot of time