glass and water
2 posters
Page 1 of 1
Re: glass and water
I gather you're talking about the 'horizon' being visible in the distance?
What happens at the moment is this...
If your 'head' is in water and is below 64 on the Y axis, then i do two things...
I draw a 'skirt' round the edge of the world up to sea level (64).
I change the fog colour to a dark green (the same colour as the skirt).
In your example, you are standing in a hole, below sea level looking into the sea.
Because your head isn't in water, no skirt, and fog is as it would be above ground.
If there was the ability to drain that sea (or you just plain dug a big dry valley below sea level).
Then you wouldn't want the skirt or the dark green fog showing up in that view.
It was a tricky one to try and stop the undersea horizon from showing and as you sea, not entirely successful
I'll have to have a good think about it and see (excuse the pun) if i can come up with something better.
What happens at the moment is this...
If your 'head' is in water and is below 64 on the Y axis, then i do two things...
I draw a 'skirt' round the edge of the world up to sea level (64).
I change the fog colour to a dark green (the same colour as the skirt).
In your example, you are standing in a hole, below sea level looking into the sea.
Because your head isn't in water, no skirt, and fog is as it would be above ground.
If there was the ability to drain that sea (or you just plain dug a big dry valley below sea level).
Then you wouldn't want the skirt or the dark green fog showing up in that view.
It was a tricky one to try and stop the undersea horizon from showing and as you sea, not entirely successful
I'll have to have a good think about it and see (excuse the pun) if i can come up with something better.
Slaihne- Posts : 264
Join date : 2011-03-17
Age : 56
Re: glass and water
I had a think, and i reckon i could use the 'caustic' draw flag to change the fog colour so that all blocks would fade to the correct fog colour; either an overland or underwater colour, so that would fix that area.
Unfortunately that still leaves the part 'beyond' the horizon, where no blocks are actually being drawn. It would still be the horizon colour, not an undersea horizon colour.
I can't permanently draw a dark green skirt, or have my skdome dark green in the bottom half since someone looking down a dry valley that is below sea level would see a dark green wall way in the distance.
I'm open to suggestions
Unfortunately that still leaves the part 'beyond' the horizon, where no blocks are actually being drawn. It would still be the horizon colour, not an undersea horizon colour.
I can't permanently draw a dark green skirt, or have my skdome dark green in the bottom half since someone looking down a dry valley that is below sea level would see a dark green wall way in the distance.
I'm open to suggestions
Slaihne- Posts : 264
Join date : 2011-03-17
Age : 56
Re: glass and water
Maybe there should be a territory beyond which you can't see anything in water (only darkness) or maybe i have some problems in translation or don't understand something
MrFast- Posts : 42
Join date : 2011-04-14
Age : 32
Location : Russia
Re: glass and water
Well, it only took 3 months but i think this looks a lot better now...
https://blokworld.forumotion.co.uk/gallery/General-Images/WaterView-pic_12.htm
Unfortunately this is about as good as i'm going to get it i reckon (famous last words). There's a lot of fancy foot work going on here to get independant water fogging and surface fogging going on.
Also, the water fogging is only dependant on whether the player has his head in the water. There is no 'depth' check so the player shouldn't see the fog change once he gets below a certain level or anything like that.
This will be in the next version i upload, once i finish monkeying about with some more blocks.
https://blokworld.forumotion.co.uk/gallery/General-Images/WaterView-pic_12.htm
Unfortunately this is about as good as i'm going to get it i reckon (famous last words). There's a lot of fancy foot work going on here to get independant water fogging and surface fogging going on.
Also, the water fogging is only dependant on whether the player has his head in the water. There is no 'depth' check so the player shouldn't see the fog change once he gets below a certain level or anything like that.
This will be in the next version i upload, once i finish monkeying about with some more blocks.
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