Changeset 994 for GTP/trunk/Lib/Geom/shared/GeoTool/include
- Timestamp:
- 05/30/06 12:53:21 (19 years ago)
- Location:
- GTP/trunk/Lib/Geom/shared/GeoTool/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GeoTool/include/GeoMeshView.h
r993 r994 195 195 // load a image file as a texture 196 196 void LoadTexture(const char *); 197 void LoadTextureSubMesh(int isubmesh, const char *); 198 199 int getSubMeshCount(void) const { return mSubMeshCount; } 200 void resetTextures(void); 197 201 198 202 private: … … 237 241 // Current texture handle (OpenGL handle: 0=no texture) 238 242 GLuint current_texture; 243 GLuint *current_texture_submesh; 239 244 bool use_texture_mapping; // this flag enables texture mapping when a texture is loaded 240 245 -
GTP/trunk/Lib/Geom/shared/GeoTool/include/GeoMeshViewUI.h
r993 r994 52 52 #include "../resource.h" 53 53 54 //#include <IL/IL.h>55 56 54 // State of the button process. 57 55 enum ProcessState … … 117 115 118 116 MeshSimplificationSequence *oMeshSimpSequence; 119 LodStripsConstructor 120 GeoMeshLoader 117 LodStripsConstructor *oLodStrip; 118 GeoMeshLoader *geoMeshLoader; 121 119 122 120 inline void cb_menuFileOpen_i(fltk::Item*, void*); … … 128 126 inline void cb_menuFileLoadTexture_i(fltk::Item*, void*); 129 127 static void cb_menuFileLoadTexture(fltk::Item*, void*); 128 inline void cb_menuFileLoadTextureSubMesh_i(fltk::Item*, void*); 129 static void cb_menuFileLoadTextureSubMesh(fltk::Item*, void*); 130 130 131 131 inline void cb_menuMeshInfo_i(fltk::Item*, void*); … … 296 296 fltk::Item *menuMeshExportOBJ; 297 297 fltk::Item *menuFileTransformSharedVertex; 298 fltk::Item *menuFileLoadTexture; 298 fltk::ItemGroup *menuLoadTextures; 299 fltk::Item *menuFileLoadTexture; 299 300 300 301 fltk::Item *menuFileQuit; … … 380 381 float updateProgressBar(float); 381 382 383 void BuildLoadTextureSubMeshMenu(void); 384 int numSubMeshNames; 385 char **SubMeshNames; 386 382 387 }; 383 388
Note: See TracChangeset
for help on using the changeset viewer.