Samsung / GearVRf

The GearVR framework(GearVRf) is an Open Source VR rendering library for application development on VR-supported Android devices.
http://www.gearvrf.org
Apache License 2.0
407 stars 217 forks source link

Lights not on when loading new scene #1972

Open mwitchwilliams opened 6 years ago

mwitchwilliams commented 6 years ago

When starting in one scene, and loading a new scene, the lights do not turn on. This is not exclusive to X3D, but easily demonstrated in X3D using the <Anchor> node (the <Anchor> node in X3D is similar to an Anchor tag in HTML - it loads a new page).

X3DAnchor_LightsProblem.zip

The zip has two X3D files. Clicking the Sphere loads the other .x3d file. It doesn't matter which of the two files one begins since you can click back and forth to each file, but the 'secondary file' includes an animated Cone plus Cylinder with green emissiveColor. After the first X3D file displays, none of the lights are on when going to the second file.