Git Product home page Git Product logo

Comments (11)

MasDennis avatar MasDennis commented on July 20, 2024

Hi,
A good way to load stuff from the sd card is to serialize them.
See this example http://www.rozengain.com/blog/2012/01/16/rajawali-tutorial-4-optimisation/
This example shows how you can load a regular BaseObject3D but it works the same way with a VertexAnimationObject3D.
Like this:

VertexAnimationObject3D mMyModel = new VertexAnimationObject3D((SerializedObject3D)ois.readObject());

from rajawali.

ashunkhs avatar ashunkhs commented on July 20, 2024

Hi sir

This is the solution to access the model from SDcard once loaded/saved from resource during development .. . But i need to load the models only from SDcard without interaction from resource. kindly help me with this issue.....

thanks..

from rajawali.

MasDennis avatar MasDennis commented on July 20, 2024

The Obj, MD2 and FBX parsers have a new constructor that take a path to a file on the SD Card:

ObjParser parser = new ObjParser(this, "/mypath/myfile.obj");
...
MD2Parser parser = new MD2Parser(this, "/mypath/myfile.md2");
...
FBXParser parser = new FBXParser(this, "/mypath/myfile.fbx");

from rajawali.

anzarzulfiqar avatar anzarzulfiqar commented on July 20, 2024

Hi,
Could you plz specify the path to new jar or source files which i can use now , and which includes this constructors to load model from sdcard...
Thanx in advance

from rajawali.

MasDennis avatar MasDennis commented on July 20, 2024

Same location as always (see readme.md on the project page): https://github.com/MasDennis/Rajawali/raw/master/build/rajawalilib.zip

from rajawali.

anzarzulfiqar avatar anzarzulfiqar commented on July 20, 2024

Hi,
I need you help in regard with .obj models. I included your given jar file and now md2 models are working fine with their textures., but with obj models texture is not coming. i tried all possible actions from my side. the texture mtl and jpeg/png file is to be saved on sdcard along with obj model..

from rajawali.

ashunkhs avatar ashunkhs commented on July 20, 2024

hi

I need your help regarding to set the texture on .md2 model.
I create multiple texture for multiple .md2 models but I am not able to set them on their respective models.Here first texture is coming on all .md2 model and rest of the texture is not applied . please help me on this issue quickly.

from rajawali.

MasDennis avatar MasDennis commented on July 20, 2024

I'll look at it later, got lots of other stuff to do first if you look at the list of issues ;-)

from rajawali.

amolgupta avatar amolgupta commented on July 20, 2024

can I also load .ser files from sd card in the similar way??

from rajawali.

ramyscoops avatar ramyscoops commented on July 20, 2024

hi,
I want import .3ds object from sd card,to show it in my phone android, it should change the Class Max3DSParser.java??

from rajawali.

ramyscoops avatar ramyscoops commented on July 20, 2024

thx :)

from rajawali.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.