Comments (3)
After some analysis I found that get/setOwnerObject is used extensively in the Framework. Even in JNI code owner object is used by transform, render data. Owner object is used to main transformation hierarchies in scene objects.
So I think the objective of this enhancement will only be limited to removing getOwnerObject from Application usage?
In case of GVREyePointeeHolder, there is already a new API provided List findObjects(..), which do not return GVREyePointeeHolder so owner object can be avoided in this case.
from gearvrf.
-
In Solar System demo app, … not able to get rid of this usage
=> Removing this is important for the app developers. Can you consider channg in JNI level if needed? -
Once done, we need to make getOwnerObject(), if still alive, visible only to the framework package, not to the applications as public.
-
otherwise this change is only a second best solution^^
from gearvrf.
If too much for changing the JNI side, a Java side trick would be overloading GVRSceneObject.addChildObject() with GVRComponent or GVRCameraRig. But, it would be not so consistent as you know.
from gearvrf.
Related Issues (20)
- whats the current version for org.gearvrf:framework HOT 1
- Problem with combined Scale and Position animations HOT 4
- WidgetLib gives build failure in framework-tests HOT 3
- Hi, Can we create two GVRActivity inside a app.If I am doing so,getting this exception HOT 1
- Hi, Can we create two GVRActivity inside a app.If I am doing so,getting this exception :.--->E/libEGL: call to OpenGL ES API with no current context (logged once per thread) HOT 5
- Distorted View HOT 7
- Scene Object's position is getting reset on movement of head. HOT 2
- Override GearVR Headset Back Key Press HOT 8
- app crash when adding any android component to SceneObject HOT 4
- SceneObject not visible with GVSphereSceneObject HOT 3
- org.gearvrf:platformsdk_support 4.0.1-SNAPSHOT GVRActivity cast error HOT 2
- Problem with setScale() and collider detection HOT 2
- In Lenovo Daydream devices,sometimes controller is not working. HOT 3
- In Lenovo Daydream devices,controller is getting disconnected sometime. HOT 1
- OculusGO Controller position after camera.resetYaw() HOT 8
- Passing a texture via ID for rendering HOT 3
- Memory leak using GVRViewSceneObject HOT 4
- Integrating Preexistent OpenGL into GVRf Application HOT 5
- Android 9 Frame Rate Slowed Down HOT 3
- OculusGO: JNI DETECTED ERROR IN APPLICATION: JNI GetStaticMethodID called with pending exception java.lang.RuntimeException: android.os.DeadSystemException
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gearvrf.