mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-27 14:12:16 +00:00
9a72148ad1
Fog rendering (including colored fog in maps in UDMF format). Fixed lots of bugs in model loading and rendering. Added "Toggle GZDoom Effects" button, which currently toggles dynamic lights, models and fog rendering. Model loading process is more verbose now, so if something goes wrong, check Errors and Warnings window (F11) for details. ColorPicker plugin: You can now select surfaces in 3D-mode and then open Color Picker window to edit sector colors of sectors, to which these surfaces belong. If nothing is selected, you can hilight a surface and then open Color Picker window to edit sector colors of sector, to which hilighted surface belongs. If nothing is selected, you can hilight a Light Thing and then open Color Picker window to edit it's properties.
26 lines
No EOL
775 B
C#
26 lines
No EOL
775 B
C#
using System.Collections.Generic;
|
|
using SlimDX;
|
|
using SlimDX.Direct3D9;
|
|
using CodeImp.DoomBuilder.Geometry;
|
|
|
|
|
|
namespace ColladaDotNet.Pipeline.MD3
|
|
{
|
|
public class GZModel {
|
|
public List<Mesh> Meshes;
|
|
public List<Texture> Textures;
|
|
public byte NUM_MESHES = 0; //can't be greater than 255, can it?
|
|
public Vector3[] BoundingBox;
|
|
public List<IndexBuffer> Indeces2D;
|
|
public List<short> NumIndeces2D;
|
|
public float Angle = 0; //crappy way to set rotation to md2 models...
|
|
|
|
public GZModel() {
|
|
Meshes = new List<Mesh>();
|
|
Textures = new List<Texture>();
|
|
Indeces2D = new List<IndexBuffer>();
|
|
NumIndeces2D = new List<short>();
|
|
}
|
|
}
|
|
|
|
} |