Page 1 of 2

dynamic waveset ripples

PostPosted: Mon May 26, 2008 9:35 pm
by D'Lanor
I finally got this to work for wavesets. The script in the wiki tutorial was throwing an export error:

Error Show Spoiler


Then I changed this alcscript part:
Code: Select all
                waveset:
                  - <waveset ref(same name as waveset surface)>


To this:
Code: Select all
                waveset: <waveset ref(same name as waveset surface)>


And now it exports ok. So I guess the PyPRP code for wavesets ripples turned out differently than originally intended. PyPRP is not expecting a list here but a single item. Maybe that should be set up for a list since there can be multiple targets as well.


[i]Edit: Error hidden behind spoiler tag (no longer relevant).

Re: dynamic waveset ripples

PostPosted: Mon May 26, 2008 10:28 pm
by Nadnerb
:lol:

Okay, really.. you posted about this exactly 25 minutes after I corrected the error in the wiki. Good catch.. :)

Re: dynamic waveset ripples

PostPosted: Tue May 27, 2008 3:18 am
by boblishman
YEAH!!! ... finally got them working ...I also found that changing the (material, MapTo tab) setting to Multiply (from the default Mix) makes the rings appear correctly (they were turning black as they got bigger then just "poofed") ... and now, they fade properly as they dissappear ...

Show Spoiler

Re: dynamic waveset ripples

PostPosted: Tue May 27, 2008 4:29 am
by D'Lanor
Now that you have simplified your waveset geometry, do the ripples appear on the terrain surface where parts of the waveset go under it? Mine do. :(

Re: dynamic waveset ripples

PostPosted: Tue May 27, 2008 4:41 am
by boblishman
errr...nope ... but, my waveset mesh is quite a bit below the surrounding landscape (in a hole) plus, there's quite a difference between the waveset plane's position and it's object centre (2 blender units =2 feet in Uru) ... it also means that the surrounding landscape is much higher than the waveset "render" (object centre) so it's "well inside" the landscape ... if I remember, Prad is quite "shallow" ... try lowering your waveset mesh (not the object centre) and see if that helps ... :?

Re: dynamic waveset ripples

PostPosted: Tue May 27, 2008 4:48 am
by boblishman
actually ...I just went back in to check for you ... if I zoom in you can see that the ripples are actually higher than the waveset render ... so, if your landscape is quite "shallow" where the waveset meets it... i guess it will show ...


dlanor.jpg
dlanor.jpg (145.57 KiB) Viewed 4587 times

Re: dynamic waveset ripples

PostPosted: Tue May 27, 2008 11:29 am
by D'Lanor
boblishman wrote:I also found that changing the (material, MapTo tab) setting to Multiply (from the default Mix) makes the rings appear correctly (they were turning black as they got bigger then just "poofed") ... and now, they fade properly as they dissappear ...

Strange... they turn black when I use Multiply. I get the best results with Add. It is kind of subtle then, but that is just what I need to prevent the ripples showing through my surrounding terrain.

Re: dynamic waveset ripples

PostPosted: Tue May 27, 2008 12:46 pm
by Nadnerb
Cool, I hadn't experimented with blend modes. I'll add that to the tutorial. Also, about the edges of the ripples intersecting your terrain because it is higher. The ripple's alpha follows the alpha of your waveset. If you've built your waveset with varying depth so that it becomes transparent at the edges, the ripples will becomes transparent too, and you won't be able to see them by the time the intersect ground level.
Show Spoiler
(yeah, not very good ripples at the moment, but I just started. ;))

Re: dynamic waveset ripples

PostPosted: Tue May 27, 2008 1:06 pm
by boblishman
D'Lanor wrote:Strange... they turn black when I use Multiply. I get the best results with Add. It is kind of subtle then, but that is just what I need to prevent the ripples showing through my surrounding terrain.


...I'm guessing the results will depend on your ripple texture (and maybe some other settings) ... I just tried Add on mine ... but they appear too bright for my liking ...

what kind of texture are you using?

Re: dynamic waveset ripples

PostPosted: Tue May 27, 2008 1:30 pm
by D'Lanor
boblishman wrote:what kind of texture are you using?


This one.

ripple.png
ripple.png (4.98 KiB) Viewed 4497 times


Nadnerb wrote:If you've built your waveset with varying depth so that it becomes transparent at the edges, the ripples will becomes transparent too, and you won't be able to see them by the time the intersect ground level.

I guess the defaults gave my waveset a varying depth then. But I never had transparent edges. :? It looks like the ripples are floating above the water. How can I undo the varying depth?