Git Product home page Git Product logo

Comments (12)

xroberx avatar xroberx commented on July 20, 2024

Hi,

It seems you forgot mMonkey = objParser.getParsedObject(); after objParser.parse();

from rajawali.

 avatar commented on July 20, 2024

I forgot, but the error still exists:)

the same error on the LogCat:

    objParser = new ObjParser(mContext.getResources(), mTextureManager, R.raw.feherversejt);
    objParser.parse();
    mBloodCell2 = objParser.getParsedObject();

    MeshExporter exporter = new MeshExporter(mBloodCell2);
    exporter.export("bloodcell.ser", ExportType.SERIALIZED);

from rajawali.

MasDennis avatar MasDennis commented on July 20, 2024

Yes, the MeshExporter needs a bit more functionality.
At the moment it is meant to export single objects.
What is probably going wrong is that you're trying to export the container that hasn't got any mesh data.
Try going through the children and serialize each of them individually.

from rajawali.

 avatar commented on July 20, 2024

Hello

This is single object /monkey.obj in the tutorial/. Can you send a source
code that is working?

Thanks
On May 24, 2012 5:36 PM, "Dennis Ippel" <
[email protected]>
wrote:

Yes, the MeshExporter needs a bit more functionality.
At the moment it is meant to export single objects.
What is probably going wrong is that you're trying to export the container
that hasn't got any mesh data.
Try going through the children and serialize each of them individually.


Reply to this email directly or view it on GitHub:
#33 (comment)

from rajawali.

MasDennis avatar MasDennis commented on July 20, 2024

Could you send me the obj file so I can see what's going wrong? Thanks

from rajawali.

 avatar commented on July 20, 2024

The file is the monkey.obj from your tutorial
On May 24, 2012 7:47 PM, "Dennis Ippel" <
[email protected]>
wrote:

Could you send me the obj file so I can see what's going wrong? Thanks


Reply to this email directly or view it on GitHub:
#33 (comment)

from rajawali.

MasDennis avatar MasDennis commented on July 20, 2024

Do you happen to use one of the Galaxy devices?

from rajawali.

 avatar commented on July 20, 2024

Samsung galaxy s2 is my device
On May 24, 2012 7:53 PM, "Dennis Ippel" <
[email protected]>
wrote:

Do you happen to use one of the Galaxy devices?


Reply to this email directly or view it on GitHub:
#33 (comment)

from rajawali.

MasDennis avatar MasDennis commented on July 20, 2024

Ok, then I know what to fix :-)

from rajawali.

MasDennis avatar MasDennis commented on July 20, 2024

Could you give the latest version a try? Thanks

from rajawali.

 avatar commented on July 20, 2024

05-24 20:34:24.485: I/Rajawali(14158): Successfully serialized monkey.ser to SD card.

Thanks!

from rajawali.

 avatar commented on July 20, 2024

So in the new version on Galaxy S2 device working the clone, and serializer too. Thank you

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.