Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - luftiguru

Pages: [1]
1
Support / Serialize Object3D on android
« on: September 12, 2013, 07:12:58 pm »
Hello,
I'm working on an android app, where I load .obj meshes loaded via network. This works quite good so far.
Nevertheless, I'd like to cache known meshes on the device to speed up my application.

I tried writing the Object3D[] array which builds the object to a file using java.io.ObjectOutputStream. When I load this file using java.io.ObjectInputStream, I get my Object3D[] back. When I try to add the contained Object3D's to a new created World, I get the error: "ERROR: Object with name 'bottle_part0' already exists!"

Am I doing something obviously wrong?
Is there a chance for a serialization support of Object3D in jPCT-AE?  :)
Thank you!

2
Bugs / Wireframes not draw correctly
« on: August 30, 2013, 12:50:58 pm »
Hello,
I use World.drawWireframe(..., 1, true) to overlay my objects with a wireframe. This works fine most of the time.
Recently, I stumbled over a object, whose faces are rendered correcly but the wireframe is not. It seems like some additional "wires" are added at very sharp edges of the object.
I added  the .obj file to this post. It seems to be consistent when viewing it using MeshLab.
Can someone reproduce the error? Is it a bug in jPCT-AE or in my object file?
Thank you.

I use jPCT-AE from 2013-07-04.

[attachment deleted by admin]

Pages: [1]