[UPDATE 0.2.0] Lumina - A custom particle system

I’ve never considered this. It sounds like a great solution to the problem of updating properties. Though already with a simple size over life and gradient it would create massive amounts of objects. I’ll have to play around with this idea and see what works best.

I believe I move them before checking for reuse. This is another thing I’d never considered and sounds like a great little optimization.

2 Likes

I tried ImageHandleAdornments but I believe I couldn’t get them to be glowy, in other words they would have lacked emission, which is an important part for vfx.

BillboardGUIs from my understanding always face towards the camera so I didn’t try them, I wanted control over their rotation. That being said if rotation is the only disadvantage of them then I could still use them for particles that are always facing the camera.

If there is a way to have a smaller object act as the particle then it’d be great but from my testing the only combination that allowed for emission/glow and wasn’t affected by global lighting is the setup I’m currently using. (Which is Part>SurfaceGui>ImageLabel)

3 Likes

Tried the plugin out its cool but causes extreme lag when u tab out then tab back in after a while.

Would be interesting to see applications of mesh deformation with this since ur using a plane for render we can do alpha erosion. Also i feature i always wanted was a scaling pivot for texture so i scale at the pivot i define it at. I usually have to offset the texture its self halfway which is tedious

I don’t seem to be able to reproduce this. I created a basic system, started it and let it run for around 5 minutes in the background (the system had a constant spawn with 300 and a lifetime of 1).

Are you sure that tabbing in and out was the cause of it, not inspecting the particles folder? Since that is one thing that causes massive amounts of lag and from my understanding it’s a problem with the explorer.

There’s also this weird kinda lasting lag that occurs from time to time, which I’m not sure what causes it and fiddling around with the UI usually seems to fix it.

If it is tabbing out and in then my best guess would be that it’s something to do with how roblox runs in the background and the particles attempting to still be created and updated. I checked out WindowFocused and WindowFocusReleased but these seem to only work for the main game window. So I’m not even sure on how I would fix it.

Do keep in mind that I am most likely using different hardware and that it’s also really difficult to fix bugs that I can’t reproduce.

1 Like

actually after opening the folder it crashed but i think i was lagging before? not too sure

1 Like

editable mesh has functions that allow you to manipulate the uvs of a mesh. in theory with ur plugin u can spawn mesh planes with an image on it then mess with uvs. this is an alternative to flipbooks so you keep the full resolution of the image but let the shader do all the leg work while maintaining the quality of the image heres the links

his comment right after the post talks about it Scrollable textures for MeshParts - #2 by Zomebody

plugin that i believe does this not released tho https://www.youtube.com/watch?v=fuXg11RrYxs

video about editable mesh https://www.youtube.com/watch?v=oKbLsWq6bVw&t=73s

this post goes on about shaders > flipbooks a lil What fluid sim tools are you using for your flipbooks? - #9 by Florian - VFX - Tech-Artists.Org

2 Likes

You’re making me want to play around with editableMeshes even more and that plugin looks awesome, if it’ll release for free might even look into adding support for that to this plugin. Honestly I was even considering making a custom shader system for roblox using the editableMeshes and editableImages (something similar to unity’s shader graph) but my worry was always performance, I would’ve probably had to run thousands of calculations for each image each frame. (just my though, which in reality might be completely false)

As for what caused my concern for performance was that my first thought for editableImage was that I could maybe create some sort of raytracing since I could overlay it on the screen and have same quality. Though with it came more apparent than ever before that roblox runs on the cpu and doesn’t allow for custom gpu utilization. (I tried to cast tons of rays which didn’t work out)

That said my problem was with raycasting, which I believe is much more demanding than simple calculations.

Just gotta pray that roblox releases them soon so I’d have an excuse to start using them.

But for now my focus will stay on improving Lumina. Next update is a somewhat large one and should be done within a few days, haven’t had too much free time recently so it’s taking a bit longer than expected.

2 Likes

Does this plugin actually use editableMeshes/editableImages though? From what i can gather they were released in 2023 december but that video was uploaded 2022 december.

2 Likes

not sure asked they rlly didnt give a straight answer. this method is a baked dissolve but the plugin does it live so must be editable mesh or image and their rotating the image within the plugin so that must be the uv functions their using in editable mesh

2 Likes

Heard that this plugin was some kind of scam , I think bean was the one who said it but not sure if it’s true.

1 Like

UPDATE 0.1.0


New Features

  • Node reordering in groups
  • Update log built into the plugin
    *datastores need to be enabled for this to work, since it uses a datastore to check if it’s already showed update log

New Nodes

Initialize

  • AddPositionFromShape

Render

  • VolumetricParticle
  • MeshParticle

Logic

  • NumberOut
  • Add
  • Subtract
  • Multiply
  • Divide
  • Sin
  • Cos
  • Tan
  • Clamp
  • Remap
  • Time
  • Alivetime

Other

  • Cleaned up auto generated code

Docs will be updated within the next 12 - 24 hours, will put the savedata of this effect in the docs as well




Afterword

I do apologize for this update taking quite a bit longer than expected but what can you do, life is unpredictable and I am developing this all on my own.

I have also created a simple discord server. If you have any questions or ideas on what to add or just want to chat then feel free to join. I’m usually more active on discord than here. Link can be found in the Docs

My activiy and plans are also now available to view in Trello, which can also be found in the docs.

This plugin has gained much more positive attention than I could’ve expected and for that I am really thankful to everyone here! :heart:

11 Likes

wonderful stuff man. something like a delay function would be nice and for the random rotation of the parts why did you add extra nodes when you couldve done it in the random num node? or you wanted it so you jsut need to change 1 value instead of two? and the multiple node multiplies a to b?
image also weird bug with graph editor

2 Likes

Yes, this was because I feel it’s more tedious to change multiple numbers than one number, also wanted to show that this is possible and show some of the new logic nodes being used.

I don’t quite plan to add a delay like this but you should be able to create this delay with some small logic in the next bigger update.

Not sure how much I’ll cram into the next bigger update, currently planning to add some form of collisions/bounces, velocity and rotation changers, give more access to data for better use of logic and some UX + UI improvements, but it won’t be releasing for a while. I will most likely be posting progress updates in discord though.

I’ll also look into the bug.

4 Likes

This is currently one of the best plugins available, amazing work!

4 Likes

Though it seems like the new update broke the plugin; nothing is appearing.

2 Likes

Ugh this bug again, I’ve got no clue what causes it but try to resize the plugin or disable and enable again from plugins manager.

2 Likes

Neither of those worked, it worked the previous update though. Tried to restart the studio a few times and reinstall the plugin but it didn’t seem to work

2 Likes

did it give any errors in the console?

2 Likes

Updated Docs

I have updated docs to the latest version.

1 Like

This has so many potential and im definitely looking forward for it to be a better particle system.
I might use that at some point, it’s just that I’m concerned this uses BillboardGui for plane particles (im pretty sure you can make these via Attachments and ParticleEmitters that emit 1 particle upon creation which lasts for the duration of lifespan)
I’ve already had this situation where too much GUI’s ends up in breaking other GUI due to lack of buffer.

It’s still a solid project, again, I’m looking forward for it! Here’s an example of using 3D particles. They lack material definition and some shapes, but it’s cool regardless.
RobloxStudioBeta_2024-05-25_11-23-40-664

6 Likes