Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Superficially, I thought 'all' that would be required to make a myst style game would be to place the camera inside a 3D sphere, with the sphere's inner surface textured with an appropriately-distorted (to account for the concave nature of the sphere), 2D rendering of a 3D world.

The only thing that I can't really work out is how are some elements of the game alive and moving?

In this video, the sea waves are moving: http://www.youtube.com/watch?v=ju0lACSm7Us

In this one we have some pretty cool particle effects involving clouds, as well as lighting, thought I think the lightning is pre-rendered: http://www.youtube.com/watch?v=_CidCIDHFL4

I doubt these effects are actually 3D; I think they are 2D looping movie files. However I could be wrong.

To clarify, how do you think they've achieved such gorgeous 3D effects regarding the water, clouds and lightning?

Are they looping movies? How are these movies presented to the user and integrated so well?

share|improve this question
    
Why do you doubt they are 3D? –  Byte56 Apr 29 '13 at 11:39
    
Been as the myst games aren't real-time 3D games, I don't see the advantage of using actual 3D when you always know exactly where the camera will be. Personally I would use a 2D animated texture. I could be dead wrong, I just can't see the reasoning behind using true 3D when the perspective will never change. –  Starkers Apr 29 '13 at 11:58

1 Answer 1

up vote 2 down vote accepted

One way to make such an effect is UV animation.

The UV is a texture coordinates, as XYZ is the objects coordinates, what is done here is simple. Given the following texture with the mention that it needs to have an alpha channel so that we can exclude the blue color and leave just the clouds, it is going to be applied to a quad

enter image description here

Let the upper left corner be (0,0) in texture coordinates be the starting poing. What it is being done: a step X is taken and the starting point of the UV texture is incremented at each frame/update giving the illusion of animation.

To achieve different effects, different textures are "displaced", for the clouds the diffuse texture, for the water the normal texture given it is a flat quad with only reflection.

For the lightning it's just a simple texture with alpha and perhaps some additional calculations being done in the fragment shader.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.