What is the best way importing .obj files to android app created in Blender? I want the best and the easyest variant! How about a link to a tutorial?
Importing Wavefront .obj files for android
9.1k Views Asked by Liukas At
2
There are 2 best solutions below
5
Lawrence D'Oliveiro
On
Here is a simple .obj file reader class specifically written to work with Android. Comes as part of a complete sample program you can use to try it out.
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in OPENGL-ES
- Setting up OpenGL ES 1.1, and my android environment
- Opengl Augmented Reality in Android from solvepnp
- error 1281 for the call to glUseProgram
- Page Curl with best quality
- Qtwebengine on Embedded linux, with qtwayland and OpenGL not working, black rectangles seen on browser
- Maintaining glSurfaceView through different activities
- LibGDX - load and process texture asynchronously
- OpenGL ES 2.0 Framebuffer with render to texture iOS: nothing shown
- Generating a sphere in OpenGL without high level libraries - what's wrong with my code?
- matrix.multiply returning Nan
- Android OpenGL ES Fatal signal crash
- OpenGL / weight order independent transparency
- GLSL: How to calculate fragments output RGB value based on Photoshops curve value?
- Find a longitude given a pair of (lat,long) and an offset latitude
- How to implement dynamic page curl in android?
Related Questions in BLENDER
- Threejs scene from blender and access to objects
- Importing blender JSON in Three.js
- Blender to Unity3D: Applying Materials in Unity
- Blender Python Script Deleting Meshes
- Playing background movie while animation in blender
- How to use toon shader to convert 3D models to patent drawings
- How to export a .bullet file from blender
- Blender GLSL Export to THREE.js
- Using Blender camera Paths in Threejs
- SceneKit + Collada + animation
- Rendering a scene created in Blender with Babylon.js without the Babylon.js default shiny material
- Json to CSV using python and blender 2.74
- THREE.js + leap motion
- Automatically creating python script from GUI in Blender
- XML3D: Exporting animations from blender
Related Questions in .OBJ
- How can I render .mtl for object on iPhone 5 using ThreeJS?
- Insert 3d objects (.obj) in WPF project
- Unable to start activity while rajawali parses obj
- How to import obj and mtl file to three.js
- How to import .obj 3D models in ARToolKit instead of .wrl?
- How to open .obj file in android
- C++ .obj parser face
- Unity: Object is not being detected by raycast for highlighting
- Extract contour from obj 3d object in Matlab
- executing python scripts in server
- Access Reading Violation Error - C++ Obj Loader
- Export 3D object, Mathematica
- openGL load multiple object
- Importing Wavefront .obj files for android
- c/c++ application importing 3d models from modelling softwares at runtime
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Personally I have implemented the OBJ reader long time ago in Android Native C and in that case the issue is quite more complicated than doing it in Java.
The easiest way is to open the file in text mode and parse the file following its logic.
The logic i very very simple and you can find the file format here:
http://www.martinreddy.net/gfx/3d/OBJ.spec
The writing of such a code won't take more than 2 days of an average skilled developer, i suggest you to do it your own to have a better control of your code.
In alternative, if you want it ready, you can find and adapt this Java loader:
http://www.java2s.com/Code/Java/3D/ObjectFileLoader.htm
Cheers