OK, I just downloaded the skybox tutorial from the TGC site, and found that the source code didn't actually work. So instead, I tried writing my own skybox demo. I am using 6 plain objects, textured with the free SkyMATTER sample. So far, they are all correctly in place, but the edges of the cube are clearly visible; I want them to blend in with each other so the player cannot tell they are actually inside a cube! I have attached a screenshot to this post. Does anyone know of a way I can fix this?
Here is my current code:
REM Project: u_SkyBoxes
REM Created: 07/03/2009 19:20:18
REM
REM ***** Main Source File *****
REM
#Constant BoxSize 600
#Constant PosX 1
#Constant NegX 2
#Constant PosY 3
#Constant NegY 4
#Constant PosZ 5
#Constant NegZ 6
Set Dir "Media\"
Load Image "Pos_X.bmp", PosX
Load Image "Neg_X.bmp", NegX
Load Image "Pos_Y.bmp", PosY
Load Image "Neg_Y.bmp", NegY
Load Image "Pos_Z.bmp", PosZ
Load Image "Neg_Z.bmp", NegZ
For I = 1 To 6
Make Object Plain I, BoxSize, BoxSize
Texture Object I, I
Next I
Position Object PosX, 0, 0, 0
YRotate Object NegX, 0
Position Object NegX, 0, 0, -BoxSize
XRotate Object PosY, 270
Position Object PosY, 0, BoxSize / 2, -BoxSize / 2
ZRotate Object PosY, 180
XRotate Object NegY, 90
Position Object NegY, 0, -BoxSize / 2, -BoxSize / 2
YRotate Object PosZ, 90
Position Object PosZ, -BoxSize / 2, 0, -BoxSize / 2
YRotate Object NegZ, 270
Position Object NegZ, BoxSize / 2, 0, -BoxSize / 2
Make Camera 1
Do
Control Camera Using ArrowKeys 1, 0.5, 0.5
Loop
Wait Key
End
Thanks in advance