![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
As mentioned to Florian Brucker, here's a link to a better
and more handsome PDF-Version:
http://www.eml.hiroshima-u.ac.jp/member/staff/kin/publications/CA93/wdroplet
.pdf
If you actually do it, remember to comment it the SDL heavily,
so that others might learn from it. I know, you're french, and would
probably comment in french, but I'm german and still try to stick to
english when naming parameters and such, so that most Users might
learn something and understand it very easily...
And from your posts it doesn't look like you're not skilled enough for
english commentary! :-)
Regards,
Tim
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmx de
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
3e248276@news.povray.org...
> If you actually do it, remember to comment it the SDL heavily,
> so that others might learn from it.
Oh well, some people here are so good at maths that they could probably
implement this in a evening or so [hint, hint ;-)] ...
My only advantage is that Nobel Prize Pierre-Gilles de Gennes (who is cited
a in the paper) works a couple of streets away so I could perhaps kidnap him
and ask for functional, working code...
> probably comment in french, but I'm german and still try to stick to
> english when naming parameters and such, so that most Users might
> learn something and understand it very easily...
I know, I know, even the scenes I don't plan to release are commented in
English now, just in case I have to cut and paste some code in these
groups... Not that I like it but it's better than renaming the variables at
the last minute.
G.
--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <3e23a9eb@news.povray.org>, "KalleK" <kal### [at] gmx de> wrote:
> Maybe, you can tinker with clipped_by, to clip the surface of the drop which
> would contact the window. I don't know wether the ray remembers the ior of
> the object it currently is in or not. But if it's so, the ray would go from
> 1.33 straight into 1.45. which should be right...
Don't. This will not work properly: the ray will never leave the object
if it goes through an area that was clipped away, and won't enter the
object properly from the glass side. The correct solution is simpler,
just overlap the objects.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <3e23f9ed$1@news.povray.org>,
"Tim Nikias" <tim### [at] gmx de> wrote:
> It "does things"? What does it do? Just curious.
Take a ray entering a droplet for example: it hits the droplet surface
and gets refracted, and is now inside the droplet. The next surface it
hits is the glass, so it gets refracted as it should when going from
water to glass. It is now inside the glass and the droplet. When it hits
the other droplet surface, *no refraction is done*, but it leaves the
droplet. (I think it still computes the texture, I'm not sure it should
though.)
Now the ray has gone through the droplet, been refracted going from
air/water and water/glass, and is now in the glass, just as it should be.
> Though doing that with blobs is still kinda difficult...
No more so than for any other object. The difficulty is more determined
by the object you are placing the blobs on.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Why don't you like it? I've heard several rumours about
french people and languages... They like to stick to theirs... ;-)
In some respect, germans are much the same. Some are
really against incorporating english words into the known german
vocabulary. And sometimes, things get messed up. For example,
cell-phones are called "Handy", but ask any american, they
wouldn't know what we're referring to, unless they're told.
About that math-stuff... I think, if I sit down, I could solve it,
though perhaps not strictly by the rules given in the paper. Especially
that modelling part about angles of the water-droplets and such would
be quite difficult, I think.
But right now, I'm not really in the mood to dig into that. There's a lot
of scientific papers floating on my harddrive, waiting to be implemented
in one way or the other... Next week perhaps... ;-)
No, seriously, I do like the idea of this, might be a very useful addition
to lots of realistic scenes. I've actually found some MPEG showing off
what the code is capable of:
http://www.eml.hiroshima-u.ac.jp/member/staff/kin/publications/JVCA
As I'm posting this, the page can't be accessed, don't know why. Perhaps
back online tomorrow.
We'll see who gets to implement this first. That wave-algorithm Rune
and then Christopher Hormann (if I'm not mistaken, was at least a
Christopher :-) implemented was something I wanted to do as well...
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmx de
>
> Oh well, some people here are so good at maths that they could probably
> implement this in a evening or so [hint, hint ;-)] ...
>
> My only advantage is that Nobel Prize Pierre-Gilles de Gennes (who is
cited
> a in the paper) works a couple of streets away so I could perhaps kidnap
him
> and ask for functional, working code...
>
>
> I know, I know, even the scenes I don't plan to release are commented in
> English now, just in case I have to cut and paste some code in these
> groups... Not that I like it but it's better than renaming the variables
at
> the last minute.
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> Take a ray entering a droplet for example: it hits the droplet surface
> and gets refracted, and is now inside the droplet. The next surface it
> hits is the glass, so it gets refracted as it should when going from
> water to glass. It is now inside the glass and the droplet. When it hits
> the other droplet surface, *no refraction is done*, but it leaves the
I guess you meant "When it hits the other glass surface", cause it makes
no sense if it doesn't refract when exiting the water and entering air.
> droplet. (I think it still computes the texture, I'm not sure it should
> though.)
I think it should compute the texture, since if an object is transparent and
has two sides, POV's rays will be affected by each surface. That's just
the way its implemented and IMHO how I would expect it to behave. If
we'd want 100% realism, we'd probably have to texture it completely
transparent, but add some interior color, like using fade_color and
fade_power or such.
> No more so than for any other object. The difficulty is more determined
> by the object you are placing the blobs on.
You're right about that. It works pretty well for a window made of a single
box, but I'm always thinking "general", to keep things flexible.
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmx de
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <3e24b2e0$1@news.povray.org>,
"Tim Nikias" <tim### [at] gmx de> wrote:
> > Take a ray entering a droplet for example: it hits the droplet surface
> > and gets refracted, and is now inside the droplet. The next surface it
> > hits is the glass, so it gets refracted as it should when going from
> > water to glass. It is now inside the glass and the droplet. When it hits
> > the other droplet surface, *no refraction is done*, but it leaves the
>
> I guess you meant "When it hits the other glass surface", cause it makes
> no sense if it doesn't refract when exiting the water and entering air.
No, I meant the other water surface, I was ignoring the case where it
exits directly into air. First the ray hits the drop and goes from air
to water. Then it hits the glass and goes from water to glass, though it
is still inside the drop object it is now travelling through glass. Then
it hits the far side of the drop...they overlap, remember? Since it
already did the refraction for water/glass, it ignores the refraction
this time, and just removes the drop from the containing objects.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Oh, now I get it. I was thinking of my special case
scenario, in which the rays travels through the glass
first and meets the droplets on the backside. Thus my
interpretation of air-glass to glass-water to water-air.
To make the point: the issue is, once its inside the first
medium and enters the next, it won't get refracted again
when exiting the first medium it was in, right?
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmx de
>
> > > Take a ray entering a droplet for example: it hits the droplet surface
> > > and gets refracted, and is now inside the droplet. The next surface it
> > > hits is the glass, so it gets refracted as it should when going from
> > > water to glass. It is now inside the glass and the droplet. When it
hits
> > > the other droplet surface, *no refraction is done*, but it leaves the
> >
> > I guess you meant "When it hits the other glass surface", cause it makes
> > no sense if it doesn't refract when exiting the water and entering air.
>
> No, I meant the other water surface, I was ignoring the case where it
> exits directly into air. First the ray hits the drop and goes from air
> to water. Then it hits the glass and goes from water to glass, though it
> is still inside the drop object it is now travelling through glass. Then
> it hits the far side of the drop...they overlap, remember? Since it
> already did the refraction for water/glass, it ignores the refraction
> this time, and just removes the drop from the containing objects.
>
> --
> Christopher James Huff <cja### [at] earthlink net>
> http://home.earthlink.net/~cjameshuff/
> POV-Ray TAG: chr### [at] tag povray org
> http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
hey tim
> It worked fine with Powerpoint for me. Perhaps you've
> got the wrong Version?
could be. anyhow, the pdf worked. thanks
greetings:florian
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
hey guys!
i think i'll give it at least a try, i just checked the maths stuff, looks
like the things we do in school these days.
it'll nevertheless take some time, cause i'm graduating this spring and
really should do some excercises ;-(
greetings:florian
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |