Waves for iClone

Hello dear forum members,

yes, I have been away for a long time and many of you probably no longer remember me.

iClone simply became too expensive for me, and I only had version 7. I stopped programming scripts at that point. Now Reallusion has released a free version. I actually intended to quit completely, but I ended up installing it anyway.

As a reminder of what I was working on back then, here is the script explained:

I have now implemented a stripped-down version of it in iClone 8:
And here is the first example:

Kind regards
Tesira

7 Likes

I do remember your posting, but I don’t think I ever saw the finished product. This looks very promising.

Hi Tesira… Welcome back to the forum. Great to hear you are trying out iClone Personal. Please let us know what you think.

Well gordryd, in iClone 7 I have used threads and events. This never has worked stable enough, to give it to others.

Thanks Pete_RL, until now all dos work well. But I have ist only 3 days. :slight_smile:

Dear forum members,
until now I will not report about the bugs I have found and the iClone crash - I have stressed the programm a bit with the script. But I will show, how the first interface dos work, which creates different wave forms and skies.

Kind regards
Tesira

2 Likes

Hi Tesira… Thanks for sharing your work. That really is a very impressive script you have created. The results look amazing.

Thanks Peter_RL, well the script isn’t ready yet, but I could bring an ready animated projekt in my store. So the people could experiment with new textures. But dont know until now, how the marketplace now works. Will try.

Greetings Tesira

1 Like

Now the animated project is in my store.
https://marketplace.reallusion.com/ocean-waves-710228

Greetings Tesira

Well, I can show you parts of the script, but I cannot distribute it as a ready-to-run tool. To use it, you must have the necessary Python components installed and manually configure the file paths to match your own system setup. First, I will publish the parts that create the interface and load the ā€˜waves’ project, which you can find in my store. The project must be saved in your custom directory under ā€˜IC Project’ and simply renamed to ā€˜waves’. Once you have installed all the necessary Python components, it should run. To open it in iClone, just go to Script → Load Python. Until now the interface will only print in the log, what the funktions should do.

import os,sys, math, winreg
import RLPy
from PySide2 import QtWidgets
from PySide2.QtCore import Qt
from PySide2.QtCore import QTimer
from shiboken2 import wrapInstance

This is, what should be installed. Qt comes with iClone.

Oh, the paste and copy dos not work right. It destroys the format. I don’t know, how to append here Python file.

I have placed the Python file here: https://blickderweberin.de/wave_custom_main.py

Dear forum members,

well, I have build in now more functions in the custom script, but there are to make some changes in the script:

  1. Here you must define your path: my_template_path = ā€œyour template pathā€
  2. script_path +ā€œ//resource//ā€ = my_template_path
  3. In the folder ā€œresourceā€ I have 4 folders: ā€œBeachā€, ā€œCloudsā€, ā€œSkyā€, ā€œWavesā€.
    There you place your textures.
    The wave textures must be named wave_0, wave_1 … for the main textures.
    wave_0soft, wave_1soft for the displacement and bump textures …

I have no idea, if somebody here really is interested, to do all this work.
Please let me know. Because, it is also for me much work, to bring this custom script to work. In my workarround are much more things, which I must clean up.

This script loads now new textures for the upper and the under water. Which you need , you can find in the project or script.

Here is the new version: https://blickderweberin.de/wave_custom_main_2.py

Have a nice weekend
Tesira

I’m sure many are interested but too shy to comment. There have been many requests for waves in the past, so you are doing very useful work.

Thanks, animagic.

It would be helpful for me to know what’s really needed — a script that people have to adapt to their work environment, or more ready-made projects.

Have a nice Sunday

I haven’t visited the forum for a couple of weeks now, so have only just seen this post.

That’s great work Tesira, I’m definitely keen and will be following closely. I have been trying to convince RL into doing more with waves for a long time. I’m a beach person myself so have plenty of ideas for projects that include beach scenes with realistic crashing waves. So far I’ve just had to compromise using video background with crashing waves with a beach foreground. I’ve seen some admirable workarounds, cleverly manipulating soft cloth etc, but it wasn’t enough to convince me and it was very labour intensive to set it up, with unpredictable results.

So far yours is the most impressive by far that I’ve seen that is available for iClone.

So one thing I’m really interested in setting up is a beach scene with the surf/waves crashing in. Basically what you’d see at a typical beach with surf. With your system, is it possible to add the waves to a beach/sand foreground so I could have a character walking from the beach foreground into the waves?

I have to admit, when it comes to scripting in iClone, I’m clueless. So would need some really clear instructions how to set it all up and utilise it within iClone scenes.

Hi Darren01,
thanks. It is funny - I really have worked today with a beach. To be honest, it’s much harder to make a beach look realistic. I’ve tried. I don’t know if this is what you’re looking for.

Greetings Tesira

I can’t access the actual project right now, but I think a beach should be much smoother like in the scene below:

I believe the beach came from the Market Place. The film is ten years old so it must be some legacy content. I can check in about a week.

The sea in this case is a projection on a curved surface. With the right sound is was quite effective but not as good as real waves.

hi animaic,
the problem isn’t building a beach. It’s hard to make the waves hit a curved beach in a way that looks realistic. The waves break through the beach at different spots, even if the beach drops steeply into the water… Or I just have to keep the waves pretty shallow. But Darren wanted high waves. I’ll keep trying. :slight_smile:

Greetings, Tesira