 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Just thought it's about time to start the winter season, the first
christmas trees are also being grown, so here is some fresh snow...
It's written new from scratch in about 1-2 hours, i wonder if there is
already a good snow macro available, but i don't remember anything.
The construction is quite simple, blob compontents positioned by trace
(47000 in total) so a lot of things are not yet very realistic.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
Attachments:
Download 'snow_01.jpg' (72 KB)
Preview of image 'snow_01.jpg'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I like this very much!
I can see some imperfections but it's promising to say the least.
Remco
Christoph Hormann wrote:
>
> Just thought it's about time to start the winter season, the first
> christmas trees are also being grown, so here is some fresh snow...
>
> It's written new from scratch in about 1-2 hours, i wonder if there is
> already a good snow macro available, but i don't remember anything.
>
> The construction is quite simple, blob compontents positioned by trace
> (47000 in total) so a lot of things are not yet very realistic.
>
> Christoph
>
> --
> Christoph Hormann <chr### [at] gmx de>
> Homepage: http://www.schunter.etc.tu-bs.de/~chris/
>
> --------------------------------------------------------------------------------
> [Image]
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
There are some regular patterns from the fact that you used a grid to
position the components...maybe a random placement would be better. You
could also use eval_pattern() or eval_pigment() to control the density
of the snow, make it look more uneven on the flat areas.
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
You cheated, you used shaving foam instead.
--
Cheers
Steve email mailto:ste### [at] zeropps uklinux net
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
11:44pm up 48 days, 2:07, 2 users, load average: 1.00, 1.01, 1.00
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
The snow looks thicker than it probably should, but it is very very cool. It
needs icicles. Also, it looks like the snow fell straight down, does your
method allow you to defind a wind direction that would place the snow to one
side of everything?
Josh
Christoph Hormann wrote:
> Just thought it's about time to start the winter season, the first
> christmas trees are also being grown, so here is some fresh snow...
>
> It's written new from scratch in about 1-2 hours, i wonder if there is
> already a good snow macro available, but i don't remember anything.
>
> The construction is quite simple, blob compontents positioned by trace
> (47000 in total) so a lot of things are not yet very realistic.
>
> Christoph
>
> --
> Christoph Hormann <chr### [at] gmx de>
> Homepage: http://www.schunter.etc.tu-bs.de/~chris/
>
> ------------------------------------------------------------------------
> [Image]
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <3A22FAC1.6BADE805@spiritone.com>, eng### [at] spiritone com
wrote:
> The snow looks thicker than it probably should,
We had a snow that looked exactly like this a couple days ago...all you
need is a damp snow that is constantly drifting straight down, with
little wind and no sun.
> but it is very very cool.
Very funny...
> It needs icicles.
Isosurfaces!
> Also, it looks like the snow fell straight down, does your method
> allow you to defind a wind direction that would place the snow to one
> side of everything?
I think he just used the trace() function going straight down from the
sky. Slanting the direction you give trace() should give you something
like that effect.
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Remco de Korte wrote:
>
> I like this very much!
> I can see some imperfections but it's promising to say the least.
>
> Remco
>
Thank You.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Steve wrote:
>
> You cheated, you used shaving foam instead.
>
:-)
I think foam would probably need a bit less 'heavy' texture.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Chris Huff wrote:
>
> There are some regular patterns from the fact that you used a grid to
> position the components...maybe a random placement would be better.
I don't think completely random would be good, but some 'jitter' could
probably help.
> You
> could also use eval_pattern() or eval_pigment() to control the density
> of the snow, make it look more uneven on the flat areas.
>
That's a good idea, thanks.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Josh English wrote:
>
> The snow looks thicker than it probably should, but it is very very cool. It
> needs icicles. Also, it looks like the snow fell straight down, does your
> method allow you to defind a wind direction that would place the snow to one
> side of everything?
>
Just changing the direction would not be that good, because the snow
should much depend on tho slope, so you would have to take the normal
vector into account (right now it isn't used). Usually the snow on the
wind side of objects is thinner and less regular.
icicles would be nice, but they would involve pretty much calculation to
be placed properly.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Chris Huff wrote:
>
> > It needs icicles.
>
> Isosurfaces!
>
Or maybe blobs would also do for that.
> > Also, it looks like the snow fell straight down, does your method
> > allow you to defind a wind direction that would place the snow to one
> > side of everything?
>
> I think he just used the trace() function going straight down from the
> sky. Slanting the direction you give trace() should give you something
> like that effect.
>
As i said in the reply to Josh, that alone would not be that good, at
least variation of the blob component size according to the normal of the
objects would be necessary.
I also think at some places like the 'N' in 'Snow' some 'surrounding
observation' would be necessary to avoid the snow overlapping with the
objects too much (right now i only use one 'trace' per component). Maybe
some components with negative strength could also help there.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Hi Christoph,
That looks very good, I always wondered whether something like that was
possible in pov. Would you mind posting the code?
Regards,
Thomas
Christoph Hormann wrote:
> Just thought it's about time to start the winter season, the first
> christmas trees are also being grown, so here is some fresh snow...
>
> It's written new from scratch in about 1-2 hours, i wonder if there is
> already a good snow macro available, but i don't remember anything.
>
> The construction is quite simple, blob compontents positioned by trace
> (47000 in total) so a lot of things are not yet very realistic.
>
> Christoph
>
> --
> Christoph Hormann <chr### [at] gmx de>
> Homepage: http://www.schunter.etc.tu-bs.de/~chris/
>
> ------------------------------------------------------------------------
> [Image]
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <3A22E208.5E5690EF@gmx.de>, Christoph Hormann
<chr### [at] gmx de> wrote:
>Just thought it's about time to start the winter season, the first
>christmas trees are also being grown, so here is some fresh snow...
>
>It's written new from scratch in about 1-2 hours, i wonder if there is
>already a good snow macro available, but i don't remember anything.
It wasn't designed as a general-purpose macro, but there was aa good
example of making it snow posted to comp.g.r.r a year or so ago. I used
it on the image at http://www.hoboes.com/jerry/Gallery/Christmas.shtml
It's very christmas-card like, so might not be what you want. But I can
dig up the code if you want.
Jerry
--
http://www.hoboes.com/jerry/
"Give a man a fish and you feed him for a day. Teach him to fish, and you've
depleted the lake."--It Isn't Murder If They're Yankees
(http://www.hoboes.com/jerry/Murder/)
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Thomas wrote:
>
> Hi Christoph,
>
> That looks very good, I always wondered whether something like that was
> possible in pov. Would you mind posting the code?
>
> Regards,
>
> Thomas
>
Is in p.t.s-f.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Jerry wrote:
>
> It wasn't designed as a general-purpose macro, but there was aa good
> example of making it snow posted to comp.g.r.r a year or so ago. I used
> it on the image at http://www.hoboes.com/jerry/Gallery/Christmas.shtml
>
> It's very christmas-card like, so might not be what you want. But I can
> dig up the code if you want.
>
That looks like something completely different, but it would be
interesting anyway.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <3A236554.C7F5B018@gmx.de>, Christoph Hormann
<chr### [at] gmx de> wrote:
> I don't think completely random would be good, but some 'jitter' could
> probably help.
I've been getting good results with completely random snow...why do you
think it would be a problem?
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Chris Huff wrote:
>
> I've been getting good results with completely random snow...why do you
> think it would be a problem?
>
I have not tried it yet, but i thought it would need too many blob
components to fill up all holes.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Christoph Hormann wrote:
>
> Just thought it's about time to start the winter season, the first
> christmas trees are also being grown, so here is some fresh snow...
Looks pretty good, but it needs radiosity or something.. snow just
doesn't look right without a ton of skylight in the shadows. ^_-
-Xplo
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <3A24299D.80382AB5@gmx.de>, Christoph Hormann
<chr### [at] gmx de> wrote:
> I have not tried it yet, but i thought it would need too many blob
> components to fill up all holes.
Depends...I went as high as 50000 components with no trouble for a
simple scene I am doing, and I am now using 20000. I haven't tried a
grid formation yet.
I think random placement gives better looking results, though a bit
lumpier, right now my biggest problem is getting it not to overhang
edges too much.
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <3A2369CC.60EF88B6@gmx.de>, Christoph Hormann
<chr### [at] gmx de> wrote:
> > Isosurfaces!
> Or maybe blobs would also do for that.
Probably...you could even use trace() or eval_pattern() with the object
pattern to place them automatically.
> As i said in the reply to Josh, that alone would not be that good, at
> least variation of the blob component size according to the normal of the
> objects would be necessary.
Hmm, yes...that is what my snow macro does. I will post a picture soon...
> I also think at some places like the 'N' in 'Snow' some 'surrounding
> observation' would be necessary to avoid the snow overlapping with the
> objects too much (right now i only use one 'trace' per component). Maybe
> some components with negative strength could also help there.
I'm attempting to use 4 additional traces to determine if there is a
sharp edge nearby and avoid placing flakes there. It is actually a bit
similar to the depth-based find_edges post_process filter in concept, I
am about to modify it to use the normal as well.
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Chris Huff wrote:
>
> I'm attempting to use 4 additional traces to determine if there is a
> sharp edge nearby and avoid placing flakes there. It is actually a bit
> similar to the depth-based find_edges post_process filter in concept, I
> am about to modify it to use the normal as well.
>
That's exactly what i started too, but i did not yet have time to work
enough on it (just got a few funny 'melting ice cream' pictures until
now).
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Neat! A 10-day photorealistic version with rad and all that would really be
cool...
--
David Fontaine <dav### [at] faricy net> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
This might be a good use for a perticle system...
--
David Fontaine <dav### [at] faricy net> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |