Added new mesh smoothing algorithm.
This commit is contained in:
@ -55,7 +55,7 @@ namespace PolyVox
|
||||
|
||||
int32_t m_iTimeStamp;
|
||||
|
||||
private:
|
||||
public:
|
||||
std::vector<uint32_t> m_vecTriangleIndices;
|
||||
std::vector<SurfaceVertex> m_vecVertices;
|
||||
};
|
||||
|
@ -33,6 +33,7 @@ namespace PolyVox
|
||||
{
|
||||
POLYVOXCORE_API void smoothRegionGeometry(Volume<uint8_t>* volumeData, IndexedSurfacePatch& isp);
|
||||
POLYVOXCORE_API void adjustDecimatedGeometry(Volume<uint8_t>* volumeData, IndexedSurfacePatch& isp, uint8_t val);
|
||||
POLYVOXCORE_API IndexedSurfacePatch getSmoothedSurface(IndexedSurfacePatch ispInput);
|
||||
}
|
||||
|
||||
#endif
|
@ -44,7 +44,7 @@ namespace PolyVox
|
||||
|
||||
std::string tostring(void) const;
|
||||
|
||||
private:
|
||||
public:
|
||||
Vector3DFloat position;
|
||||
Vector3DFloat normal;
|
||||
float material;
|
||||
|
Reference in New Issue
Block a user