|
Hello, all,
I get a heache problem in using Morph method to
run an animation. Having fetched all GeometryArray of each model, then I run the
animation. However, I can not see the texture. Could anybody help me? The
following is part of my source code:
try {
shapes = NodeFinder.findNodes((Node)scenegroup, "javax.media.j3d.Shape3D"); } catch (ClassNotFoundException e) { e.printStackTrace(); } // Handle each shape in
turn
while (shapes.hasMoreElements()) { geometries = ( (Shape3D) shapes.nextElement()).getAllGeometries(); // Handle each piece of geometry in turn while (geometries.hasMoreElements()) { g[GeometryArrayNum][i] = (GeometryArray)
geometries.nextElement();;
GeometryArrayNum++;
System.out.println(GeometryArrayNum); } max_geometry_num = GeometryArrayNum; } Please send reply message to my email box. [EMAIL PROTECTED]
Best regards!
Zch
|
