Jump to content

Recommended Posts

So I'm experimenting with electricity (again). : )

Didn't see anything in searches. 

Ever see anything like that?

 

Thinking low-poly, or cartoonish aok:

      - particle system with little glowing star-diamonds...?

      - animated line bezier (or zig zag line) with emissive light?

      - import from blender animation(possible)

      - and or... spherical harmonics, lasers, and small godray?!?

 

What would you try first?

     - YouTube has some videos of Blender, electric arc's or - Hook Wave: 

      looks like a sine wave!  Only the spark is needed - not the anodes or y movement.

Idea:

      glowing low-poly sine-wave would be cool.... looking at this: https://doc.babylonjs.com/tutorials/how_to_use_curve3

 

Thanks,

   

Link to comment
Share on other sites

Hi E.  I'd say sinewave-pathed tube with highlightLayer glow.  http://www.babylonjs-playground.com/#LG3GS#150

(Wingnut not author of that... just tweaker)  If you move the camera a little, the glow "flickers".  I like that.  :)

As your sine tube scales and climbs the ladder, the glow around the arc might also flicker, and I bet that would look nice.

Just one opinion, but... one opinion > 0 replies.  :)

Link to comment
Share on other sites

Cool! 

A little warning:  The highlightLayer (I believe) is one of them "downstream" things (post-processing effect)... actually a 2D thing like lens flares and god rays.  They tend to NOT appear on RTT's (renderTargetTextures) and in all places that RTT's are used (screen grabber, possibly mirrorTextures, etc <-- notice lack-of edgesRendering in the four RTT "monitors".  EdgesRenderer is also a downstreamer.  So is outlineRender, showBoundingBox, asciiRender, (likely others), I think.

Little shader critters... camping in the post processing pipes... messin'-with the render frames.  They can be killed with Raid Shader-B-Gone spray.  :)

Just, you know, expect the highlight layer to disappear when you LEAST want it to.  :D

So, how DOES a guy make an overhead map view that DOSN'T use RTT's and so... has all of its post-processing crap included?  Viewports, that's how.  :)

Link to comment
Share on other sites

Scaled down to size this electricity effect will work.: )

 http://www.babylonjs-playground.com/#LG3GS#151 : )

            var alpha = 0;
            scene.registerBeforeRender(function () {
                tube.rotation.x = Math.PI/2 +alpha++;
            });

I only rotated x....

Perhaps opacity or rotating (white) bezier line in between...  I'll try a few things.

 @Wingnut -> you-tha-man. Solved. But still open to creative ideas ...

Cheers,

 

Link to comment
Share on other sites

On 2017-5-16 at 6:14 PM, enwolveren said:

So I'm experimenting with electricity (again). : )

Didn't see anything in searches. 

Ever see anything like that?

 

Thinking low-poly, or cartoonish aok:

      - particle system with little glowing star-diamonds...?

      - animated line bezier (or zig zag line) with emissive light?

      - import from blender animation(possible)

      - and or... spherical harmonics, lasers, and small godray?!?

 

What would you try first?

     - YouTube has some videos of Blender, electric arc's or - Hook Wave: 

      looks like a sine wave!  Only the spark is needed - not the anodes or y movement.

Idea:

      glowing low-poly sine-wave would be cool.... looking at this: https://doc.babylonjs.com/tutorials/how_to_use_curve3

 

Thanks,

   

I guess this is exactly what we've been looking for:

http://www.babylonjs-playground.com/#24PQRQ#84

Link to comment
Share on other sites

You guys -> truerockstars ... great community, many solutions, so much fun.

From yesterday, humble attempt at variating ideas from @Wingnut and @hunts. Thank you.

Combined:  2 rotating tubes, 1 smaller one (white), and 2 larger pulsing (blueish).

http://www.babylonjs-playground.com/#LG3GS#161 ... cartoonish-zap!

Combining with variations above...

Can't wait to see... : )

Cheers,

Link to comment
Share on other sites

@hunts wow, "jitter" looks perfect: http://www.babylonjs-playground.com/#24PQRQ#79(line is nice!, like fast spin...creates optical-illusion!)

@NasimiAsl - plasma field very relaxing( like*2 ) http://www.babylonjs-playground.com/#24PQRQ#79 (looking) BABYLONX...InLine('webgl')(mat). Cant wait to see your creation... 

@Dad72 - reusable method, I'll study and utilize http://www.babylonjs-playground.com/#24PQRQ#79 thank you. I see, nice.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...