Closed weshoke closed 6 years ago
In the first example, you've created your Entity in a custom scene, while falling back on the default Scene for your CameraControl, so that would give strange results.
The second example should work, and after quick debug (console did have diagnostic messages and stack trace for that) I found that a Material component within the CameraControl is not created in the same Scene - I fixed this, and so the second example is working now.
Description of the problem
When I create a default constructed scene
new xeogl.Scene()
and add a camera controlnew xeogl.CameraControl();
I see nothing. When I do so with the built-inxeogl.scene
, I see my objects. This seems really counter intuitive and I have absolutely no idea how to diagnose or what's going on.xeogl version
Browser
OS
Hardware Requirements