|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.scene.model.XMLparser.Converters.FormatConverter
com.jme.scene.model.XMLparser.Converters.MaxToJme
Started Date: Jun 26, 2004
Converts .3ds files into jME binary
| Constructor Summary | |
MaxToJme()
|
|
| Method Summary | |
void |
convert(java.io.InputStream max,
java.io.OutputStream bin)
Converts a .3ds file (represented by the InputStream) to jME format. |
static SpatialTransformer |
findController(Node model)
This function returns the controller of a loaded 3ds model. |
static void |
main(java.lang.String[] args)
Converts a .3ds file to .jme via command prompt |
| Methods inherited from class com.jme.scene.model.XMLparser.Converters.FormatConverter |
attemptFileConvert, clearProperty, setProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MaxToJme()
| Method Detail |
public static void main(java.lang.String[] args)
args - The array of parameters. args="file1.3ds file2.jme" will convert file1.3ds to jme and save it to file2.jme.
public void convert(java.io.InputStream max,
java.io.OutputStream bin)
throws java.io.IOException
convert in class FormatConvertermax - The .3ds file as an InputStreambin - The place to put the jME format
java.io.IOException - If read/write goes wrong.public static SpatialTransformer findController(Node model)
model - The model that was loaded.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||