|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jmex.model.converters.FormatConverter
com.jmex.model.converters.MaxToJme
public class MaxToJme
Started Date: Jun 26, 2004
Converts .3ds files into jME binary
Field Summary |
---|
Fields inherited from class com.jmex.model.converters.FormatConverter |
---|
properties |
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.jmex.model.converters.FormatConverter |
---|
attemptFileConvert, clearProperty, getProperty, 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 FormatConverter
max
- 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 |