|
![](/i/fill.gif) |
Just implemented a macro which will use an object and
determine whether to "block" a wave or not. Its rather
simple right now (just look at the jagged edges near the
cylinder, due to nodes of the array being inside and
outside the blockers), and there's definitely some work
ahead of me, but it works fine and seems to head towards
the correct direction.
For those interested, the algorithm adjusts to blocked
nodes by leaving them out of the calculation process. Thus,
even large arrays with high detail may become quiet fast if
enough of the area is blocked (although one might wonder
why such a high detail is required if most of it is blocked in
the first place). Simply put, the nodes inside the cylinder
and the box aren't touched and this may save a lot of parsing
time.
Anyways, enjoy,
Tim
--
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: Tim### [at] gmx de
Post a reply to this message
Attachments:
Download 'water_test1.mpg' (349 KB)
|
![](/i/fill.gif) |