59 #ifndef SOFT_TISSUE_MESH_H 101 bool y_mirror =
false,
102 bool z_mirror =
false,
103 bool optimize_texture_coordinates =
true,
104 unsigned int texture_2D_size = 2048,
105 unsigned int texture_3D_size = 32);
146 #endif // __LungsMesh_h SoftTissueMesh is a class to handle a polygon mesh for an internal organ. It uses procedural texturin...
virtual void defineColourTextureShaderInput(int shader_id)
virtual ~LungsMesh()
Destructor.
Class to handle a polygon mesh for an internal organ.
LungsMesh is a class to handle a polygon mesh for a lung. It uses 2D texture for the bump map and 3D ...
LungsMesh(bool x_mirror=false, bool y_mirror=false, bool z_mirror=false, bool optimize_texture_coordinates=true, unsigned int texture_2D_size=2048, unsigned int texture_3D_size=32)
Constructor.
virtual void defineBumpMapShaderInput(int shader_id)
Link the attributes to their id in the shader bump map generation.