Hi
I have read the TGCskybox tutorial, but I cannot figure out how to make a seamless skybox. I have tried to make my own using plains, and I have also tried to load one of the skybox objects from the FPSC files folder. But none of them works. The seams are visible!
Here's the code for myown box:
load image "skybox.png",skyBoxTex
make object plane skyBoxObjLeft,100,100
make object plane skyboxObjRight,100,100
make object plane skyBoxObjFront,100,100
make object plane skyBoxObjBack,100,100
texture object skyBoxObjLeft,skyBoxTex
texture object skyBoxObjRight,skyBoxTex
texture object skyBoxObjFront,skyBoxTex
texture object skyBoxObjBack,skyBoxTex
set object texture skyBoxObjLeft,2,0
set object texture skyBoxObjRight,2,0
set object texture skyBoxObjFront,2,0
set object texture skyBoxObjBack,2,0
scale object skyBoxObjLeft, 500,500,500
scale object skyBoxObjRight, 500,500,500
scale object skyBoxObjFront, 500,500,500
scale object skyBoxObjBack, 500,500,500
position object skyBoxObjLeft,-250,0,250
position object skyBoxObjRight,250,0,250
position object skyBoxObjFront,0,0,500
position object skyBoxObjBack,0,0,0
rotate object skyBoxObjLeft,0,90,0
rotate object skyBoxObjRight,0,90,0
I have tried here with only one texture and no bottom and upper plane.
Here is the code for the FPSC object:
load object "skybox\snv.x",99
position object 99,0,0,1000
scale object 99,1000,1000,1000
I can see that the seams are visible because earlier I have loaded a terrain and wrote an FPS controller so that I can 'position myself' inside of the box.
But,,, again,, how do I make them seamless?
Best!
www.memblockgames.com