com.microcrowd.loader.java3d.max3ds.chunks
Class SmoothingChunk

java.lang.Object
  extended by com.microcrowd.loader.java3d.max3ds.chunks.Chunk
      extended by com.microcrowd.loader.java3d.max3ds.chunks.SmoothingChunk

public class SmoothingChunk
extends Chunk

This chunk is used to generate normals for a mesh according to the data in the smoothing groups chunk. Vertices that share coordinates will all use the same, averaged normal if they also belong to the same smoothing groups.

Author:
jdeford

Constructor Summary
SmoothingChunk()
           
 
Method Summary
 void loadData(ChunkChopper chopper)
          Loads the vertices smoothing groups for a mesh and stores it in chopper
 
Methods inherited from class com.microcrowd.loader.java3d.max3ds.chunks.Chunk
addSubChunk, getDescription, getName, getSubChunk, initialize, setDescription, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SmoothingChunk

public SmoothingChunk()
Method Detail

loadData

public void loadData(ChunkChopper chopper)
Loads the vertices smoothing groups for a mesh and stores it in chopper

Overrides:
loadData in class Chunk
Parameters:
chopper - the ChunkChopper containing the state of the parser.


Copyright © 2000-2011 Microcrowd. All Rights Reserved.