Landscape

04.07.2007 Anton Volkov

Landscape is a unique 3D-object. It doesn’t have size or ends. It is very important for the game to load only viewable portion of the ground. Landscape is also not static - it can be changed during the game. So we began with landscape editor (it is a base for world 3D-editor).

First version:

Редактор ландшафта

Keys:

  • Mouse — rotates camera. With Shift — third axis rotation.
  • Wheel — zoom.
  • T/B/L/R — change view
  • F4 — aditmesh mode
    • You can move points and the are auto-welding (this may have some bugs).
    • Drag/click+Ctrl — divide:
      • On a polygon — divide polygon.
      • On the edge — divide edge.
    • Drag+Alt — creates new polygon from existing.
    • S — snap (not good yet).


Then we added lighting.

Простое освещение

And tryed to paint on a texture.

Рисуем в текстуре

Additional keys:

  • F3 — paint mode

Then we animated textures and made some lighting experiments.

Анимированная текстура с полигональным освещением Анимированная текстура с вертексным освещением

Then we decided to imitate GI-lighting with “Dirt-like” method: the “deeper” the point, the darker is texture.

Грязный ландшафт

And finally came with a great soft lighting idea, painting in a texture.
We got greater speed, and no sharp lighting edges.

Because of new MIP-mapping in new alpha flash player this one may look wrong.

Текстурное освещение

Диапазон источника света

Now we have soft lights in real-time!

Мягкое динамическое освещение

Additional keys:

  • Z — add texture things
  • C — add spotlight

Then we add texture quality settings.

Изменение качества текстур

Additional keys:

  • Shift+wheel — change light quality
  • Ctrl+wheel — change tex quality

Yeah, we know that in some browsers it activates page transitions and so on :)

Then we got all the lighing together.

Совместимость освещений

Q — change flash player quality setting

And FINALLY we did polygonal texture objects.

Текстурные объекты

  • X — change edge style

So.
Making the ladscape leaded us to some brand-new 3D Flash-visualisation. We will re-think it again soon :)

Leave a Reply