Z-layers in real sorting
28.07.2007 Anton VolkovOur method of real Z-sorting distributes polygons on layers, as a matter of fact performing work of the designer in Photoshop/Flash.
Archive for July, 2007Z-layers in real sorting28.07.2007 Anton VolkovOur method of real Z-sorting distributes polygons on layers, as a matter of fact performing work of the designer in Photoshop/Flash. The Right shading26.07.2007 Anton VolkovNow we have Gaussian formula. Couple of demos below: Keys:
Highlights25.07.2007 Anton VolkovWe’ve done some optimization of light calculation. Controls:
Repearing lighting system25.07.2007 Anton VolkovOptimizing honest Z-sorting12.07.2007 Anton Volkov3D-console10.07.2007 Dmitry AmelinServer coders made it to watch 3d-world. Made with Java using SWT/OpenGL. Console can work “standalone” or connected to a server via RMI. PSD-parser09.07.2007 Alexey KviringPhotoshop 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++; } SourseSourse can be downloaded freely under APACHE LICENSE. | |
|
| |