I am working on modeling snow crystal by using boolean hexagonal automata. The work is simple,all cells start from state "VAPOR". Then following some rules they changed to "ice". The value of the cells initialized to a value beta and can go up to 1.
The problem is that I cannot create muchmore contrast between the color of vapor and ice and intermediate states. I used a simple approach
R=cell_value
G=cell_value
B=cell_value
but it does not work. I want much more contrast in colors of the cells depending on their value.
In the paper they described...............
"We use much more contrast; We think showing ice (value 1) and
vapor ( value<1) should offer great contrast. We have used various
schemes, but using grayscale for vapor and pure hues showing the
iteration at which a cell turned to ice is one that we tend to favor."
The above lines are not clear to me. Would anyone please suggest me a simple approach or explain this one ?
Creating more contrast
Started by udvat, Jun 20 2007 04:09 AM
3 replies to this topic
#1
Posted 20 June 2007 - 04:09 AM
#2
Posted 20 June 2007 - 05:25 AM
Sounds like they show the vapor cells as gray and the ice cells as various colors (pure hues means pure red, yellow, green, blue, etc.)
reedbeta.com - developer blog, OpenGL demos, and other projects
#3
Posted 20 June 2007 - 06:24 AM
Translation:
If the cell value is less than 1, it is vapour. Draw it some unspecified greyscale colour.
If the cell value is 1, it is ice. Draw it a pure colour, depending on when it turned to ice. For instance, if it turned to ice in the first iteration, make it red, if it turned the second make it green, and so on.
It doesn't sound to me like a very realistic visualisation of a snow crystal, more like an interesting debug output.
EDIT: They could mean consecutive hues, so it cycles through the rainbow.
If the cell value is less than 1, it is vapour. Draw it some unspecified greyscale colour.
If the cell value is 1, it is ice. Draw it a pure colour, depending on when it turned to ice. For instance, if it turned to ice in the first iteration, make it red, if it turned the second make it green, and so on.
It doesn't sound to me like a very realistic visualisation of a snow crystal, more like an interesting debug output.
EDIT: They could mean consecutive hues, so it cycles through the rainbow.
#4
Posted 21 June 2007 - 05:41 AM
thanks to all, but this does not work too.
Would anyone plz explain me the bellow?
NB. pallete
sfP1=:(<.0.75*3#"0 i.128),Hue 5r6-2r3*(i.%<:)128
NB. scaling for coloring
sf_c=:3 : 0
<.(y.-1)%(1e_4>.<:>./,y.)%127.999
)
Would anyone plz explain me the bellow?
NB. pallete
sfP1=:(<.0.75*3#"0 i.128),Hue 5r6-2r3*(i.%<:)128
NB. scaling for coloring
sf_c=:3 : 0
<.(y.-1)%(1e_4>.<:>./,y.)%127.999
)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












