
#include "gzImage.h"
Go to the source code of this file.
Definition in file gzDbFlags.h.
|
|
Definition at line 32 of file gzDbFlags.h. |
|
|
Normally Gizmo3D treats DXT1 as opaque, DXT3 as binary alpha and DXT5 as continious alpha. However this is not always correct. The flag enables a calculation of the image during load. Definition at line 153 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to compress images as they are read. Converts all images to compressed formats. Definition at line 134 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to convert read images to grayscale. Allows view usage of imagages on low memory apps.
Definition at line 128 of file gzDbFlags.h. |
|
|
Feature flags for DB loaders.
Definition at line 35 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to dispose memory on CPU. You will not be able to read the geometry again but you will get a very fast rendering of it. Must be combined with GZ_DB_FLAGS_USE_BUFFERED_GEOMETRY. Definition at line 147 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to drop the image from CPU mem. You can not read the image after this. Definition at line 140 of file gzDbFlags.h. |
|
|
Definition at line 179 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to not use alpha blending for binary alpha images. Gives better performance but the actual “edge” of the image is non transparent. Definition at line 102 of file gzDbFlags.h. |
|
|
This will flip .dds images referenced by the dataset as the .dds format is ambigious from some vendors. Definition at line 40 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to generate light material properties and to smooth shade the geometry (generate normals) to models that doesn’t have light material properties. This way pure geometry will look shaded under a light lamp.
Definition at line 89 of file gzDbFlags.h. |
|
|
Definition at line 57 of file gzDbFlags.h. |
|
|
Gizmo3D normally tries to load alternate images when an image is not understood by the loader. E.g. a database might reference a file “test.tiff” and there is no “tiff” reader registered. In that case Gizmo3D normally want to find a “test.dds” or a “test.bmp” file. This flag disables that search. Definition at line 55 of file gzDbFlags.h. |
|
|
The image will not be cached for later on usage. Normally when an image is read by a loader the image is cached so consecutive loaders will use the same instance. Sometimes you want to change path with the GIZMO_PATH environment variable to change time of year etc. Then you want to use the same name of the image but a different file. Definition at line 48 of file gzDbFlags.h. |
|
|
Use this flag to load dxt1 images (.dds) without alpha.
Definition at line 60 of file gzDbFlags.h. |
|
|
Definition at line 175 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to treat all alpha images as binary alpha. No sorting is done for any alpha image. The fastest way to render alpha images, but you might get anomalies where some images might exclude others even if they are transparent. Definition at line 160 of file gzDbFlags.h. |
|
|
This flag auto enables the gzNodeOptimizer to run the db before returning the node handle. Definition at line 165 of file gzDbFlags.h. |
|
|
Definition at line 171 of file gzDbFlags.h. |
|
|
Definition at line 173 of file gzDbFlags.h. |
|
|
Definition at line 177 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to smooth binary alpha. Images with nearly two distinct alpha levels will be smoothed and sorted in the normal alpha sorting pipeline. Gives better images, but lower performance. Definition at line 96 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to add keyframe transforms for animations instead of static transforms in the scene graph.
Definition at line 65 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to use VBO (Vertex Buffer Objects) for the geometry. A very fast way to render. However the memory consumption is doubled as the geometry is stored both in CPU mem and GFX mem.
Definition at line 122 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to create display lists of the geometries. The geometries are compiled into displaylists the first time. Very fast on HW that supports displaylists good e.g. SGI HW.
Definition at line 115 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to use a dynamic loader in some cases. The loader will not wait for the loading to return, but a background process will load the database. Definition at line 76 of file gzDbFlags.h. |
|
|
Definition at line 169 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to create indexed geometry. Geometry with many same coordinates referenced by many triangles etc. will be faster as indexed geometry.
Definition at line 108 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to automatically enable mip maps for all loaded textures.
Definition at line 70 of file gzDbFlags.h. |
|
|
This flag will tell Gizmo3D to use a name encoding schema. The node names e.g. in a .3ds file will be used to create billboards, switches etc. even if the format doesn’t support them. See node name encodings.
Definition at line 82 of file gzDbFlags.h. |
|
|
Definition at line 181 of file gzDbFlags.h. |
|
|
Definition at line 167 of file gzDbFlags.h. |