3D game special effects, fire, lightning, water, and ice
Asked Answered
H

4

6

I'm working on a 3d game using OpenGL and would like to take it in a fantasy direction. Specifically I'm thinking of having magic with effects for fire, water, ice, and lightning. My problem is I have no idea how to create these effects. Are there any resources for me on how to learn something like this?

Hamiltonian answered 7/11, 2010 at 18:38 Comment(0)
H
5

Xavier:

I always go directly to the GPU vendor development sites. They will have complete development environments set up and have literally hundreds of ready to go code samples.

For example, take a look at the NVIDIA dev site for GPU Gems: there are several articles on water effects.

http://developer.nvidia.com/object/gpu_gems_home.html

The core engines do an amazing job at these physical simulation effects and unless you really want to become a special effects artist, I would suggest to pick an engine that does the effects as you know that they will do it to the best-known-methods at that time and they have a commercial incentive to keep improving on it.

The fact that the GPU now has so much compute power that it can do these complex physical effects creates another barrier to entry: you need to know and want to know the details of NVIDIA's GPUs, and AMD's GPUs, and Intel's GPUs, etc. That is a full time job and if your focus is on using these effects then you might get side tracked.

However, having said that, if you are really interested in how these special effects work, I suggest you join the Blender community ( http://www.blender.org ). There are some really good people there and the community is ready to help. Another valuable resource is the Bullet physics engine ( http://bulletphysics.org/wordpress/ ). It is the third most popular physics engine for games behind Havok and PhysX which are both big commercial projects.

Hideout answered 7/11, 2010 at 18:58 Comment(0)
F
3

You should look for a Particle System. There are some ready to be embedded inside your application or you can develop your own if you feel enough strong with this kinds of things.

They are quite easy to implement thou, you can find many examples on gamedev.net or gamasutra.com

Floatation answered 7/11, 2010 at 18:43 Comment(0)
S
2

I strongly recommend reading NeHe tutorials for OpenGL (http://nehe.gamedev.net/). It's a must for an OpenGL beginner.

Sprinkling answered 7/11, 2010 at 18:43 Comment(1)
I've heard that the NeHe tutorials use old techniques.Quiff
L
0

Check out point sprites.

Lanate answered 7/11, 2010 at 18:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.