Hi all,

For my master thesis, I was asked to work with X3D and following the
ajax3d guides, I was up-and-running pretty fast, the problem occurs
when I want to interact with the scene. Browser crashes or unexpected
behaviour, but nothing I intend to do.

So... I started looking around and now try to dynamically load
buildings in an away3d scene.

These buildings are created in Google Sketchup, I have them exported
to kmz, dae and 3ds formats, any of them is fine if I can import them.

Here is what I try to do:

scene = new Scene3D();
camera = new HoverCamera3D({zoom:3, focus:200, distance:100});
view = new View3D({scene:scene,camera:camera,x:450,y:450});

var holderUI:UIComponent = new UIComponent();
this.addChild (holderUI);
holderUI.addChild (view);

building = Collada.load("models/building1.dae");
view.scene.addChild(building);
this.scene.addChild(building);
view.render ();


This shows a white circle, but no building... Can anyone help me to
indicate which steps I am missing?

Thanks in advance!

Barry

Reply via email to