googlesamples / sceneform-samples Goto Github PK
View Code? Open in Web Editor NEWSceneform samples for 3D rendering for ARCore in Java.
Home Page: https://developers.google.com/ar/develop/java/sceneform/
License: Apache License 2.0
Sceneform samples for 3D rendering for ARCore in Java.
Home Page: https://developers.google.com/ar/develop/java/sceneform/
License: Apache License 2.0
I was trying to draw over the object rather than in the air, currently whenever i draw a line over some object it draws in the air at some specific distance from the camera, and while moving the camera towards that object the camera passes through that line and line doesn't stay on the object anymore.
Can you guide me how to achieve it?
Hi. I know this is not an issue, but i need some help, in this topic.
I am looking for realtime scaling of objects/models in ARcore. I found that it can be done using getScaleController() and PinchGesture class. I have a TransformableNode and I want to use the above method and class for achieving realtime scalling of model to update model's dimensions at runtime. I checked the documentation already, but it didn't help me.
here is my code
TransformableNode node =
new TransformableNode(arFragment.getTransformationSystem());
node.setParent(anchorNode);
node.setRenderable(modelRenderable);
node.select();
/* After this I want to use PinchGester or PinchGestureListener and
node.getScaleController() to achieve my goal */
hello,
do you have any pro guard rules for drawing example and for com.google.ar.sceneform.ux:sceneform-ux ?
First of all, great job on this project!!! It helped me a lot with my code.
Do you think you can generate a CollisionShape from the google's RendereableDefinition class? Using its vertices?
To every loaded object in Sceneform, Renderable class generates a Box as a CollisionShape, also the HitResult from the Node seems to be the generated Box, which is really bad for 3D objects with other shapes.
I tried to do it, but I couldn't get nowhere. Can you help with that?
I am working on a project that will have a 3D model viewer in one fragment. In order to do so, I decided to use sceneform.
I downloaded sceneform plugin into Adnroid studio, downloaded and extracted sdk from Github, and I also copied libsceneform_runtime_schemas library into my project. I've added to my sceneform buil.gradle file line
implementation files("../libs/libsceneform_runtime_schemas.jar")
but that results in an error:
Program type already present: com.google.ar.schemas.lull.AabbDef
It is worth noticing that this is the first file in the jar under this path - which probably means that there will be more collisions.
If I'd try not to implement this library, then I get an error:
error: package com.google.ar.schemas.sceneform does not exist
I am using ar:core:1.17.0, and minSdkVersion 24 in sceneform gradle.
I've cleaned and rebuilt the project, Invalidate Caches/Restart, and added multiDexEnabled- although I am not sure if I did it correctly.
By using gradlew sceneform:dependencies
I didn't find mentioned file.
I don't know how I can move forward, any help is much appreciated. If I can provide additional information, please let me know.
I've also tried to work with
implementation files("../libs/libsceneform_runtime_schemas.jar"){
exclude ...
}
But I couldn't make it work. I wonder if that could be my solution.
Also, why does it try to implement this class since it already exists? Shouldn't there be some sort of check for that?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.