Jump to content
  • Advertisement
Sign in to follow this  
arthurprs

nice looking effects

This topic is 3772 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How can i render lines like those? It's called bloom or glow? they are probably not rendered using GL_LINE, it's some kind of sprite? I'm developing a 2d shooter and trying to add these effects on some projectiles like that Thanks, Arthur. [Edited by - arthurprs on July 18, 2008 4:26:48 PM]

Share this post


Link to post
Share on other sites
Advertisement
To get that glow effect you should take a look at this site:
http://www.gamasutra.com/features/20040526/james_pfv.htm

Share this post


Link to post
Share on other sites
Quote:
Original post by davek20
To get that glow effect you should take a look at this site:
http://www.gamasutra.com/features/20040526/james_pfv.htm


I will take a look thanks.

And what about the lines?

Share this post


Link to post
Share on other sites
no for geowars im 99% sure theyre not doing a bloom
all it is are just plain textures
rendered with some additive blending mode

u can download a geowars clone + have a look at their assets

Share this post


Link to post
Share on other sites
Quote:
Original post by zedz
no for geowars im 99% sure theyre not doing a bloom
all it is are just plain textures
rendered with some additive blending mode

u can download a geowars clone + have a look at their assets


new info found on Grid Wars gfx folder

I think the lines are draw using this pic (or something similar), but there is a way to draw lines using a pic? :P
"glow.bmp"


the squares and other shapes it maked on PS and probably draw then with Add Blend Mode ;p

Share this post


Link to post
Share on other sites
What do you mean by "lines"? Are you talking about the grid in the background?

It looks like it is made up of vertices aligned as a grid (and possibly drawn as line primitives or quadstrips as wireframe). Another reason why I think that is because it would make it a lot easier to do the special effects on the grid of vertices like the explosions and the "black hole" (where the grid get sucked into a single point).

Share this post


Link to post
Share on other sites
Quote:
Original post by davek20
What do you mean by "lines"? Are you talking about the grid in the background?

It looks like it is made up of vertices aligned as a grid (and possibly drawn as line primitives or quadstrips as wireframe). Another reason why I think that is because it would make it a lot easier to do the special effects on the grid of vertices like the explosions and the "black hole" (where the grid get sucked into a single point).

Yes, the background grid and the lines that links some shapes
but, are you sure? Those lines look very smooth and beautifull :S

Share this post


Link to post
Share on other sites
Well, a commonly used technique is to render a textured quad instead of a line. It might as well be a quadstrip to produce nice looking line ends, i.e. use the "glow.bmp" and a 3-quad strip with texcoords y = 0 or 1 and x = 0, 0.5 or 1.

Example (texture coords u/v):


0/1--0.5/1-----0.5/1--1/1
| __|___________|_ |
| (__|___________|_) |
| | | |
0/0--0.5/0-----0.5/0--1/0

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!