Post on 07-Jul-2018
8/19/2019 CiantParticles
1/8
21/12/2015 CiantParticles - 16000000p GPU Particle System + Kinect | vvvv
http://vvvv.org/contribution/ciantparticles-16000000p-gpu-particle-system-%20-rotations
vvvv » Contributions » CiantParticles - 16000000p GPU Particle System + Kinect
add bookmarksubscribe
This Blog comment will be submitted for moderation and will not be accessible to other users until it
has been approved.
CiantParticles - 16000000p GPU Particle System + Kinect View Edit Revisions
2d 3d fire gpu kinect particles
about
Ciant Particles
is a particle system on GPU.
With a number of applied forces it can operate millions of particles. You can take vertices of a mesh as an
input for particle positions, describe their movement with a number of parameters, combine them with
geometry and other objects and create beautiful spectacular real-time effects. You can connect this particle
system to Kinect, sound input or usb camera. See how, in a tutorial. Possibilities are really wide.
To create a particle system:
1. Set input positions for particles (patch CiantCreatePositionsTexture)
2. Set parameters and forces for particles (size, color, texture, ...)
3. CiantParticles outputs a layer .. render it!
Every step is described in the tutorial.
The particle system is my dissertation. So if you try it, use it, or make some performances, tell me. Post
pictures here, or send me an email: apu@email.cz
There are many ways the particle system could be improved, many bugs that need to be slapped. We can
cooperate on that. Documentation is inside.
I am still working to improve the particle system.
Big thanks to
yungaro logout
online users
Westbam, matka, sunep,tekcor, joreg, tonfilm,sebescudie, newemka and68 guests
Shoutbox
~4min ago
tekcor: interesting find
http://idflood.github.io/Thre
~55min ago
gregsn: those tinkering
with VL please switch to
latest alpha pronto. to
everyone else in the
cosmos: merry
christmas!
~3d ago
tekcor: Monome
Compilation with high end
VVVV music video
http://www.symbioticcube.ccompilation/
~4d ago
sunep: Can't wait, it feels
like Christmas is coming
soon.
~4d ago
joreg: re latest alpha:
blogpost with explanations
imminent..
~4d ago
sunep: why is the latest
alpha 230MB?
~4d ago
skyliner:https://vvvv1.bandcamp.co
~4d ago
microdee: @joreg: it is
beautiful...
~4d ago
joreg: don't you touch
'em
~4d ago
u7angel: the packs folder
is packed with goodies :)
read morefollow on twitter
SearchHome Users Licensing Blog Forum Documentation Contributions Downloads
my bookmarks new
http://vvvv.org/users/joreghttp://vvvv.org/downloadshttp://vvvv.org/contributionshttp://vvvv.org/documentation/documentationhttp://vvvv.org/forumshttp://vvvv.org/bloghttp://vvvv.org/documentation/licensinghttp://vvvv.org/usershttp://vvvv.org/home/activitieshttp://vvvv.org/http://twitter.com/vvvvshoutboxhttp://vvvv.org/shoutshttp://vvvv.org/users/u7angelhttp://vvvv.org/users/joreghttp://vvvv.org/users/microdeehttps://vvvv1.bandcamp.com/http://vvvv.org/users/skylinerhttp://vvvv.org/users/sunephttp://vvvv.org/users/joreghttp://vvvv.org/users/sunephttp://www.symbioticcube.com/monome-compilation/http://vvvv.org/users/tekcorhttps://www.youtube.com/watch?v=cSZ55X3X4pkhttp://vvvv.org/users/gregsnhttp://idflood.github.io/ThreeNodes.js/index_optimized.html#example/postprocessing1.jsonhttp://vvvv.org/users/tekcorhttp://vvvv.org/blog/vvvvhat-happened-in-november-2015http://vvvv.org/users/newemkahttp://vvvv.org/users/sebescudiehttp://vvvv.org/users/tonfilmhttp://vvvv.org/users/joreghttp://vvvv.org/users/tekcorhttp://vvvv.org/users/sunephttp://vvvv.org/users/matkahttp://vvvv.org/users/westhttp://vvvv.org/logoutmailto:apu@email.czhttp://vvvv.org/node/72569/revisionshttp://vvvv.org/node/72569/edithttp://vvvv.org/contribution/ciantparticles-16000000p-gpu-particle-system-%20-rotationshttp://vvvv.org/contributionshttp://vvvv.org/
8/19/2019 CiantParticles
2/8
21/12/2015 CiantParticles - 16000000p GPU Particle System + Kinect | vvvv
http://vvvv.org/contribution/ciantparticles-16000000p-gpu-particle-system-%20-rotations
hiero?, phlegma? and all the creators of OpenNI Plugin - I used it.
Matthias Zauner? and his diploma Character Animation in vvvv - I used it.
dottore? ParticlesGPU_Shader_Library - I leared from it.
:) Martin.
download
CiantParticles4.zip - 30.12.11 [18:26 UTC] by Martin Zrcek | 2260 downloads
notes: big bug fix and more examples
other/older revisionsCiantParticles3.zip - 28.12.11 [03:27 UTC] by Martin Zrcek | 394 downloads
notes: Kinect added, some bugs added
CiantParticles2.zip - 22.12.11 [11:14 UTC] by Martin Zrcek | 320 downloads
notes: Particles rotation, Torque and some bug fixes
CiantParticles.zip - 22.12.11 [11:12 UTC] by Martin Zrcek | 605 downloads
Noir 29/11/2011 - 22:04
Cool contribution
xd_nitro 30/11/2011 - 02:47
this looks cool but doesn't run on my GTX 460M. blank renderers. Also getting quite a few vvvv violation errors
and locking up. :(
mediadog 01/12/2011 - 04:46
Wow! Works for me, but not Strawman - blank renderer, and vvvv is very unresponsive. No CPU or GPU load,
though, and no bad messages in TTY - on Win7 x64, GTX570. Thanks!
Martin Zrcek 01/12/2011 - 11:06
Help file Strawman is just a more complicated version of the other files .. that's weird. Try this less
computationally expensive version of that more complicated file: kivi.tym.cz/upload/StrawmanSimplified.zip
(and press 'R' reset few times)
or .. have you tried turning your computer off and on again? :)
Your graphic cards are definitely good enough, maybe after more people write here, we will be able to see the
problem.
Martin.
philip 01/12/2011 - 12:51
great stuff. wow! thanks!
win7 x64 ASUS 6950
tgd 01/12/2011 - 12:58
having exactly same case like mediadog reported. The simplified version does not help :(
win7 64, gtx 560 w. latest drivers.
mediadog 01/12/2011 - 16:47
Simplified does the same thing (your link above doesn't work without clipping out vvvv.org).
I don't think it's a CPU problem; my CPU use never gets above 25%, with any core going above 60%. My CPU
is a quad 4.3GHz i5. Graphic cards show no use at all. I do have a dual card system (GTX550Ti & GTX570Ti),
but I get the same results on each.
I have seen this behavior with other patches, so don't feel too bad. Those were using shaders too, so perhaps
something connected to those is not working properly under Win7 x64. It also may be some I/O blocking due
to textures - just guessing.
I get an access violation on exiting, 0x0040480C in vvvv.exe read of 0xFFFFFFFC (unfortunately not
uncommon).
Like this (16)
http://vvvv.org/flag/flag/like/72569?destination=node%2F72569&token=bd9442644a846f682291a14b005ae423http://vvvv.org/users/mediadoghttp://vvvv.org/users/tgdhttp://vvvv.org/users/philiphttp://vvvv.org/contribution/kivi.tym.cz/upload/StrawmanSimplified.ziphttp://vvvv.org/users/Martin%20Zrcekhttp://vvvv.org/users/mediadoghttp://vvvv.org/users/xd_nitrohttp://vvvv.org/users/Noirhttp://vvvv.org/users/Martin%20Zrcekhttp://vvvv.org/sites/all/modules/general/pubdlcnt/pubdlcnt.php?file=http://vvvv.org/sites/default/files/uploads/CiantParticles_0.zip&nid=72569http://vvvv.org/users/Martin%20Zrcekhttp://vvvv.org/sites/all/modules/general/pubdlcnt/pubdlcnt.php?file=http://vvvv.org/sites/default/files/uploads/CiantParticles2_0.zip&nid=72569http://vvvv.org/users/Martin%20Zrcekhttp://vvvv.org/sites/all/modules/general/pubdlcnt/pubdlcnt.php?file=http://vvvv.org/sites/default/files/uploads/CiantParticles3.zip&nid=72569http://vvvv.org/users/Martin%20Zrcekhttp://vvvv.org/sites/all/modules/general/pubdlcnt/pubdlcnt.php?file=http://vvvv.org/sites/default/files/uploads/CiantParticles4.zip&nid=72569http://vvvv.org/documentation/dottorehttp://vvvv.org/documentation/matthias-zaunerhttp://vvvv.org/documentation/phlegmahttp://vvvv.org/documentation/hiero
8/19/2019 CiantParticles
3/8
21/12/2015 CiantParticles - 16000000p GPU Particle System + Kinect | vvvv
http://vvvv.org/contribution/ciantparticles-16000000p-gpu-particle-system-%20-rotations
mediadog 01/12/2011 - 16:56
Also just wanted to say again thanks, been going through the patches and shaders, VERY educational!
everyoneishappy 01/12/2011 - 19:51
Cool- works for me on my win7 x64 machine. Card is NV GTX 460M.
mrboni 01/12/2011 - 20:16
Everything working except strawman.
Black renderer and access violation error when renderer is on 2nd output head
nice tho
Martin Zrcek 02/12/2011 - 02:14
Ok, try these simple parts of Strawman: http://kivi.tym.cz/upload/CiantParticlesPartsOfStrawman.zip
Maybe the problem is in culling behind geometry (rendering a black object in front of particles), which is the
only thing added in Strawman.
I use a 2 years old notebook, with Win7 x86, core2duo 2.26GHz and GeForce 9600M. So even the graphic card
shouldn't be the problem.
Here are some settings of fuzzy force (nothing else), to warm you up :)
mino 02/12/2011 - 02:18
Thanks for great contribution!
I cannot see strawman, too. looks graphic card freezing!
Win7, 64bit, GTX 460.
(update)
OnlyAnimatedPs and OnlyFire works fine.
But OnlyGeometry same problem...
Windows ActionCenter reports "video hardware trouble" and
"LiveKernelEvent" is event name. helpful?
barbarerik 02/12/2011 - 10:35
GTX 560, win7 X64Helps are ok
but ParticleFire renderer is black
DiMiX 02/12/2011 - 10:46
thanks. cool
everything working with win7 64
Nvidia quadro FX 3700M
mediadog 03/12/2011 - 07:08
Tried the PartsOfStrawman files, and all worked fine except the OnlyGeometry file, which exhibited the grey
renderer and very slowwww vvvv interface response with low CPU and GPU use. Hmmmm....
http://vvvv.org/users/mediadoghttp://vvvv.org/users/DiMiXhttp://vvvv.org/users/barbarerikhttp://vvvv.org/users/minohttp://kivi.tym.cz/upload/CiantParticlesPartsOfStrawman.ziphttp://vvvv.org/users/Martin%20Zrcekhttp://vvvv.org/users/mrbonihttp://vvvv.org/users/everyoneishappyhttp://vvvv.org/users/mediadog
8/19/2019 CiantParticles
4/8
21/12/2015 CiantParticles - 16000000p GPU Particle System + Kinect | vvvv
http://vvvv.org/contribution/ciantparticles-16000000p-gpu-particle-system-%20-rotations
Martin Zrcek 03/12/2011 - 09:41
Thanks a lot for your participation. This should be the last, all problem solving patch.
http://kivi.tym.cz/upload/CiantParticles help04_Strawman noSkyDome.v4p
Clouds are disabled.
mediadog 04/12/2011 - 06:32
Bingo! Works great. Thanks again!
h99 07/12/2011 - 14:32
Hi all
got those artifacts using CiantParticles help04_Strawman noSkyDome.v4p, no problems with other help files.
The screenshot is a two shots merged image, to show artifacts are the same (making me think it's hardware
issue).
XPsp3, geforce9600gt
Martin Zrcek 20/12/2011 - 13:06
Sorry, h99. I don't know what did those horrible things to your render.
Martin Zrcek 20/12/2011 - 13:12
Everyone,
I need you to send me some pictures you made, previews of your shows, or even if you plan to make
something, or even if you're thinking about making or doing something with this particle system. It doesn't
matter what quality it recently is, just send it.
I need it for my diploma.
apu@email.cz
And if you send something, I will make this PS much batter.
THANKS A LOT!!
Martin.
Martin Zrcek 22/12/2011 - 11:42
I just added rotations of particles according to direction of their movement, fixed the Torque force and some
others. There are also 2 more help patches to show rotations.
http://vvvv.org/users/Martin%20Zrcekmailto:apu@email.czhttp://vvvv.org/users/Martin%20Zrcekhttp://vvvv.org/users/Martin%20Zrcekhttp://vvvv.org/users/h99http://vvvv.org/users/mediadoghttp://kivi.tym.cz/upload/CiantParticles%20help04_Strawman%20noSkyDome.v4phttp://vvvv.org/users/Martin%20Zrcek
8/19/2019 CiantParticles
5/8
21/12/2015 CiantParticles - 16000000p GPU Particle System + Kinect | vvvv
http://vvvv.org/contribution/ciantparticles-16000000p-gpu-particle-system-%20-rotations
DiMiX 22/12/2011 - 21:00
I was wondering if you could give some advice to this matter:
video-to-ciant-particles
mediadog 29/12/2011 - 03:35
Martin, thanks again for such a fabulous contribution! But I'm seeing something with the size of the sprites that
I don't understand:
If I run help01, and then in the renderer move the camera far away by "P" + mouse-right-drag-up, say all the
way to the clipping point, then zoom in by "Z" + mouse-right-drag-down until the image appears about the
same size, the sprites are now very small. In other words, they appear to have remained at their apparent
distant size although the FOV has magnified the scene. The reverse happens if you move closer and widen the
view; the sprites get much larger.
Is this intentional/unavoidable? Ideally I'd like to be able to set the size of the sprites in "world" terms and
have them stay that way. Is this related to the "Height" parameter?
Hmmm, just found an easier way to demonstrate this: reset the Softimage camera with a long "R" press, then
right-drag the Camera "Initial FOV" input pin smaller to zoom in - the structure gets bigger but not the sprites.
Martin Zrcek 29/12/2011 - 08:41
the part of rendering pipeline:
in vertex shader:
get xyz position and multiply it by WVP matrix to move to clip space
get sprite size: Out.Size = particleSize / Out.Pos.w * viewportHeight/2;
graphic card does:
on each vertex place a picture of defined size:
FillMode = POINT;
PointScaleEnable = true;
PointSpriteEnable = true;
pixel shader:
get fragment color
The thing is that I don't send triangles to rasterization (4 points + topology, too time consuming). Only points
and let graphic card to place picture on each of them (1 point). Their size depends mainly on "Actual
Backbuffer Height", which is distributed from renderer to viewportHeight pin.
You can try to put huge images like 2048*2048 as a texture, or make an animation (textureSubdivision
parameter), that's the good part. I saw this technique in some vvvv patch here, but don't really know where.
Martin Zrcek 29/12/2011 - 10:53
p.s. Just multiply the particleSize or viewportHeight if you change FOV. (get FOV from Camera) The result
should be exactly the same, I guess.
Martin Zrcek 30/12/2011 - 18:33
I just added a kind of a last contribution for some time. Here you can find useful Kinect things and some
examples. I have a problem with skinning kinect skeleton, so if you solve it, upload it please.
Here is something to warm you up :)
http://vvvv.org/users/Martin%20Zrcekhttp://vvvv.org/users/Martin%20Zrcekhttp://vvvv.org/users/Martin%20Zrcekhttp://vvvv.org/users/mediadoghttp://vvvv.org/forum/video-to-ciant-particleshttp://vvvv.org/users/DiMiX
8/19/2019 CiantParticles
6/8
21/12/2015 CiantParticles - 16000000p GPU Particle System + Kinect | vvvv
http://vvvv.org/contribution/ciantparticles-16000000p-gpu-particle-system-%20-rotations
matka 31/12/2011 - 12:44
super prace, chlapi!! zdravim z Barcelony, pokud budete mit zajem ozvete se pres Skype Matkainc, veselyho
silvestra!!
sonofsnow 27/01/2012 - 11:14
I am having problems with the kinect part. The RGB and Depth Node are red but it dosent say anything about
missing .dll.
I am not into the world og programming. Only started with vvvv for a couple of months ago so any help would
be appriciated.
Primsense drivers are up and running and the kinect works great with Kinect_OpenNI_Library_1.2.
Tnx for a facinating program and contributions =)
ggml 27/01/2012 - 12:02
regarding kinect install problems, check the updated install instructions here openni-plugin
Yojik 30/01/2012 - 20:06
Hm, i have the same problem: red nodes (RGB and Depth) without messages about missing dll. And grey
Skeleton node becomes red when i come into kinect visible area((
patches from openni-plugin">openni-plugin works well.
heelp!) i need somebody help!)
ksp 20/02/2012 - 21:49
i too am having problems with this.
i have got the demo "CiantParticles help04_Strawman OnlyGeometry.v4p" to work by changing the texture
format of the DX9Texture to "X8R8G8B8" but can only get this patch to work and nothing else.
robe 06/03/2012 - 13:08
I think the Kinect Implement doesn't work anymore with the new Kinect Plug-in in B27, Can anyone confirm
this?
u7angel 08/06/2012 - 08:43
i'm starting to love this contribution. good work and thank you.
http://vvvv.org/users/u7angelhttp://vvvv.org/users/robehttp://vvvv.org/users/ksphttp://vvvv.org/contribution/openni-pluginhttp://vvvv.org/contribution/%3Ca%20href%20=http://vvvv.org/users/Yojikhttp://vvvv.org/contribution/openni-pluginhttp://vvvv.org/users/ggmlhttp://vvvv.org/users/sonofsnowhttp://vvvv.org/users/matka
8/19/2019 CiantParticles
7/8
21/12/2015 CiantParticles - 16000000p GPU Particle System + Kinect | vvvv
http://vvvv.org/contribution/ciantparticles-16000000p-gpu-particle-system-%20-rotations
Martin Zrcek 13/06/2012 - 16:40
Glad to hear you still know about this contribution. I'm preparing a big update with new functions. But it still
needs some big corrections.
About the Kinect Implement: This part is really marginal. You can use actual OpenNI SDK or Vux's Microsoft's
SDK to get depth and rgb texture. It's only a picture. The rest in the patch is just a linear interpolation of
points, not important.
synth 20/06/2012 - 18:48
@robe , yeah this kinect implementation is not working anymore , i managed to change the nodes
CiantKinectImplement.v4p and see something but overall you just have to change too many nodes to make itwork properly .
it may also be due to my total noobness in vvvv but yeah ... will be great if Martin can rework the patches with
either the new modules in b27 , they work very well so far
@Martin - i did not mean to offend , just as a noobie i am finding it hard to rework it so i can see the efects
u7angel 22/06/2012 - 11:39
looking forward for the big update :)
Martin Zrcek 16/02/2013 - 14:16
Hey guys, somebody told me on NODE that you made some great stuff with this and I didn't have time to see.
Now I forgot who was it, but definitely I want to see! Send me a message please: martin@probenesov.cz
www.martinzrcek.cz/en/kontakt
metrowave 19/02/2013 - 16:29
Hi Martin, it was very nice meeting you at Node and have a good chat. let's keep in touch. Best of luck in your
new projects.
Martin Zrcek 19/02/2013 - 18:28
Yes, NODE13 was good in coincidence meetings :)
Curveau 10/03/2013 - 13:21
Hi,
Thank you for a great looking contribution!
I'm just having an issue getting the Kinect examples to run.
The 'configuration' node error was fixed by dragging the kinect.dll onto _root.v4p - however am still showing a
red node with 'users', 'rgb', 'depth', and 'text'.
I am really keen to get this up and running as see lots of great possibilities.
Maybe I should use an earlier version of VVVV(?)
Any help would be much appreciated......
Please see the screenshot for clarification:
www.http://curveaudio.com/ima/Err.png
Post new comment
Body: *
Further Wikisyntax
http://vvvv.org/documentation/wikisyntaxhttp://www.http//curveaudio.com/ima/Err.pnghttp://vvvv.org/users/Curveauhttp://vvvv.org/users/Martin%20Zrcekhttp://vvvv.org/users/metrowavehttp://www.martinzrcek.cz/en/kontaktmailto:martin@probenesov.czhttp://vvvv.org/users/Martin%20Zrcekhttp://vvvv.org/users/u7angelhttp://vvvv.org/users/synthhttp://vvvv.org/users/Martin%20Zrcek
8/19/2019 CiantParticles
8/8
21/12/2015 CiantParticles - 16000000p GPU Particle System + Kinect | vvvv
http://vvvv.org/contribution/ciantparticles-16000000p-gpu-particle-system-%20-rotations
No se eligió archivoSeleccionar archivo Upload
Maximum file size: 150 MB
Allowed extensions: png gif jpg jpeg
Wiki
Lines and paragraphs break automatically.
Web page addresses and e-mail addresses turn into links automatically.
More information about formatting options
Images
Images:
Upload images for this content. The top image may be used as a preview image in lists.
Add another item
Save Preview
impressum
http://vvvv.org/impressumhttp://vvvv.org/filter/tips