flefokix.blogg.se

Unity particle playground unity forum
Unity particle playground unity forum








unity particle playground unity forum

While interacting with the marbles you'll notice that the black marble will attract particles and the white will repel them. Here's an example of using attractors and repellants:Ĭhoose which marble you want to emit (or all of them). I'm testing for the functionality of manipulating particles in world space. I would also like to sort the mesh particles as the images pixel positions to get a better fluidity in transitions between meshes and images, but that's a later problem. I have a lot to learn here, and I'm looking for input from someone experienced in this if you have the time! I guess it's what shaders commonly do in pixel shading (wild guess at the moment). Preferably with approximately the same distance independent of vertex positions. In a perfect world I would like to structure the particles according to each vertex with a grid in between (I'm thinking some barycentric-ish solution) where each particle inside is colored as the calculated point for uv.

unity particle playground unity forum

What I struggle with now is the concept of adding particle positions of meshes, where some should be nondependent of vertices ( nixter's request). More example algorithms (for controlling the particles).Functions for moving and animated meshes (non-state realtime mesh update).Manipulators (tools for interacting with the particles, FlaxSycle's request).Particle count scaling (rebuild particle pool according to current state positions - choice by user as a function).Nondependent vertex mesh structure (need more points to particles).Additive add (support for adding onto a state, for instance several meshes into one state).Possibility to add new images and meshes into existing Pixel2Particle system.Here's what I've been working on the last days: Same link as before to see it in action ( web player). The most obvious addition is that states now handle meshes and/or images. Things are going quite well at the moment, but there's a lot to be done before this sees daylight. You can try it out in the latest webplayerĪre there any features you would like to see in it? I intend to release it in the near future when it's a bit more polished.

Unity particle playground unity forum update#

The system now calculates particle behavior in its own Update cycle which makes it very handy to work with manipulator objects. Keys: W zoom in, S zoom out, Mouse rotate A world object is a state live in the scene and computed in realtime, a good example is the skinned mesh emitter demo where the particles positions on every mesh vertex to fade towards their reuse in the particle pool. These states are not compatible with animated skinned meshes in the scene due to their more complicated vertex access level - and the fact that they are live in the scene, therefore there's an extension for something the framework calls world objects and skinned world objects. On top of this there are some tools built in for ease of use for the more common tasks, for instance linear interpolation (lerp) of a complete pixel2particle object This makes it easy to blend between states, regardless whether they are images or meshes. Along with that you can additively add onto a state, where you for instance can store several meshes into one state. You can pass in an image or mesh with a couple of different parameters (for instance an image together with a depth map to give the image z-positions).

unity particle playground unity forum

The particles follow something the framework calls states, a state can be looked at as a snapshot where position, color and size is stored. The last couple of days I've been working on a framework for controlling the Shuriken particle system, where you can pass in an image or mesh and rebuild it as particles with a pool (for performance). The framework enables a couple of different methods to emit particles as well as control them with different forces during their lifetime.Ī new site is up showcasing the framework, try it out here: įeedback in the thread is more than welcome! Particle Playground is a toolset which enables you to be creative in new ways in terms of altering and rendering particles in Unity.










Unity particle playground unity forum