POV-Ray : Newsgroups : povray.newusers : Confining an object to within an sPatch object Server Time
29 Nov 2024 03:27:43 EST (-0500)
  Confining an object to within an sPatch object (Message 8 to 17 of 27)  
<<< Previous 7 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Bob Hughes
Subject: Re: Confining an object to within an sPatch object
Date: 25 Jan 2000 11:17:22
Message: <388dcc92@news.povray.org>
Possibly I suppose, although I've only used a separate object for water pools
(except for a stream I did once).  I'd think you would need a real long "life"
for the spray to get it to collect.  I haven't had much success in keeping the
fake liquid around very long but with a continual flow I would think so.

Bob

"The "D"" <the### [at] netzeronet> wrote in message
news:388d2282@news.povray.org...

I was planing on using that for spray any way. Will it also do the water in the
basin?


Post a reply to this message

From: The "D"
Subject: Re: Confining an object to within an sPatch object
Date: 26 Jan 2000 17:25:19
Message: <388f744f@news.povray.org>
Bob Hughes <omn### [at] hotmailcom?subject=PoV-News:> wrote in 
message news:388dcc92@news.povray.org...
> Possibly I suppose, although I've only used a separate object for 
water pools
> (except for a stream I did once).  I'd think you would need a real 
long "life"
> for the spray to get it to collect.  I haven't had much success in 
keeping the
> fake liquid around very long but with a continual flow I would think 
so.

Was this in an animation, because I was planning on doing a still at 
least for now. BTW what object do you normally use for water becasue I'm 
baffled as to what I should use so far I've come up with a taurus or 
cylender with a whole in it modified by the wave or ripple normal.


Post a reply to this message

From: Chris Colefax
Subject: Re: Confining an object to within an sPatch object
Date: 26 Jan 2000 17:39:15
Message: <388f7793@news.povray.org>
Steve <sjl### [at] zero-ppslocaldomain> wrote:
> For the water, many people seem to get really good results with Chris
> Colefax's spray macro, you can find a link to Chris's site via the
> links page at http://www.povray.org

The "D" <the### [at] netzeronet> wrote:
> I was planing on using that for spray any way. Will it also do the
> water in the basin?

The Liquid Spray include file is really designed for particle sprays, and
although it will create puddles on flat surfaces it doesn't (yet?) allow you
to fill containers with liquid.

Instead, I might back-up Peter's suggestion of modelling the flat surface of
the liquid in sPatch as well, or perhaps a simple disc would be enough.
Either way, unless you want to give the water an interior for fading or
media, it should be enough just to model the surface with a suitable texture
for ripples and such.


Post a reply to this message

From: Bob Hughes
Subject: Re: Confining an object to within an sPatch object
Date: 27 Jan 2000 00:43:09
Message: <388fdaed@news.povray.org>
Yes, animated, although that makes little difference if you set it up like an
animation and use a mid range clock value for instance to do the still image.
The stream flow thing was simply a spray directed along the ground plane.  I was
thinking it could also fall from a height onto the ground with little or no
bounce to pool up in a basin.  The main problem being to keep it around long
enough (the lifetime and evaporation parameters) since the particles have a
tendency to shrink away regardless of the settings from what I could tell about
it.
It should be possible for a limited puddling anyhow just using the spray alone
and no separate puddle object.
Not sure I gather your reasoning about the torus or cylinder with a hole for
standing water, unless you meant for the containing object.  That would need
some CSG used on the spray.  I usually go with either plane, clipped plane, box,
blob, disc or cylinder as water surfaces with a wrinkles pattern or highly
turbulent ripples (waves if active water).  Others have used 'height_field' too,
in various ways.

Bob

"The "D"" <the### [at] netzeronet> wrote in message
news:388f744f@news.povray.org...

Bob Hughes <omn### [at] hotmailcom?subject=PoV-News:> wrote in message
news:388dcc92@news.povray.org...
> Possibly I suppose, although I've only used a separate object for water pools
> (except for a stream I did once).  I'd think you would need a real long "life"
> for the spray to get it to collect.  I haven't had much success in keeping the
> fake liquid around very long but with a continual flow I would think so.

Was this in an animation, because I was planning on doing a still at least for
now. BTW what object do you normally use for water becasue I'm baffled as to
what I should use so far I've come up with a taurus or cylender with a whole in
it modified by the wave or ripple normal.


Post a reply to this message

From: Peter Popov
Subject: Re: Confining an object to within an sPatch object
Date: 27 Jan 2000 09:08:38
Message: <+lCQOLXrTb+VgPcVZfTibv8qJKaK@4ax.com>
On Wed, 26 Jan 2000 11:07:50 +1000, "Chris Colefax"
<cco### [at] geocitiescom> wrote:

>The Liquid Spray include file is really designed for particle sprays, and
>although it will create puddles on flat surfaces it doesn't (yet?) allow you
>to fill containers with liquid.
>
>Instead, I might back-up Peter's suggestion of modelling the flat surface of
>the liquid in sPatch as well, or perhaps a simple disc would be enough.
>Either way, unless you want to give the water an interior for fading or
>media, it should be enough just to model the surface with a suitable texture
>for ripples and such.

I think a disc *might* work with light fading because after the ray
hits it it never leaves and POV may be tricked into thinking it's
inside the disc. Didn't someone have a problem with transparent discs
and media recently?


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

From: David Wilkinson
Subject: Re: Confining an object to within an sPatch object
Date: 27 Jan 2000 19:57:54
Message: <44q19ss161s8gfv2gfu9rq4ds1pp1cgb2n@4ax.com>
On Sun, 23 Jan 2000 22:51:53 -0500, "The \"D\"" <the### [at] netzeronet> wrote:
>
>I made a fountain with sPatch and now wish to put water in the basin.
>However I do not know what type of object would be betst to use
>(superellipsoid, extrusion, a primitave, etc.) for the water nor do I
>know how to confine that object to with in the basin of the fountain
>once I've created it.

If your basin is circular you could use the bottle macro I posted on 21 Dec 99 in
povray.binaries.scene-files.  This has a macro for the liquid that keeps it within the
bottle.
David
----------------------------
dav### [at] cwcomnet
http://www.hamiltonite.mcmail.com
----------------------------


Post a reply to this message

From: The "D"
Subject: Re: Confining an object to within an sPatch object
Date: 30 Jan 2000 00:37:06
Message: <3893ce02@news.povray.org>
Peter Popov <pet### [at] usanet> wrote in message 
news:+lCQOLXrTb+VgPcVZfTibv8qJKaK@4ax.com...
> On Wed, 26 Jan 2000 11:07:50 +1000, "Chris Colefax"
> <cco### [at] geocitiescom> wrote:
> I think a disc *might* work with light fading because after the ray
> hits it it never leaves and POV may be tricked into thinking it's
> inside the disc. Didn't someone have a problem with transparent discs
> and media recently?

Ok I'll look into that. Would the light fading need to be a global 
setting or for the disc.


Post a reply to this message

From: The "D"
Subject: Re: Confining an object to within an sPatch object
Date: 30 Jan 2000 00:37:10
Message: <3893ce06@news.povray.org>
Chris Colefax <cco### [at] geocitiescom> wrote in message 
news:388f7793@news.povray.org...
> Steve <sjl### [at] zero-ppslocaldomain> wrote:
> The Liquid Spray include file is really designed for particle sprays, 
and
> although it will create puddles on flat surfaces it doesn't (yet?) 
allow you
> to fill containers with liquid.
> 
> Instead, I might back-up Peter's suggestion of modelling the flat 
surface of
> the liquid in sPatch as well, or perhaps a simple disc would be 
enough.
> Either way, unless you want to give the water an interior for fading 
or
> media, it should be enough just to model the surface with a suitable 
texture
> for ripples and such.

Well I'm actually not that good with sPatch could I do a primitave using 
a bounded or clipped by or is this against the laws of POV? And I was 
thinking about using an interior and making the water transparent or 
translucent (haven't decided which).


Post a reply to this message

From: The "D"
Subject: Re: Confining an object to within an sPatch object
Date: 30 Jan 2000 00:37:14
Message: <3893ce0a@news.povray.org>
Bob Hughes <omn### [at] hotmailcom?subject=PoV-News:> wrote in 
message news:388fdaed@news.povray.org...
> Yes, animated, although that makes little difference if you set it up 
like an
> animation and use a mid range clock value for instance to do the still 
image.
> The stream flow thing was simply a spray directed along the ground 
plane.  I was
> thinking it could also fall from a height onto the ground with little 
or no
> bounce to pool up in a basin.  The main problem being to keep it 
around long
> enough (the lifetime and evaporation parameters) since the particles 
have a
> tendency to shrink away regardless of the settings from what I could 
tell about
> it.
> It should be possible for a limited puddling anyhow just using the 
spray alone
> and no separate puddle object.

Ok so It doesn't matter for animation or stills the settings would come 
out to be about the same then. Gotcha



> Not sure I gather your reasoning about the torus or cylinder with a 
hole for
> standing water, unless you meant for the containing object.  That 
would need
> some CSG used on the spray.  I usually go with either plane, clipped 
plane, box,
> blob, disc or cylinder as water surfaces with a wrinkles pattern or 
highly
> turbulent ripples (waves if active water).  Others have used 
'height_field' too,
> in various ways.

The reasoning might not make sense becasue of my lack of indepth 
knowledge of the laws of POV. What I was thinking was since the bowlish 
part of the fountain (the only part I have finisht at the time) looks 
like the bottom half of a shpere with an upside down hollow cone in the 
middle I would need some way to get the water around the cone but I'm 
now seeing that that doesn't make much sense since the water will be 
tranparent (or translucent I haven't decided) anyway.


Post a reply to this message

From: The "D"
Subject: Re: Confining an object to within an sPatch object
Date: 30 Jan 2000 00:37:17
Message: <3893ce0d@news.povray.org>
David Wilkinson <dav### [at] cwcomnet> wrote in message 
news:44q19ss161s8gfv2gfu9rq4ds1pp1cgb2n@4ax.com...
> On Sun, 23 Jan 2000 22:51:53 -0500, "The \"D\"" 
<the### [at] netzeronet> wrote:
> If your basin is circular you could use the bottle macro I posted on 
21 Dec 99 in
> povray.binaries.scene-files.  This has a macro for the liquid that 
keeps it within the
> bottle.

The basin is a union of splines that looks like the bottom half of a 
sphere (sorta) with an upside down hollow cone in it. Would the bottle 
macro work in that case?


Post a reply to this message

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

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