Altering direction of waveset

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!

Altering direction of waveset

Postby ardent red » Sun Jun 29, 2008 10:09 pm

My age uses wavesets to simulate a river flowing towards a waterfall. It looks and renders fine, but the ripples are heading towards one wall of the canyon rather than towards the waterfall. I had a look at the tutorial in the wiki, but the information doesn't seem to be there, and I can't work out what variables effect what in the AlcScript down the bottom. Is there a way to change the direction of the current using AlcScript, or will I have to edit the waveset mesh?

Thanks,
ardent red

EDIT: Oh, I have another little question that doesn't really need its own thread: how could I change where the Y axis points without rotating the object? I'm trying to make a bench, and I cannot get the Y axis to point away from the bench without rotating the object.
ardent red
 
Posts: 150
Joined: Fri Apr 18, 2008 3:41 pm
Location: The big little New Zealand

Re: Altering direction of waveset

Postby Trylon » Mon Jun 30, 2008 12:05 am

ardent red wrote:EDIT: Oh, I have another little question that doesn't really need its own thread: how could I change where the Y axis points without rotating the object? I'm trying to make a bench, and I cannot get the Y axis to point away from the bench without rotating the object.


First, in object mode, rotate the object, so that the Y axis points in the right direction.
Next, go into edit mode (TAB-KEY), select all vertices (A-KEY), and rotate the mesh back to the right position.
One day I ran through the cleft for the fiftieth time, and found that uru held no peace for me anymore.
User avatar
Trylon
 
Posts: 1446
Joined: Fri Sep 28, 2007 11:08 pm
Location: Gone from Uru

Re: Altering direction of waveset

Postby Lontahv » Mon Jun 30, 2008 2:49 am

My age uses wavesets to simulate a river flowing towards a waterfall. It looks and renders fine, but the ripples are heading towards one wall of the canyon rather than towards the waterfall. I had a look at the tutorial in the wiki, but the information doesn't seem to be there, and I can't work out what variables effect what in the AlcScript down the bottom. Is there a way to change the direction of the current using AlcScript, or will I have to edit the waveset mesh?


Ok, you've got to use wind vectors.

*Me checks if they're implemented into AlcScript*

Uhhh. :shock: AHRG!

They're not in the list of AlcScript properties. Let me see if they're actually programmed in.

Ok... they're not programmed into the AlcScript so, the only way to change it would be to change the pyprp file.

This is bad. :o

You may want to put this on hold until we get this fixed. :?

EDIT: Note to pyprp-devs; I've added the var (empty controlled) in my svn. Note to everyone else: Do not attempt to use the contents of my svn. :P
EDIT2: Large numbers are acting strangely. The feature I've added to my svn has large flaws, don't merge right away. ;)

~Lontahv
Last edited by Lontahv on Mon Jun 30, 2008 4:41 am, edited 1 time in total.
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: Altering direction of waveset

Postby D'Lanor » Mon Jun 30, 2008 4:10 am

Lontahv wrote:Ok, you've got to use wind vectors.

*Me checks if they're implemented into AlcScript*

Uhhh. :shock: AHRG!

They're not in the list of AlcScript properties. Let me see if they're actually programmed in.

Ok... they're not programmed into the AlcScript so, the only way to change it would be to change the pyprp file.

Yeah, that is what I ended up doing.

I am not sure about the proposed method of using the coordinates of an empy object for the whole age though. Wind directions in real life are not consistent either. They can be quite different in the vicinity of large structures. And how about water streaming through canals or tunnels? IMO this must be configurable for individual wavesets.
"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: Altering direction of waveset

Postby Lontahv » Mon Jun 30, 2008 4:42 am

D'Lanor, the way I'm doing it is to ref the wind you want in the waveset script. :)

~Lontahv
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: Altering direction of waveset

Postby D'Lanor » Mon Jun 30, 2008 4:50 am

Cool 8-) , I hope your solution will be implemented into the 2.0 final then.
"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


Return to Building

Who is online

Users browsing this forum: No registered users and 2 guests

cron