Graphics3D 800,600,32,1
SetBuffer BackBuffer()
Global cam = CreateCamera()
PositionEntity cam,0,0,100
SkyBoxID = CreateCube() ;(camera)
ScaleMesh SkyBoxID,1000,1000,1000
FlipMesh SkyBoxID
EntityOrder SkyBoxID,1000
t=LoadTexture("sky02.bmp")
EntityTexture SkyBoxID,t
EntityFX SkyBoxID,1
PositionEntity SkyBoxID,0,0,0,-1000
ShowEntity SkyBoxID
CameraClsMode cam,0,1
While Not KeyHit(1)
TurnEntity SkyBoxid,0,.1,0
UpdateWorld
RenderWorld
Flip
Wend
End
The code makes a sky box and turns it, but my texture goes all mental and you can see the visble lines of the skybox, sky boxs are new to me any help would be appreciated....
LKFX
"if we were ment to go to war, we would have been born with green baggy skin"
SetBuffer BackBuffer()
Global cam = CreateCamera()
PositionEntity cam,0,0,100
SkyBoxID = CreateCube() ;(camera)
ScaleMesh SkyBoxID,1000,1000,1000
FlipMesh SkyBoxID
EntityOrder SkyBoxID,1000
t=LoadTexture("sky02.bmp")
EntityTexture SkyBoxID,t
EntityFX SkyBoxID,1
PositionEntity SkyBoxID,0,0,0,-1000
ShowEntity SkyBoxID
CameraClsMode cam,0,1
While Not KeyHit(1)
TurnEntity SkyBoxid,0,.1,0
UpdateWorld
RenderWorld
Flip
Wend
End
The code makes a sky box and turns it, but my texture goes all mental and you can see the visble lines of the skybox, sky boxs are new to me any help would be appreciated....
LKFX
"if we were ment to go to war, we would have been born with green baggy skin"