Вы находитесь на странице: 1из 8

21/12/2015

CiantParticles16000000pGPUParticleSystem+Kinect|vvvv

Home

Users

Licensing

Blog

Forum

Documentation

Contributions

Downloads

Search
my bookmarks

vvvv Contributions CiantParticles - 16000000p GPU Particle System + Kinect

new

yungarologout

ThisBlogcommentwillbesubmittedformoderationandwillnotbeaccessibletootherusersuntilit
hasbeenapproved.

onlineusers
Westbam,matka,sunep,
tekcor,joreg,tonfilm,
sebescudie,newemkaand
68guests

CiantParticles16000000pGPUParticleSystem+
Kinect
View

Edit

Revisions

subscribe

add bookmark

2d 3d fire gpu kinect particles

Shoutbox

~4minago

tekcor:interestingfind
http://idflood.github.io/ThreeNodes.js/index_optim
~55minago

gregsn:thosetinkering
withVLpleaseswitchto
latestalphapronto.to
everyoneelseinthe
cosmos:merry
christmas!
~3dago

tekcor:Monome
Compilationwithhighend
VVVVmusicvideo
http://www.symbioticcube.com/monome
compilation/
~4dago

sunep:Can'twait,itfeels
likeChristmasiscoming
soon.
~4dago

about
CiantParticles
isaparticlesystemonGPU.
Withanumberofappliedforcesitcanoperatemillionsofparticles.Youcantakeverticesofameshasan
inputforparticlepositions,describetheirmovementwithanumberofparameters,combinethemwith
geometryandotherobjectsandcreatebeautifulspectacularrealtimeeffects.Youcanconnectthisparticle

joreg:relatestalpha:
blogpostwithexplanations
imminent..
~4dago

sunep:whyisthelatest
alpha230MB?
~4dago

skyliner:
https://vvvv1.bandcamp.com/

systemtoKinect,soundinputorusbcamera.Seehow,inatutorial.Possibilitiesarereallywide.

~4dago

Tocreateaparticlesystem:

microdee:@joreg:itis
beautiful...

1. Setinputpositionsforparticles(patchCiantCreatePositionsTexture)

~4dago

2. Setparametersandforcesforparticles(size,color,texture,...)

joreg:don'tyoutouch
'em

3. CiantParticlesoutputsalayer..renderit!
Everystepisdescribedinthetutorial.

~4dago

Theparticlesystemismydissertation.Soifyoutryit,useit,ormakesomeperformances,tellme.Post

u7angel:thepacksfolder
ispackedwithgoodies:)

pictureshere,orsendmeanemail:apu@email.cz
Therearemanywaystheparticlesystemcouldbeimproved,manybugsthatneedtobeslapped.Wecan
cooperateonthat.Documentationisinside.

readmore
followontwitter

Iamstillworkingtoimprovetheparticlesystem.
Bigthanksto

http://vvvv.org/contribution/ciantparticles16000000pgpuparticlesystem%20rotations

1/8

21/12/2015

CiantParticles16000000pGPUParticleSystem+Kinect|vvvv
hiero?,phlegma?andallthecreatorsofOpenNIPluginIusedit.
MatthiasZauner?andhisdiplomaCharacterAnimationinvvvvIusedit.
dottore?ParticlesGPU_Shader_LibraryIlearedfromit.
:)Martin.

download
CiantParticles4.zip30.12.11[18:26UTC]by MartinZrcek|2260downloads
notes:bigbugfixandmoreexamples

other/olderrevisions
CiantParticles3.zip28.12.11[03:27UTC]by MartinZrcek|394downloads
notes:Kinectadded,somebugsadded
CiantParticles2.zip22.12.11[11:14UTC]by MartinZrcek|320downloads
notes:Particlesrotation,Torqueandsomebugfixes
CiantParticles.zip22.12.11[11:12UTC]by MartinZrcek|605downloads
Likethis(16)
Noir29/11/201122:04
Coolcontribution

xd_nitro30/11/201102:47
thislookscoolbutdoesn'trunonmyGTX460M.blankrenderers.Alsogettingquiteafewvvvvviolationerrors
andlockingup.:(

mediadog01/12/201104:46
Wow!Worksforme,butnotStrawmanblankrenderer,andvvvvisveryunresponsive.NoCPUorGPUload,
though,andnobadmessagesinTTYonWin7x64,GTX570.Thanks!

MartinZrcek01/12/201111:06
HelpfileStrawmanisjustamorecomplicatedversionoftheotherfiles..that'sweird.Trythisless
computationallyexpensiveversionofthatmorecomplicatedfile:

kivi.tym.cz/upload/StrawmanSimplified.zip

(andpress'R'resetfewtimes)
or..haveyoutriedturningyourcomputeroffandonagain?:)
Yourgraphiccardsaredefinitelygoodenough,maybeaftermorepeoplewritehere,wewillbeabletoseethe
problem.
Martin.

philip01/12/201112:51
greatstuff.wow!thanks!
win7x64ASUS6950

tgd01/12/201112:58
havingexactlysamecaselikemediadogreported.Thesimplifiedversiondoesnothelp:(
win764,gtx560w.latestdrivers.

mediadog01/12/201116:47
Simplifieddoesthesamething(yourlinkabovedoesn'tworkwithoutclippingoutvvvv.org).
Idon'tthinkit'saCPUproblemmyCPUusenevergetsabove25%,withanycoregoingabove60%.MyCPU
isaquad4.3GHzi5.Graphiccardsshownouseatall.Idohaveadualcardsystem(GTX550Ti&GTX570Ti),
butIgetthesameresultsoneach.
Ihaveseenthisbehaviorwithotherpatches,sodon'tfeeltoobad.Thosewereusingshaderstoo,soperhaps
somethingconnectedtothoseisnotworkingproperlyunderWin7x64.ItalsomaybesomeI/Oblockingdue
totexturesjustguessing.
Igetanaccessviolationonexiting,0x0040480Cinvvvv.exereadof0xFFFFFFFC(unfortunatelynot
uncommon).

http://vvvv.org/contribution/ciantparticles16000000pgpuparticlesystem%20rotations

2/8

21/12/2015

CiantParticles16000000pGPUParticleSystem+Kinect|vvvv
mediadog01/12/201116:56
Alsojustwantedtosayagainthanks,beengoingthroughthepatchesandshaders,VERYeducational!

everyoneishappy01/12/201119:51
Coolworksformeonmywin7x64machine.CardisNVGTX460M.

mrboni01/12/201120:16
Everythingworkingexceptstrawman.
Blackrendererandaccessviolationerrorwhenrendererison2ndoutputhead
nicetho

MartinZrcek02/12/201102:14
Ok,trythesesimplepartsofStrawman:

http://kivi.tym.cz/upload/CiantParticlesPartsOfStrawman.zip

Maybetheproblemisincullingbehindgeometry(renderingablackobjectinfrontofparticles),whichisthe
onlythingaddedinStrawman.
Iusea2yearsoldnotebook,withWin7x86,core2duo2.26GHzandGeForce9600M.Soeventhegraphiccard
shouldn'tbetheproblem.
Herearesomesettingsoffuzzyforce(nothingelse),towarmyouup:)

mino02/12/201102:18
Thanksforgreatcontribution!
Icannotseestrawman,too.looksgraphiccardfreezing!
Win7,64bit,GTX460.
(update)
OnlyAnimatedPsandOnlyFireworksfine.
ButOnlyGeometrysameproblem...
WindowsActionCenterreports"videohardwaretrouble"and
"LiveKernelEvent"iseventname.helpful?

barbarerik02/12/201110:35
GTX560,win7X64
Helpsareok
butParticleFirerendererisblack

DiMiX02/12/201110:46
thanks.cool
everythingworkingwithwin764
NvidiaquadroFX3700M

mediadog03/12/201107:08
TriedthePartsOfStrawmanfiles,andallworkedfineexcepttheOnlyGeometryfile,whichexhibitedthegrey
rendererandveryslowwwwvvvvinterfaceresponsewithlowCPUandGPUuse.Hmmmm....

http://vvvv.org/contribution/ciantparticles16000000pgpuparticlesystem%20rotations

3/8

21/12/2015

CiantParticles16000000pGPUParticleSystem+Kinect|vvvv
MartinZrcek03/12/201109:41
Thanksalotforyourparticipation.Thisshouldbethelast,allproblemsolvingpatch.
http://kivi.tym.cz/upload/CiantParticleshelp04_StrawmannoSkyDome.v4p
Cloudsaredisabled.

mediadog04/12/201106:32
Bingo!Worksgreat.Thanksagain!

h9907/12/201114:32

Hiall
gotthoseartifactsusingCiantParticleshelp04_StrawmannoSkyDome.v4p,noproblemswithotherhelpfiles.
Thescreenshotisatwoshotsmergedimage,toshowartifactsarethesame(makingmethinkit'shardware
issue).
XPsp3,geforce9600gt

MartinZrcek20/12/201113:06
Sorry,h99.Idon'tknowwhatdidthosehorriblethingstoyourrender.

MartinZrcek20/12/201113:12
Everyone,
Ineedyoutosendmesomepicturesyoumade,previewsofyourshows,orevenifyouplantomake
something,orevenifyou'rethinkingaboutmakingordoingsomethingwiththisparticlesystem.Itdoesn't
matterwhatqualityitrecentlyis,justsendit.
Ineeditformydiploma.
apu@email.cz
Andifyousendsomething,IwillmakethisPSmuchbatter.
THANKSALOT!!
Martin.

MartinZrcek22/12/201111:42
Ijustaddedrotationsofparticlesaccordingtodirectionoftheirmovement,fixedtheTorqueforceandsome
others.Therearealso2morehelppatchestoshowrotations.

http://vvvv.org/contribution/ciantparticles16000000pgpuparticlesystem%20rotations

4/8

21/12/2015

CiantParticles16000000pGPUParticleSystem+Kinect|vvvv
DiMiX22/12/201121:00
Iwaswonderingifyoucouldgivesomeadvicetothismatter:
videotociantparticles

mediadog29/12/201103:35
Martin,thanksagainforsuchafabulouscontribution!ButI'mseeingsomethingwiththesizeofthespritesthat
Idon'tunderstand:
IfIrunhelp01,andthenintherenderermovethecamerafarawayby"P"+mouserightdragup,sayallthe
waytotheclippingpoint,thenzoominby"Z"+mouserightdragdownuntiltheimageappearsaboutthe
samesize,thespritesarenowverysmall.Inotherwords,theyappeartohaveremainedattheirapparent
distantsizealthoughtheFOVhasmagnifiedthescene.Thereversehappensifyoumovecloserandwidenthe
viewthespritesgetmuchlarger.
Isthisintentional/unavoidable?IdeallyI'dliketobeabletosetthesizeofthespritesin"world"termsand
havethemstaythatway.Isthisrelatedtothe"Height"parameter?
Hmmm,justfoundaneasierwaytodemonstratethis:resettheSoftimagecamerawithalong"R"press,then
rightdragtheCamera"InitialFOV"inputpinsmallertozoominthestructuregetsbiggerbutnotthesprites.

MartinZrcek29/12/201108:41
thepartofrenderingpipeline:
invertexshader:
getxyzpositionandmultiplyitbyWVPmatrixtomovetoclipspace
getspritesize:Out.Size=particleSize/Out.Pos.w*viewportHeight/2
graphiccarddoes:
oneachvertexplaceapictureofdefinedsize:
FillMode=POINT
PointScaleEnable=true
PointSpriteEnable=true
pixelshader:
getfragmentcolor
ThethingisthatIdon'tsendtrianglestorasterization(4points+topology,tootimeconsuming).Onlypoints
andletgraphiccardtoplacepictureoneachofthem(1point).Theirsizedependsmainlyon"Actual
BackbufferHeight",whichisdistributedfromrenderertoviewportHeightpin.
Youcantrytoputhugeimageslike2048*2048asatexture,ormakeananimation(textureSubdivision
parameter),that'sthegoodpart.Isawthistechniqueinsomevvvvpatchhere,butdon'treallyknowwhere.

MartinZrcek29/12/201110:53
p.s.JustmultiplytheparticleSizeorviewportHeightifyouchangeFOV.(getFOVfromCamera)Theresult
shouldbeexactlythesame,Iguess.

MartinZrcek30/12/201118:33
Ijustaddedakindofalastcontributionforsometime.HereyoucanfindusefulKinectthingsandsome
examples.Ihaveaproblemwithskinningkinectskeleton,soifyousolveit,uploaditplease.
Hereissomethingtowarmyouup:)

http://vvvv.org/contribution/ciantparticles16000000pgpuparticlesystem%20rotations

5/8

21/12/2015

CiantParticles16000000pGPUParticleSystem+Kinect|vvvv

matka31/12/201112:44
superprace,chlapi!!zdravimzBarcelony,pokudbudetemitzajemozvetesepresSkypeMatkainc,veselyho
silvestra!!

sonofsnow27/01/201211:14
Iamhavingproblemswiththekinectpart.TheRGBandDepthNodeareredbutitdosentsayanythingabout
missing.dll.
Iamnotintotheworldogprogramming.Onlystartedwithvvvvforacoupleofmonthsagosoanyhelpwould
beappriciated.
PrimsensedriversareupandrunningandthekinectworksgreatwithKinect_OpenNI_Library_1.2.
Tnxforafacinatingprogramandcontributions=)

ggml27/01/201212:02
regardingkinectinstallproblems,checktheupdatedinstallinstructionshereopenniplugin

Yojik30/01/201220:06
Hm,ihavethesameproblem:rednodes(RGBandDepth)withoutmessagesaboutmissingdll.Andgrey
Skeletonnodebecomesredwhenicomeintokinectvisiblearea((
patchesfrom

openniplugin">opennipluginworkswell.

heelp!)ineedsomebodyhelp!)

ksp20/02/201221:49
itooamhavingproblemswiththis.
ihavegotthedemo"CiantParticleshelp04_StrawmanOnlyGeometry.v4p"toworkbychangingthetexture
formatoftheDX9Textureto"X8R8G8B8"butcanonlygetthispatchtoworkandnothingelse.

robe06/03/201213:08
IthinktheKinectImplementdoesn'tworkanymorewiththenewKinectPlugininB27,Cananyoneconfirm
this?

u7angel08/06/201208:43
i'mstartingtolovethiscontribution.goodworkandthankyou.

http://vvvv.org/contribution/ciantparticles16000000pgpuparticlesystem%20rotations

6/8

21/12/2015

CiantParticles16000000pGPUParticleSystem+Kinect|vvvv
MartinZrcek13/06/201216:40
Gladtohearyoustillknowaboutthiscontribution.I'mpreparingabigupdatewithnewfunctions.Butitstill
needssomebigcorrections.
AbouttheKinectImplement:Thispartisreallymarginal.YoucanuseactualOpenNISDKorVux'sMicrosoft's
SDKtogetdepthandrgbtexture.It'sonlyapicture.Therestinthepatchisjustalinearinterpolationof
points,notimportant.

synth20/06/201218:48
@robe,yeahthiskinectimplementationisnotworkinganymore,imanagedtochangethenodes
CiantKinectImplement.v4pandseesomethingbutoverallyoujusthavetochangetoomanynodestomakeit
workproperly.
itmayalsobeduetomytotalnoobnessinvvvvbutyeah...willbegreatifMartincanreworkthepatcheswith
eitherthenewmodulesinb27,theyworkverywellsofar
@Martinididnotmeantooffend,justasanoobieiamfindingithardtoreworkitsoicanseetheefects

u7angel22/06/201211:39
lookingforwardforthebigupdate:)

MartinZrcek16/02/201314:16
Heyguys,somebodytoldmeonNODEthatyoumadesomegreatstuffwiththisandIdidn'thavetimetosee.
NowIforgotwhowasit,butdefinitelyIwanttosee!Sendmeamessageplease:martin@probenesov.cz
www.martinzrcek.cz/en/kontakt

metrowave19/02/201316:29
HiMartin,itwasverynicemeetingyouatNodeandhaveagoodchat.let'skeepintouch.Bestofluckinyour
newprojects.

MartinZrcek19/02/201318:28
Yes,NODE13wasgoodincoincidencemeetings:)

Curveau10/03/201313:21
Hi,
Thankyouforagreatlookingcontribution!
I'mjusthavinganissuegettingtheKinectexamplestorun.
The'configuration'nodeerrorwasfixedbydraggingthekinect.dllonto_root.v4phoweveramstillshowinga
rednodewith'users','rgb','depth',and'text'.
Iamreallykeentogetthisupandrunningasseelotsofgreatpossibilities.
MaybeIshoulduseanearlierversionofVVVV(?)
Anyhelpwouldbemuchappreciated......
Pleaseseethescreenshotforclarification:
www.http://curveaudio.com/ima/Err.png

Postnewcomment
Body:*

FurtherWikisyntax

http://vvvv.org/contribution/ciantparticles16000000pgpuparticlesystem%20rotations

7/8

21/12/2015

CiantParticles16000000pGPUParticleSystem+Kinect|vvvv

Wiki
Linesandparagraphsbreakautomatically.
Webpageaddressesandemailaddressesturnintolinksautomatically.
Moreinformationaboutformattingoptions
Images
Images:

Seleccionararchivo Noseeligiarchivo Upload


Maximumfilesize:150MB
Allowedextensions:pnggifjpgjpeg

Uploadimagesforthiscontent.Thetopimagemaybeusedasapreviewimageinlists.

Addanotheritem
Save

Preview

impressum

http://vvvv.org/contribution/ciantparticles16000000pgpuparticlesystem%20rotations

8/8

Вам также может понравиться