Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 08/17/26 19:28
Max Number of Strategies in /Strategy folder
by Martin_HH. 08/17/26 07:54
Pause button for evaluation shell?
by AndrewAMD. 08/13/26 17:16
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 08/10/26 12:46
phantom() not defined in indicators.c
by jcl. 08/07/26 11:45
Accepting new programming clients
by AndrewAMD. 08/06/26 21:25
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Lapsa, swingtraderkk), 7,758 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19230 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