Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 12,726 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
SKY dome won't show up #236440
11/14/08 08:22
11/14/08 08:22
Joined: Nov 2005
Posts: 66
Spokane, WA, USA
Vonman Offline OP
Junior Member
Vonman  Offline OP
Junior Member

Joined: Nov 2005
Posts: 66
Spokane, WA, USA
I have searched the forum and the manual but did not find out so i'll just ask..

I am trying to create a simple blue sky, with a very small bitmap ( 8*8 pixels to save space), it worked GREAT with C-script, but when I converted to LC, I cannot get ANY type of sky to work.

heres my code as of now (with an ACTUAL .tga sky)

ENTITY* skycube =
{
type = "skycube4+6.tga";
layer = 3;
flags2 = SKY | DOME | VISIBLE;


}


Before, type was type = "sky2.bmp"; (my small blue bitmap).

But even after changing it to a more common type of sky image, it STILL does'nt work.. I even tryed removing ALL code that has anything to do with skies from my script and just put the sky in WED, still does'nt work.

Re: SKY dome won't show up [Re: Vonman] #236448
11/14/08 09:45
11/14/08 09:45
Joined: Apr 2006
Posts: 624
DEEP 13
badapple Offline
User
badapple  Offline
User

Joined: Apr 2006
Posts: 624
DEEP 13
if you want a plain blue sky in lite c , you dont need your bmap
and you dont even need to declare a sky , just add this in function main

sky_color.red = 0;
sky_color.green = 0;
sky_color.blue = 255;

Re: SKY dome won't show up [Re: badapple] #236505
11/14/08 15:22
11/14/08 15:22
Joined: Nov 2005
Posts: 66
Spokane, WA, USA
Vonman Offline OP
Junior Member
Vonman  Offline OP
Junior Member

Joined: Nov 2005
Posts: 66
Spokane, WA, USA
I had it like that origanally, but it does'nt really look that great, it has no radiance at the horizon. In real life, at the horizon, it will be more white-like and it will gradualy change to blue as you point up.

When a texture is used for a sky, at the sky_clip and below, it blends to the fog color or SKY_COLOR, so if my bitmap is blue and my fog color is white, it looks realistic. That beind said, if it's gonna look good, i'm gonna need the sky dome to work.

Re: SKY dome won't show up [Re: Vonman] #236550
11/14/08 20:59
11/14/08 20:59
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Why are you using a skycube for a dome?


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: SKY dome won't show up [Re: Nidhogg] #250311
02/07/09 09:29
02/07/09 09:29
Joined: May 2008
Posts: 257
D
djfeeler Offline
Member
djfeeler  Offline
Member
D

Joined: May 2008
Posts: 257
yes you use a image of cube what finish for +6. you must use a simple image for dome.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | 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