36 #include "../grid/grid.h"
37 #include "../common_attachments.h"
38 #include "../subset_handler.h"
40 #ifndef __H__LIB_GRID__FILE_IO_OBJ__
41 #define __H__LIB_GRID__FILE_IO_OBJ__
78 std::vector<OBJMaterial>* pvMaterials = NULL);
86 std::vector<OBJMaterial>* pvMaterials = NULL);
A generic specialization of IAttachment.
Definition: attachment_pipe.h:263
Manages the elements of a grid and their interconnection.
Definition: grid.h:132
Definition: subset_handler_interface.h:223
bool LoadGridFromOBJ(Grid &grid, const char *filename, AVector3 &aPos, AVector2 *paTexCoord, ISubsetHandler *pSubsetHandler, std::vector< OBJMaterial > *pvMaterials)
Loads a file from a wavefront '.obj' file. Fills optional subset-infos.
Definition: file_io_obj.cpp:50
bool SaveGridToOBJ(Grid &grid, const char *filename, AVector3 &aPos, AVector2 *paTexCoord, ISubsetHandler *pSubsetHandler, std::vector< OBJMaterial > *pvMaterials)
Saves a file from a wavefront '.obj' file. Writes optional subset-infos.
Definition: file_io_obj.cpp:250
APosition aPosition("position", true)
The standard 3d position type.
Definition: common_attachments.h:84
holds information about the materials in the obj-file.
Definition: file_io_obj.h:50
std::string m_strName
Definition: file_io_obj.h:51
float m_fAlpha
Definition: file_io_obj.h:54
std::string m_strTextureDiffuse
Definition: file_io_obj.h:52
vector4 m_vDiffuse
Definition: file_io_obj.h:53