Gamestudio Links
Zorro Links
Newest Posts
freewhyblogelsewhere
by 9489cpjf. 06/03/24 06:06
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,301 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19056 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Farbigen Nebel erstellen?/ create colored fog? #284352
08/12/09 23:23
08/12/09 23:23
Joined: Jan 2004
Posts: 60
D
Deha Offline OP
Junior Member
Deha  Offline OP
Junior Member
D

Joined: Jan 2004
Posts: 60
Hallo zusammen!
Ich wollte mich mal erkundigen, wie ich am einfachsten einen Nebeleffekt hinbekomme?Am besten einen farbigen...
Kann mir da jemand weiterhelfen?

Hi everbody!
I want to ask about a fog-effect. How is it possible to add a fog (colored fog recommend)to my project?Any idea?

Re: Farbigen Nebel erstellen?/ create colored fog? [Re: Deha] #284430
08/13/09 11:21
08/13/09 11:21

C
chris_oat
Unregistered
chris_oat
Unregistered
C



simple go to the manual. hit the ctrl and f button and search for fog. u will find fog_start fog_end.
and the color u can set at the map properties/fog

Re: Farbigen Nebel erstellen?/ create colored fog? [Re: ] #284449
08/13/09 12:50
08/13/09 12:50
Joined: Jan 2004
Posts: 60
D
Deha Offline OP
Junior Member
Deha  Offline OP
Junior Member
D

Joined: Jan 2004
Posts: 60
Seems to be easier as i thought!;-)
I found the fog_start/fog_end example in the manual, but i was wondering about C-script description.I'm working with lite-c, but i tried it nevertheless like this...

camera.fog = 70;
camera.fog_start = 0.8 * camera.clip_far; // fog starts at 80% of clip range
camera.fog_end = 0.9 * camera.clip_far; // total foggy at 90% of clip range

I got an error "'fog' is not a member of 'VIEW'

What's wrong?

Re: Farbigen Nebel erstellen?/ create colored fog? [Re: Deha] #284454
08/13/09 12:54
08/13/09 12:54

C
chris_oat
Unregistered
chris_oat
Unregistered
C



as far as i know there is no different to lite-c and c-script on that.
where did u put that piece of code? in ur main_function?

Re: Farbigen Nebel erstellen?/ create colored fog? [Re: ] #284487
08/13/09 15:03
08/13/09 15:03
Joined: Jan 2004
Posts: 60
D
Deha Offline OP
Junior Member
Deha  Offline OP
Junior Member
D

Joined: Jan 2004
Posts: 60
I put that over main...where is the right place for the fog-script?

Re: Farbigen Nebel erstellen?/ create colored fog? [Re: ] #284500
08/13/09 16:43
08/13/09 16:43

C
chris_oat
Unregistered
chris_oat
Unregistered
C



Originally Posted By: chris_oat
in ur main_function?


Re: Farbigen Nebel erstellen?/ create colored fog? [Re: ] #284550
08/13/09 21:25
08/13/09 21:25
Joined: Jan 2004
Posts: 60
D
Deha Offline OP
Junior Member
Deha  Offline OP
Junior Member
D

Joined: Jan 2004
Posts: 60
i put it in my main funtion,but the same error appears...

Maybe it is not the fog i want to use... I'm looking for a colored fog which only appears on a special place...maybe like a particle effect(magical fog). I tried 'easy particle 3' but it seems hard to create a fog with it. Any other possibility?

Re: Farbigen Nebel erstellen?/ create colored fog? [Re: Deha] #284641
08/14/09 11:54
08/14/09 11:54
Joined: Jan 2004
Posts: 60
D
Deha Offline OP
Junior Member
Deha  Offline OP
Junior Member
D

Joined: Jan 2004
Posts: 60
Nobody has an idea? :-(

Re: Farbigen Nebel erstellen?/ create colored fog? [Re: Deha] #284651
08/14/09 12:15
08/14/09 12:15

C
chris_oat
Unregistered
chris_oat
Unregistered
C



ur right that is not the right fog_function for u if u want fog only on some specific spots.
i think i find once a site with a volumetric fog. i have to search. if i find it i post it.
one question. do u have commercial or pro to use shaders?

Re: Farbigen Nebel erstellen?/ create colored fog? [Re: ] #284930
08/15/09 23:40
08/15/09 23:40
Joined: Jan 2004
Posts: 60
D
Deha Offline OP
Junior Member
Deha  Offline OP
Junior Member
D

Joined: Jan 2004
Posts: 60
Thanks!Yeah a volumetric shader could be the fog i need... i hope you can find it! I'm able to use shaders by the way! ;-)


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