Archive for July, 2007

Z-layers in real sorting

28.07.2007 Anton Volkov

Our method of real Z-sorting distributes polygons on layers, as a matter of fact performing work of the designer in Photoshop/Flash.

Z-layers in real sorting

The Right shading

26.07.2007 Anton Volkov

Now we have Gaussian formula.

Couple of demos below:

2007-07-26_132437.jpg 2007-07-26_132709.jpg

Keys:

  • Space — add light source
  • Mouse wheel changes the curve

Highlights

25.07.2007 Anton Volkov

We’ve done some optimization of light calculation.
And now we have an opportunity to change a highlight parameters of a material.

Two demos:
Highlights on sphere Highlights on objects

Controls:

  • Space — to add an omni
  • Mouse wheel — to change a highlight size
  • Ctrl + mouse wheel — to change a highlight strength

Repearing lighting system

25.07.2007 Anton Volkov

Not optimized yet, but it lays very good on a new engine ideas.

2007-07-25_203858.jpg

Geosphere

21.07.2007 Vladimir Babushkin

Mouse wheel - change geometry detalization.

Геосфера

Holo-cube

15.07.2007 Anton Volkov

Holo-cube

12-gon sphere

13.07.2007 Anton Volkov

Testing 3D-polygons.

12-gon sphere

Optimizing honest Z-sorting

12.07.2007 Anton Volkov

We wrote it three times.
All the problems are solved now, and it has some optimization potential.

Оптимизация Z-сортировки

Сортировка точек, рёбер и граней

3D-console

10.07.2007 Dmitry Amelin

Server coders made it to watch 3d-world.
Avery cam has some params, at right side there is an object tree.

Made with Java using SWT/OpenGL. Console can work “standalone” or connected to a server via RMI.

Просмотр дерева классов Консоль3

PSD-parser

09.07.2007 Alexey Kviring

Photoshop with its PSD files is a standart de-facto. The game wants to read all that additional parameters, like pivot point, slices and so on. We decided to use separate layers to store this info. Then is came to a need of PSD-parser. We did’t found any real quality parsers, so we made it by ourselves in a week.

Here is an example of using this neat thing:

PSDParser parser = new PSDParser(new FileInputStream("image.psd")); 
PSDLayerAndMask layerAndMask = parser.getLayerAndMask();    
 
List layers = layerAndMask.getLayers(); 
List images = layerAndMask.getImageLayers(); 
int i = 0; 
for (PSDLayerStructure layer : layers) { 
    PSDLayerPixelData pixelData = images.get(i); 
    BufferedImage image = pixelData.getImage(); 
    if (image != null) 
	ImageIO.write(image, "png", new File(layer.getName() + ".png")); 
	    i++; 
}

Sourse

Sourse can be downloaded freely under APACHE LICENSE.
Features: all layers export (incl. main), main file info, full slices support.
Use this on your own risc, and we’ll be glad to hear any comments too (bugs, ideas).

psd_parser.7z