Weather Effects?
2 posters
Page 1 of 1
Weather Effects?
As it's currently raining outside I got the idea that weather effects would be a very nice feature.
Possible weather effects: rain, snow, fog, smog? (like fog but grey not white).
Is it possible to implement these?
Greets,
croxxx
Possible weather effects: rain, snow, fog, smog? (like fog but grey not white).
Is it possible to implement these?
Greets,
croxxx
croxxx- Posts : 43
Join date : 2011-03-24
Re: Weather Effects?
I plan on having weather effects; namely rain and snow. I have no real plans for fog or smog, more because i don't have a good handle on how to implement them in this type of world (completely destructable).
But i'll keep them in mind. I'm currently working on a change over to deferred rendering since i have a couple of ideas for proper dynamic lighting (moving, pulsing) that require this. Maybe this will also yield some ability for fog / smog.
But i'll keep them in mind. I'm currently working on a change over to deferred rendering since i have a couple of ideas for proper dynamic lighting (moving, pulsing) that require this. Maybe this will also yield some ability for fog / smog.
Slaihne- Posts : 264
Join date : 2011-03-17
Age : 56
Re: Weather Effects?
Nice to hear that it is planned!
BTW: the "simple glass" block has a bug: light doesn't come through...
Greets,
croxxx
BTW: the "simple glass" block has a bug: light doesn't come through...
Greets,
croxxx
croxxx- Posts : 43
Join date : 2011-03-24
Re: Weather Effects?
Oops, I forgot to tick a flag for that one then.
If you want to fix it on your setup find the BLOCKS.XML file, it should be on the following path below your install..
assets\gfx\block\Solid
Open it up in notepad and then scroll down toward the bottom, you should see a section like so (i've marked the change you need to make)...
<dtBlocks>
<name>windowplain</name>
<r>0</r>
<g>0</g>
<b>0</b>
<NoiseTexNo>0</NoiseTexNo>
<trans>1</trans>
<burnable>0</burnable>
<diggable>1</diggable>
<solidtoplayer>1</solidtoplayer>
<solidtoliquid>1</solidtoliquid>
<solidtosun>0</solidtosun>
<solidtoprop>1</solidtoprop> ****<--- change this from 1 to 0
<topface>windowplain</topface>
<bottomface>windowplain</bottomface>
<leftface>windowplain</leftface>
<rightface>windowplain</rightface>
<frontface>windowplain</frontface>
<backface>windowplain</backface>
<etopface />
<ebottomface />
<eleftface />
<erightface />
<efrontface />
<ebackface />
</dtBlocks>
You can also monkey around with things like the RGB values to make the block emit light (or any other block).
The flag i've marked is SOLIDTOPROP, a 1 means that the block is solid to propogated light. The block will let sunlight shine directly through it because of the SOLIDTOSUN = 0 (if it were part of a ceiling etc) but will block light that is propogated (colored lights and sunlight that is not direct).
If you want to fix it on your setup find the BLOCKS.XML file, it should be on the following path below your install..
assets\gfx\block\Solid
Open it up in notepad and then scroll down toward the bottom, you should see a section like so (i've marked the change you need to make)...
<dtBlocks>
<name>windowplain</name>
<r>0</r>
<g>0</g>
<b>0</b>
<NoiseTexNo>0</NoiseTexNo>
<trans>1</trans>
<burnable>0</burnable>
<diggable>1</diggable>
<solidtoplayer>1</solidtoplayer>
<solidtoliquid>1</solidtoliquid>
<solidtosun>0</solidtosun>
<solidtoprop>1</solidtoprop> ****<--- change this from 1 to 0
<topface>windowplain</topface>
<bottomface>windowplain</bottomface>
<leftface>windowplain</leftface>
<rightface>windowplain</rightface>
<frontface>windowplain</frontface>
<backface>windowplain</backface>
<etopface />
<ebottomface />
<eleftface />
<erightface />
<efrontface />
<ebackface />
</dtBlocks>
You can also monkey around with things like the RGB values to make the block emit light (or any other block).
The flag i've marked is SOLIDTOPROP, a 1 means that the block is solid to propogated light. The block will let sunlight shine directly through it because of the SOLIDTOSUN = 0 (if it were part of a ceiling etc) but will block light that is propogated (colored lights and sunlight that is not direct).
Slaihne- Posts : 264
Join date : 2011-03-17
Age : 56
Re: Weather Effects?
Ahh, thanks!
Erm - I just discovered that you can hear water drippling sounds in buildings...
Is that a bug?
Greets,
croxxx
Erm - I just discovered that you can hear water drippling sounds in buildings...
Is that a bug?
Greets,
croxxx
croxxx- Posts : 43
Join date : 2011-03-24
Re: Weather Effects?
Not really a bug, just a consequence of a basic implementation of an underground detection routine
Either that or you got a leak in your building
Either that or you got a leak in your building
Slaihne- Posts : 264
Join date : 2011-03-17
Age : 56
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Fri Jul 01, 2016 7:25 am by croxxx
» Source?
Thu Jul 12, 2012 9:55 am by raistlinthewiz
» Version Available (Take 2)
Sat Jun 09, 2012 3:23 am by kamild1996
» Terrain Rendering Bug
Thu May 17, 2012 8:07 am by sackboy789
» Mystery Block!
Thu Mar 29, 2012 4:42 am by Corvin73
» Your procedural tree/plant seeding technique?
Sat Mar 24, 2012 3:10 am by Slaihne
» Voxeliq project
Wed Mar 07, 2012 4:25 am by raistlinthewiz
» What is a Tech-Test?
Wed Jan 18, 2012 12:32 pm by joeydmars
» Images
Fri Jan 06, 2012 6:02 am by croxxx