adding objects to scene

Oct 4, 2011 at 5:39 AM

im trying to add an object to the scene statically, ie i want to put a box in the center with the camera. This is to be completely independent of any kind of marker tracking when i try to do 

scene.rootnode.addchild(node)

nothing shows up am i missing something?

 

Coordinator
Oct 14, 2011 at 3:24 PM

since your node doesn't have any transformation, it'll be placed at (0,0,0). If your camera is at (0,0,0) as well (which is by default for an AR camera), then your camera is inside the object. the default culling makes the back face not to render, so you wont' see anything.

Ohan