|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Given that Thomas was interested in it, I am attaching the code that I used to
generate the wake waves in my Rock The Boat image (see p.b.i).
A few disclaimers:
- It's created specifically for my Rock The Boat scene. This image required an
assymetrical wake, which makes the code more complicated than would be required
for a "simple" symmetrical wake.
- It has a few comments, but not enough to be easily understood.
Nevertheless, it may give some inspiration/useful suggestions on how to create
wakes for your own scenes.
The scene should be used with animation enabled to generates three image maps:
1. An image map with wake waves (as well as the waves caused by the wind). It is
to be used in a height_field, e.g.
height_field {
png "MakeWake1.png"
smooth
// Move water level down to y=0
translate -y * 0.5
// Reduce size of waves
scale <1, 0.002, 1>
}
2. A partially masked version of the first image, only needed to make the
illusion work. Just ignore this one.
3. An image map that provides a mask to be used as an image pattern for a
texture map. E.g.
texture {
image_pattern {
png "MakeWake3.png"
}
texture_map {
[0.00 FoamyWaterTexture]
[0.05 FoamyWaterTexture]
[0.20 QuietWaterTexture]
[0.40 QuietWaterTexture]
[0.55 ChoppyWaterTexture]
[0.75 QuietWaterTexture]
}
}
Cheers,
Erwin
Post a reply to this message
Attachments:
Download 'makewake.pov.txt' (12 KB)
|
|
| |
| |
|
|
From: Thomas de Groot
Subject: Re: Wake waves making code for Rock The Boat image
Date: 18 Jul 2009 10:49:53
Message: <4a61e111@news.povray.org>
|
|
|
| |
| |
|
|
Hi Eriban!
Your code works like a charm. I am learning on the spot and have just
adapted it a little to make it work with my scene. Simple.
A few comments, based on a couple of observations of wakes I chanced to
notice:
1) When a ship moves slowly (wake_angle = approching 80 or 90 degrees) the
bow waves seems to be convex-shaped;
2) When the ship moves fast (wake_angle sharper than 45 degrees) the bow
waves seems to be concave-shaped.
As your bow wave is linear, would that be possible to implement somehow?
You will soon see the use of your code in my image to the current challenge
at the TC-RTC site (theme: Dragons).
Thank you again for your work.
Thomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:
> You will soon see the use of your code in my image to the current challenge
> at the TC-RTC site (theme: Dragons).
Hmm... something scottish perhaps?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sat, 18 Jul 2009 12:17:59 EDT, "clipka" <nomail@nomail> wrote:
>"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:
>
>> You will soon see the use of your code in my image to the current challenge
>> at the TC-RTC site (theme: Dragons).
>
>Hmm... something scottish perhaps?
>
>
Well time and RL stops me from entering my idea, a Scottish mother-in-law.
But Dutch Thomas is welcome to it (don't tell Normand ;)
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
From: Thomas de Groot
Subject: Re: Wake waves making code for Rock The Boat image
Date: 19 Jul 2009 03:24:29
Message: <4a62ca2d$1@news.povray.org>
|
|
|
| |
| |
|
|
"Stephen" <mcavoysAT@aolDOTcom> schreef in bericht
news:9nu365l61so29hq4udmo1o50c3qi4dnks4@4ax.com...
> Well time and RL stops me from entering my idea, a Scottish mother-in-law.
> But Dutch Thomas is welcome to it (don't tell Normand ;)
Alas, my laddies, nae Scotland, nae Nessie, in ma ain contribution... ;-)
Thomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sun, 19 Jul 2009 09:24:28 +0200, "Thomas de Groot"
<tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:
>
>"Stephen" <mcavoysAT@aolDOTcom> schreef in bericht
>news:9nu365l61so29hq4udmo1o50c3qi4dnks4@4ax.com...
>> Well time and RL stops me from entering my idea, a Scottish mother-in-law.
>> But Dutch Thomas is welcome to it (don't tell Normand ;)
>
>Alas, my laddies, nae Scotland, nae Nessie, in ma ain contribution... ;-)
>
Nae Nessie?
But, ye'll ha' had yer tea? ;)
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
From: Thomas de Groot
Subject: Re: Wake waves making code for Rock The Boat image
Date: 19 Jul 2009 08:02:08
Message: <4a630b40$1@news.povray.org>
|
|
|
| |
| |
|
|
"Stephen" <mcavoysAT@aolDOTcom> schreef in bericht
news:97n565dsaumvvq0mor5ukmddi5o6j9cgak@4ax.com...
>
> Nae Nessie?
> But, ye'll ha' had yer tea? ;)
Aye, but noo ma tea's oot...
THomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sun, 19 Jul 2009 14:01:56 +0200, "Thomas de Groot"
<tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:
>
>"Stephen" <mcavoysAT@aolDOTcom> schreef in bericht
>news:97n565dsaumvvq0mor5ukmddi5o6j9cgak@4ax.com...
>>
>> Nae Nessie?
>> But, ye'll ha' had yer tea? ;)
>
> Aye, but noo ma tea's oot...
>
Och! That's fine A canna lat ye sit doon on yer ain. A'll just ha a wee snap. :)
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
From: Thomas de Groot
Subject: Re: Wake waves making code for Rock The Boat image
Date: 20 Jul 2009 04:24:37
Message: <4a6429c5$1@news.povray.org>
|
|
|
| |
| |
|
|
"Stephen" <mcavoysAT@aolDOTcom> schreef in bericht
news:pq5665dobbtqm7pf28kp4k4nra8rfr91f6@4ax.com...
> Och! That's fine A canna lat ye sit doon on yer ain. A'll just ha a wee
> snap. :)
That's innerly! Noo... where did a pit ma piece box?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Mon, 20 Jul 2009 10:24:37 +0200, "Thomas de Groot"
<tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:
>"Stephen" <mcavoysAT@aolDOTcom> schreef in bericht
>news:pq5665dobbtqm7pf28kp4k4nra8rfr91f6@4ax.com...
>> Och! That's fine A canna lat ye sit doon on yer ain. A'll just ha a wee
>> snap. :)
>
>That's innerly! Noo... where did a pit ma piece box?
>
Yer sittin oan it ya bampot :-)
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |