One way is to create a sphere(or cube, or cone) object ( It doesnt has to be THAT big) and then scale it.
(well, of course you have to play with the size so the texture still looks good).
Now to the core point of your question:
To see the texture inside the object, use a _negative_ size.
Example:
dbMakeObjectSphere( ObjID, -10);
dbScaleObject( ObjID, 100, 50, 100);
dbTextureObject( ObjID, TextrID);
//edit: probably, the scales must be negative too, just play with the parameters to get a feeling for how the various commands "response".
Regards and,.. May The DARK force be with you...
Smithy
//edit dab@11-jan-2006 8.15am GMT+1
Quote: "
I understand i must put a very very big and texturized sphere and inside the sphere develop the terrains of the game... is this correct?
"
The terrains can be larger than the sky. You have to set the fogging a bit closer to the camera than your sky-end. (Otherwise you will see the sky-object will cull your terrain, fog is better.)
Say, EndOfSky_Distance is 1000, then you set your fogdistance to 950.
Hint: Move the sky-sphere/cube/cone together with your camera for a nice sky. (CenterPositionCamera = CenterPositionSky (each frame) )
//Awards: Best DM at NeverwinterConventionIII (NWCon3)
//Sys: Pentium IV 3200E/Prescott;800Mhz FSB;HT;WinXPPro;ATIR9700PRO;1024MB RAM(2x512MB"DualChanneled"
;VC++7.net;Delphi6;ADSL512;