Algorithm for "neon glow" graphics programming -


i searching article or tutorial explains how 1 can draw primitive shapes (mainly simple lines) (neon) glow effect on them in graphical output of computer program. not want sophisticated stuff example in modern first pirson shooters or alike. more in search simple solution, lines in picture: http://tjl.co/blog/wp-content/uploads/2009/05/neonstripes.jpg -- of course drawn computer program in case.

the whole thing should run on modern smart phone, hardware bit limited.

i know bit opengl, not much, unfortunately bit lost here. did research on google ("glow effect algoritm" , similar), found either highly complex stuff 3d games, or tutorials photoshop & co.

so need in-depth article on subject, not on advanced level. hope thats possible... have started opengl, did minor graphics programming in past, long-year programmer now, understand technical papers in general.

does of know of such article/paper/tutorial/anything?

thanks in advance advices! cheers!

matthias

its jus bunch of lines different brightness/transperency. basically, if want glow effect 1px line, in size of 20 pixels, draw 41 lines width of 1 px. middle line base colour, other lines colours gradiently go base color 100% transperency (like in example) or darkest colour variant (if have black background, no transparency). it. :)


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -