POV-Ray : Newsgroups : povray.binaries.images : Let it snow (72k) Server Time
19 Aug 2024 16:12:50 EDT (-0400)
  Let it snow (72k) (Message 11 to 20 of 23)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 3 Messages >>>
From: Christoph Hormann
Subject: Re: Let it snow (72k)
Date: 28 Nov 2000 03:16:12
Message: <3A2369CC.60EF88B6@gmx.de>
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] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Thomas
Subject: Re: Let it snow (72k)
Date: 28 Nov 2000 09:39:17
Message: <3A23C38B.1EDED0D@gmx.net>
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] gmxde>
> Homepage: http://www.schunter.etc.tu-bs.de/~chris/
>
>   ------------------------------------------------------------------------
>  [Image]


Post a reply to this message

From: Jerry
Subject: Re: Let it snow (72k)
Date: 28 Nov 2000 11:20:46
Message: <jerry-D53AE1.08204428112000@news.povray.org>
In article <3A22E208.5E5690EF@gmx.de>, Christoph Hormann 
<chr### [at] gmxde> 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

From: Christoph Hormann
Subject: Re: Let it snow (72k)
Date: 28 Nov 2000 12:33:46
Message: <3A23EC7B.91BEDE8D@gmx.de>
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] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Christoph Hormann
Subject: Re: Let it snow (72k)
Date: 28 Nov 2000 12:35:35
Message: <3A23ECE9.FE55E21E@gmx.de>
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] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Chris Huff
Subject: Re: Let it snow (72k)
Date: 28 Nov 2000 16:22:50
Message: <chrishuff-14F04C.16232428112000@news.povray.org>
In article <3A236554.C7F5B018@gmx.de>, Christoph Hormann 
<chr### [at] gmxde> 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] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Christoph Hormann
Subject: Re: Let it snow (72k)
Date: 28 Nov 2000 16:54:37
Message: <3A24299D.80382AB5@gmx.de>
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] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Xplo Eristotle
Subject: Re: Let it snow (72k)
Date: 28 Nov 2000 20:12:56
Message: <3A245958.1FF7BD09@unforgettable.com>
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

From: Chris Huff
Subject: Re: Let it snow (72k)
Date: 29 Nov 2000 06:11:03
Message: <chrishuff-85E898.06113829112000@news.povray.org>
In article <3A24299D.80382AB5@gmx.de>, Christoph Hormann 
<chr### [at] gmxde> 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] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Chris Huff
Subject: Re: Let it snow (72k)
Date: 29 Nov 2000 06:15:40
Message: <chrishuff-09873A.06161429112000@news.povray.org>
In article <3A2369CC.60EF88B6@gmx.de>, Christoph Hormann 
<chr### [at] gmxde> 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] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 3 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.