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

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

public class MaterialChunk
extends Chunk

Loads material chunks with ambient, diffuse and specular colors, shininess, transparency, two sidedness and texture.


Constructor Summary
MaterialChunk()
           
 
Method Summary
 void initialize(ChunkChopper chopper)
          This will set the ambient, diffuse and specular colors as well as the textures, two sidedness and transparency of the material.
 
Methods inherited from class com.microcrowd.loader.java3d.max3ds.chunks.Chunk
addSubChunk, getDescription, getName, getSubChunk, loadData, setDescription, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MaterialChunk

public MaterialChunk()
Method Detail

initialize

public void initialize(ChunkChopper chopper)
This will set the ambient, diffuse and specular colors as well as the textures, two sidedness and transparency of the material.

Overrides:
initialize in class Chunk
Parameters:
chopper - the chopper containing the data needed to set the attributes.


Copyright © 2000-2011 Microcrowd. All Rights Reserved.