dynamic waveset ripples

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

dynamic waveset ripples

Postby D'Lanor » Mon May 26, 2008 9:35 pm

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).
Last edited by D'Lanor on Tue May 27, 2008 1:44 pm, edited 2 times in total.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: dynamic waveset ripples

Postby Nadnerb » Mon May 26, 2008 10:28 pm

:lol:

Okay, really.. you posted about this exactly 25 minutes after I corrected the error in the wiki. Good catch.. :)
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)

Re: dynamic waveset ripples

Postby boblishman » Tue May 27, 2008 3:18 am

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
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: dynamic waveset ripples

Postby D'Lanor » Tue May 27, 2008 4:29 am

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. :(
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: dynamic waveset ripples

Postby boblishman » Tue May 27, 2008 4:41 am

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 ... :?
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: dynamic waveset ripples

Postby boblishman » Tue May 27, 2008 4:48 am

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 4591 times
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: dynamic waveset ripples

Postby D'Lanor » Tue May 27, 2008 11:29 am

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.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: dynamic waveset ripples

Postby Nadnerb » Tue May 27, 2008 12:46 pm

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. ;))
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)

Re: dynamic waveset ripples

Postby boblishman » Tue May 27, 2008 1:06 pm

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?
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: dynamic waveset ripples

Postby D'Lanor » Tue May 27, 2008 1:30 pm

boblishman wrote:what kind of texture are you using?


This one.

ripple.png
ripple.png (4.98 KiB) Viewed 4501 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?
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Next

Return to Building

Who is online

Users browsing this forum: No registered users and 1 guest

cron