My first question is that there are couple of 3ds loader available. which one is the
best so far??
Secondly I have downloaded the StarFire 3ds loader. It compiles and runs fine but
doesnt show any thing
my code looks like: -
Loader3DS loader = new Loader3DS();
loader.setLogging(true);
loader.setDetail(7);
TransformGroup tg = new TransformGroup();//loader.getModel();
try {
Scene s = loader.load("./model/sphere.3ds");
tg.setCapability( tg.ALLOW_CHILDREN_READ );
tg.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
tg.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
BranchGroup bg = s.getSceneGroup();
bg.compile();
tg.addChild( bg );
m_scene.addChild( tg );
} catch (java.io.FileNotFoundException e) {
System.out.println( "file not found" );
}
and the output of log file is:-
Loader3DS Version 2.00
Texture path= .\model\
ChunkID = 4d4d Length: 17665
Version Chunk ChunkID = 2 Length: 10
Mesh Data Chunk ChunkID = 3d3d Length: 17427
Mesh Version Chunk ChunkID = 3d3e Length: 10
Master Scale Chunk ChunkID = 100 Length: 10
Named Object Chunk ChunkID = 4000 Length: 17401
Object Name: Sphere01
Tri Object Chunk ChunkID = 4100 Length: 17386
Point Array Chunk ChunkID = 4110 Length: 5792
Number of Vertices: 482
Mesh Matrix Chunk ChunkID = 4160 Length: 54
Face Array Chunk ChunkID = 4120 Length: 11534
Number of Faces: 960
Smoothing Group Chunk ChunkID = 4150 Length: 3846
Key Frame Chunk ChunkID = b000 Length: 222
ChunkID = 0 Length: 0
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".