Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
LOTR HITMAN
20
Years of Service
User Offline
Joined: 2nd Nov 2004
Location:
Posted: 5th Nov 2004 09:19
can someone please just put the code for a skysphere here? i don't understand anything anyone else is saying, because they just put up parst of it at a time. if i had the whole code, i could understand it then.

Ash Nazg Durbatalûk, Ash Nazg Gimbatul,
Ash Nazg Thrakatulûk, Agh Burzum-ishi Krimpatul!
Mx5 kris
20
Years of Service
User Offline
Joined: 9th Oct 2004
Location:
Posted: 5th Nov 2004 14:58
this should help: http://forum.thegamecreators.com/?m=forum_view&t=40834&b=14
search that post for info.

This is only the beggining...
The end is ony the beggining...
Iain
20
Years of Service
User Offline
Joined: 17th Jun 2004
Location: UK
Posted: 5th Nov 2004 18:42
Here is the code i used in a old game of mine, its quite simple.

make object sphere 1,10000
set object 1,1,1,0
load image "sky1.bmp",1
texture object 1,1

I hope its of some use to you.
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 6th Nov 2004 08:19
don't forget to add a line in your program loop to move the sphere with your camera to prevent you ever getting to the edge of the sphere -

position object (objectnumber),camera position x(),camera position y(),camera position z()


Login to post a reply

Server time is: 2024-11-27 15:47:55
Your offset time is: 2024-11-27 15:47:55