Hi,
I can’t see my 3ds formatted files in the view3D scene which I exported from Sektchup. When I import the same model in prefab I’ve got error messages about UV mapping and see only white image on screen. I also tried collada formatted files again exported from the same file from Sketchup. In this case I can see nothing on screen. How can I correct this problem.
I tried another collada model that I downloaded from a site that gives an example about loading model with away3D, It works fine with my code.
This is my code
package
{
import away3d.core.utils.Cast;
import away3d.events.Loader3DEvent;
import away3d.loaders.Loader3D;
import away3d.loaders.Max3DS;
/**
$(CBI)* ...
$(CBI)* @author Emre
$(CBI)*/
public class MaxModelDisYukleme extends away3Dktp
{
public function MaxModelDisYukleme() {
super();
}
protected override function initScene():void {
super.initScene();
var kup:Loader3D = Max3DS.load(”../bin/kup.3ds”,
{
z: 200,
rotateX: 45,
rotateY: 45
});
scene.addChild(kup);
kup.scaleX =
kup.scaleY =
kup.scaleZ = 20;
}
}
}
Thanks for your helps.