POV-Ray : Newsgroups : povray.general : Dust Server Time
6 Nov 2024 04:18:19 EST (-0500)
  Dust (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Vladimir
Subject: Dust
Date: 27 Aug 2004 16:45:00
Message: <web.412f9cde347225dd302903ba0@news.povray.org>
Is there an easy way to cover everything in your scene with a thin layer of
dust. oh and also without taking up huge amounts of memory and slowing the
render speed down too much- ive been thinkink of trying a mesh with a
single triangle to take advantage of mesh instantiation(sp?) but is this
the best answer?
Thanks
Peter


Post a reply to this message

From: Ross
Subject: Re: Dust
Date: 27 Aug 2004 17:40:51
Message: <412faa63$1@news.povray.org>
"Vladimir" <nomail@nomail> wrote in message
news:web.412f9cde347225dd302903ba0@news.povray.org...
> Is there an easy way to cover everything in your scene with a thin layer
of
> dust. oh and also without taking up huge amounts of memory and slowing the
> render speed down too much- ive been thinkink of trying a mesh with a
> single triangle to take advantage of mesh instantiation(sp?) but is this
> the best answer?
> Thanks
> Peter
>
>

i can't suggest any concrete sollutions, but i'll post a few links. first to
a paper i've been meaning to read about metallic patinas, which can look
sort of like dust, in that it's very thin, and "changes" the finish of the
object it is on.

http://graphics.csail.mit.edu/~dorsey/papers/patina/

one question i have is this, where is your dust? airborne? resting on
objects, if so, does it need a thickness to it?

also, another paper i have read, and have been spinning my wheels on when i
have spare cycles up there is this, which deals with covering everything in
your scene with snow. a dust particle and a snowflake might have some
similar properties, such as how it can manage to get slightly under things
even if the path is blocked from straight above. the problem with the
analogy is that dust rarely is built up to a significant thickness like
snow. so maybe dust-as-snow isn't a reasonable match. still an interesting
read.

website:
http://www.cs.ubc.ca/nest/imager/contributions/fearing/snow/snow.html
paper in pdf:
http://graphics.stanford.edu/courses/cs448-01-spring/papers/fearing.pdf

for fun i just searched "computer modeling and rendering of dust" and came
across a paper that cites the above snow paper and patina paper. so maybe
i'm not too far off. that paper can be found here:
http://www.cse.cuhk.edu.hk/~ttwong/papers/dust/dust.html

off to read it now... i've not yet been able to translate any of these or
other things like them into povray use (most of it is over my head though i
intend to try someday), but i'd be curious if anyone has.

good luck, maybe someone will offer real help :)
ross


Post a reply to this message

From: Ross
Subject: Re: Dust
Date: 27 Aug 2004 18:25:44
Message: <412fb4e8$1@news.povray.org>
"Ross" <rli### [at] everestkcnet> wrote in message
news:412faa63$1@news.povray.org...

> for fun i just searched "computer modeling and rendering of dust" and came
> across a paper that cites the above snow paper and patina paper. so maybe
> i'm not too far off. that paper can be found here:
> http://www.cse.cuhk.edu.hk/~ttwong/papers/dust/dust.html
>

the ACM page i found the paper on lists it as related, the paper itself
doesn't cite it. just wanted to clear that up.


Post a reply to this message

From: Vladimir
Subject: Re: Dust
Date: 29 Aug 2004 10:40:00
Message: <web.4131e9a1dab9b99e4e987f070@news.povray.org>
the dust I would be moddelling would be on the upper surfaces of objects -
airborne dust can be pretty well simulated with media. The one thought I
had would be this: Is there any way to create a loop that distinguishes all
surfaces facing in a single direction or at least partly in a direction ie
set to pick up y facing surfaces would also pick up the line x*y. Dont know
whether that makes sense. It would then add a semi transparent layer on top
of the current texture. Im not sure how I would go about writing this or
even if it is possible in povray.
Peter


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Dust
Date: 29 Aug 2004 13:14:04
Message: <41320edc@news.povray.org>
"Vladimir" <nomail@nomail> schreef in bericht
news:web.4131e9a1dab9b99e4e987f070@news.povray.org...
> the dust I would be moddelling would be on the upper surfaces of objects -
> airborne dust can be pretty well simulated with media. The one thought I
> had would be this: Is there any way to create a loop that distinguishes
all
> surfaces facing in a single direction or at least partly in a direction ie
> set to pick up y facing surfaces would also pick up the line x*y. Dont
know
> whether that makes sense. It would then add a semi transparent layer on
top
> of the current texture. Im not sure how I would go about writing this or
> even if it is possible in povray.

A few things I noticed while examining dust in my room (don't ask :))

1. (this one is quite logical, and actually more or less what you describe
here) Dust falls down, so parts of your scene that are not accessible from
above (if you know what I mean) will be more or less clean.  This can be
accomplished with the projection pattern in MegaPOV, with a blur to make it
more realistic
2. Dust is more visible from low angles than from high angles, this can be
simulated with the AOI pattern, also in MegaPOV.

I combined both to get this result: http://sad.nostalg1c.org/dusttest.png

cu!
-- 
ZK AKA Gaeriel
http://www.povplace.be.tf
"I don't take money, only girly giggles."


Post a reply to this message

From: Anthony D  Baye
Subject: Re: Dust
Date: 29 Aug 2004 13:17:05
Message: <41320F90.6BC3A69A@sdsmt.edu>
I have no Idea how this would be done without using lots of tiny particles,
and even then Icouldn't give you much of an Idea of how to write such a macro.

Maybe you should try Megapov's Mechsim function, it might give you the desired
effect.  you could write a recursive distribution macro.  something that would
randomly distribute the particles throughout a given area (translate <randx,
vector_supplied_by_mechsim+particle_radius, randz>).

I don't know, maybe this is totally crazy, I haven't worked much with
MegaPov.  But the only other thing I can think of is writing your own gravity
sim to make the distributed particles fall until the trace macro detects a
surface.

A.D.B.

Vladimir wrote:

> the dust I would be moddelling would be on the upper surfaces of objects -
> airborne dust can be pretty well simulated with media. The one thought I
> had would be this: Is there any way to create a loop that distinguishes all
> surfaces facing in a single direction or at least partly in a direction ie
> set to pick up y facing surfaces would also pick up the line x*y. Dont know
> whether that makes sense. It would then add a semi transparent layer on top
> of the current texture. Im not sure how I would go about writing this or
> even if it is possible in povray.
> Peter


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Dust
Date: 29 Aug 2004 14:41:02
Message: <4132233e$1@news.povray.org>
Vladimir, I think you need to use the "slope y" pattern on a texture 
map, with a very grainy texture for the horizontal parts and transparent 
for the rest, like I did for my beach scene:

http://www.ignorancia.org/images/personal/coinchas-8b.jpg

I never tried to use this trick for a layer of dust, but I think it can 
be very difficult to adjust (dust particles are much smaller than sand 
grains).

--
Jaime


Post a reply to this message

From: Ross
Subject: Re: Dust
Date: 30 Aug 2004 10:33:14
Message: <41333aaa$1@news.povray.org>
"Zeger Knaepen" <zeg### [at] studentkuleuvenacbe> wrote in message
news:41320edc@news.povray.org...
> "Vladimir" <nomail@nomail> schreef in bericht
> news:web.4131e9a1dab9b99e4e987f070@news.povray.org...
> > the dust I would be moddelling would be on the upper surfaces of
objects -
> > airborne dust can be pretty well simulated with media. The one thought I
> > had would be this: Is there any way to create a loop that distinguishes
> all
> > surfaces facing in a single direction or at least partly in a direction
ie
> > set to pick up y facing surfaces would also pick up the line x*y. Dont
> know
> > whether that makes sense. It would then add a semi transparent layer on
> top
> > of the current texture. Im not sure how I would go about writing this or
> > even if it is possible in povray.
>
> A few things I noticed while examining dust in my room (don't ask :))
>
> 1. (this one is quite logical, and actually more or less what you describe
> here) Dust falls down, so parts of your scene that are not accessible from
> above (if you know what I mean) will be more or less clean.  This can be
> accomplished with the projection pattern in MegaPOV, with a blur to make
it
> more realistic

It does fall down, but it also is blown in. In my last apartment which I
just moved out of, it had 3 windows, all facing the street, a main
neighborhood street. I only ever opened one of those windows, and I hardly
ever dusted (ah... my mother would kill me ;)

you could see that surfaces that faced that window had significantly more
dust on them than surfaces that faced away from that window, even near
vertical faces like the side of my television.

nice example image, nonetheless. pretty dusty :)


Post a reply to this message

From: Vladimir
Subject: Re: Dust
Date: 30 Aug 2004 11:10:00
Message: <web.41334259dab9b99ea14f564e0@news.povray.org>
I will have to try the slope y texture- that sounds like it could produce
some decent results. Un fortunately I am working in povray and have not got
megapov( I am on dial up and I really dont want to spend hours downloading
it) so most of the other functions suggested are out.
Thanks
Peter


Post a reply to this message

From: Vladimir
Subject: Re: Dust
Date: 3 Sep 2004 08:55:00
Message: <web.4138694cdab9b99e302903ba0@news.povray.org>
hi
Zeger : could I maybe get the source code for that example you did. I have
finally turned to the dark side and got megapov  and would quite like to
see how you did that.
Thanks
Peter


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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