Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Sky cube size? #130345
05/17/07 10:59
05/17/07 10:59
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
Hey... how do I, via script, control the size of a sky box?? shouldn't it be centered around the camera at all time? if yes, then
a) how do I make it larger (I tried scaling it like a model... scale_x, _y and _z) and
b) why do i get blue areas (sky color) when I am far away from the origin and I don't look towards the origin?

thx
Micha


~"I never let school interfere with my education"~
-Mark Twain
Re: Sky cube size? [Re: Germanunkol] #130346
05/17/07 11:46
05/17/07 11:46
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
a. it should be done by camera.clip_far but it doesn't work... I've tried that too. finaly I've made just cube model with sky bmp and enlarge it like normal model and add loop vec_set(my.x,player.x);
b. change camera clip far if you can see sky kolor, but if you use sky you shouldn't see the background

Last edited by tompo; 05/17/07 14:51.

Never say never.
Re: Sky cube size? [Re: tompo] #130347
05/17/07 14:16
05/17/07 14:16
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
set sky_clip = 0; should solve the problem.

Re: Sky cube size? [Re: vlau] #130348
05/17/07 15:20
05/17/07 15:20
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
i'll try it. thx a lot!


~"I never let school interfere with my education"~
-Mark Twain

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1