{"id":690,"date":"2012-02-25T00:36:23","date_gmt":"2012-02-24T21:36:23","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=690"},"modified":"2013-08-20T14:11:17","modified_gmt":"2013-08-20T11:11:17","slug":"particle-paint-v1-0","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2012\/02\/25\/particle-paint-v1-0\/","title":{"rendered":"Particle Paint v1.0"},"content":{"rendered":"<p><a title=\"start webplayer demo\" href=\"http:\/\/unitycoder.com\/upload\/demos\/mParticlePaint1\/\" target=\"_blank\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"691\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2012\/02\/25\/particle-paint-v1-0\/mparticlepaint1\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/02\/mParticlePaint1.jpg?fit=680%2C432&amp;ssl=1\" data-orig-size=\"680,432\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"mParticlePaint1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/02\/mParticlePaint1.jpg?fit=680%2C432&amp;ssl=1\" class=\"alignnone size-full wp-image-691\" title=\"mParticlePaint1\" alt=\"\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/02\/mParticlePaint1.jpg?resize=680%2C432\" width=\"680\" height=\"432\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/02\/mParticlePaint1.jpg?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/02\/mParticlePaint1.jpg?resize=300%2C190&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p>Testing particle painting..(with shuriken mesh particles)<\/p>\n<p>Plant &amp; Stone mesh+textures from: <a title=\"http:\/\/u3d.as\/content\/forst\/advanced-terrain-shaders-v2\/2Bo\" href=\"http:\/\/u3d.as\/content\/forst\/advanced-terrain-shaders-v2\/2Bo\" target=\"_blank\">Advanced Terrain Shaders v2<\/a><\/p>\n<p>Just for fun(?) the ground is using <a title=\"http:\/\/unitycoder.com\/blog\/2012\/01\/20\/wipe-transition-shader\/\" href=\"http:\/\/unitycoder.com\/blog\/2012\/01\/20\/wipe-transition-shader\/\" target=\"_blank\">wipe transition shader<\/a><\/p>\n<p><strong>Current features:<\/strong><br \/>\n&#8211; Paint with mouse (raycast)<br \/>\n&#8211; Offset from surface &#8211; variable<br \/>\n&#8211; Random rotation for particles placed<br \/>\n&#8211; max. 500 particles (recycle them, if keep spraying)<br \/>\n&#8211; Rotate \/ zoom<\/p>\n<p><strong>Ideas:<\/strong><br \/>\n&#8211; More particles? (seems to slow down with 1500 already)<br \/>\n&#8211; Use as Particle BirthPaint (like in max) ?<br \/>\n&#8211; Particle Collider : Player could collect the\u00a0 particles? (use &#8220;coin&#8221; mesh..?)<\/p>\n<p><strong>Webplayer:<\/strong>\u00a0 (it seems to flicker a bit in webplayer..but not in the editor)<br \/>\n<a title=\"http:\/\/unitycoder.com\/upload\/demos\/mParticlePaint1\/\" href=\"http:\/\/unitycoder.com\/upload\/demos\/mParticlePaint1\/\" target=\"_blank\">http:\/\/unitycoder.com\/upload\/demos\/mParticlePaint1\/<\/a><\/p>\n<p><strong>Download source:<\/strong><br \/>\n<a title=\"Download Source\" href=\"http:\/\/unitycoder.com\/download\/index2.php?link=189&amp;uid=un1t3c0d5r\" target=\"_blank\"> mParticlePaint.unityPackage<\/a><\/p>\n<p>*Unity4.2:<br \/>\n&#8211; Can comment out this line it seems:<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\/\/_ParticleSystem.Simulate(0.1); \/\/ needs this to emit now<\/pre>\n<p>&#8212;<\/p>\n<p><strong>Image#2 <\/strong>(using stone mesh..)<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"692\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2012\/02\/25\/particle-paint-v1-0\/mparticlepaint2\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/02\/mParticlePaint2.jpg?fit=680%2C415&amp;ssl=1\" data-orig-size=\"680,415\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"mParticlePaint2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/02\/mParticlePaint2.jpg?fit=680%2C415&amp;ssl=1\" class=\"alignnone size-full wp-image-692\" title=\"mParticlePaint2\" alt=\"\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/02\/mParticlePaint2.jpg?resize=680%2C415\" width=\"680\" height=\"415\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/02\/mParticlePaint2.jpg?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/02\/mParticlePaint2.jpg?resize=300%2C183&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Testing particle painting..(with shuriken mesh particles) Plant &amp; Stone mesh+textures from: Advanced Terrain Shaders v2 Just for fun(?) the ground is using wipe transition shader Current features: &#8211; Paint with mouse (raycast) &#8211; Offset from surface &#8211; variable &#8211; Random rotation for particles placed &#8211; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":691,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4,3],"tags":[5,34,182,759,183],"class_list":["post-690","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-demos","category-unity3d","tag-mesh","tag-paint","tag-particle","tag-particles","tag-shuriken"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/02\/mParticlePaint1.jpg?fit=680%2C432&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-b8","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=690"}],"version-history":[{"count":7,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/690\/revisions"}],"predecessor-version":[{"id":2328,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/690\/revisions\/2328"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/691"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}