Squeak Class Documentation category index | class index  
 
B3DSTriangleMesh
  category: Balloon3D-Meshes
  superclass: B3DIndexedTriangleMesh
  subclasses:

I represent a mesh from Autodesk 3D Studio.

instance methods
  initialize
  from3DS:

  private
  collectSplitVertices:
computeFunkyVertexNormals
computeVertexNormals
detectNonSmoothVertices
splitVerticesFrom:

class methods
  instance creation
  from3DS:

instance methods
  initialize top  
 

from3DS:


  private top  
 

collectSplitVertices:

Collect the non smooth vertices into a Dictionary
vertex index -> Dictionary
smoothing group -> list of face indexes.


 

computeFunkyVertexNormals

Compute the vertex normals for the receiver.
Don't split the faces so we'll get some funky lighting effects.


 

computeVertexNormals

Compute the vertex normals for the receiver.
Note: This is a multi pass process here - we may have to split up vertices


 

detectNonSmoothVertices

Detect all the vertices in the receiver that cannot be easily smoothed


 

splitVerticesFrom:

Split the non smooth vertices from the Dictionary
vertex index -> Dictionary
smoothing group -> list of face indexes.


class methods
  instance creation top  
 

from3DS: