nukmuk / sheepy-mc-3d-animation-tiktok-particle

Play 3D animations using Minecraft particles ✨ (Java, Python, SideFX Houdini)
1 stars 0 forks source link

How to use? #2

Open duckpicker opened 4 months ago

duckpicker commented 4 months ago

Hi. My buddy has a birthday coming up and I want to give him a present using your script. I am stuck on the import step in houdini. Could you please write down a tutorial for dummies or at least detail the steps. I would be very grateful.

nukmuk commented 4 months ago

I added an example hip file and better instructions to the readme file. I'm sure there are much easier/faster ways to import the textures but manually assigning them was the first method that came to mind when I was making this. Hope it helps

duckpicker commented 4 months ago

Thank you. I'll try to follow the instructions.

duckpicker commented 4 months ago

Thanks again for the detailed tutorial on houdini. After several attempts I managed to export the file, but I can't figure out how to import it into Minecraft. Can you explain it please?

nukmuk commented 4 months ago

Just place the .shny files in /plugins/Sheepy folder. Then /st <file> to play and /s to stop. I added a build in the releases and some example files.

duckpicker commented 4 months ago

You're the best.

nukmuk commented 4 months ago

I assume you got it working? I would love to see what you created with it!

duckpicker commented 4 months ago

https://github.com/nukmuk/sheepy-mc-3d-animation-tiktok-particle/assets/146587316/8d0c595a-73d9-4e47-bdfd-0b3fdf576040

So far I've done a test animation at 500 points. Because of the low number of points, sometimes the clothes are translucent. I tried to run the animation with 1000 points but the animation hangs after a couple of frames. Maybe it's because I'm trying to do this on a local paper server. This mod can be installed on forge or not?

duckpicker commented 4 months ago

I apologize for the stupid question about forge, it's a plugin. I had a brain lag happen xd. I noticed that the stop animation command doesn't work.

nukmuk commented 4 months ago

Nice!! :D Yeah, the current implementation is quite buggy and the stop command often doesn't work. Because the plugin sends so many packets, sometimes everything that happens on the server might be delayed by like 10s when playing animations. Maybe some day I'll rewrite the plugin if I have time.

Also, one way to make the translucent clothing less noticeable is by deleting skin polygons that are obscured by clothes:

image

Select correct mesh image

Delete points that are under clothes with blast node image

Legs are cut off, but should look correct from most angles, and skin colored particles are no longer being spawned behind the clothes image image

Before: image

After: image

And if you're using density scale in the scatter node, you can confirm the number of points here: image

duckpicker commented 4 months ago

Oh, thanks for the tip. I'll try that.