Main Menu
Menu

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.

Show posts Menu

Messages - mayuran.r

#1
Hi.
I have large .Obj model, that consist of several meshes combined together and exported as one single .obj. Each mesh is assigned to a different texture( A house with Pillars, Windows, Wall, Steps and Roofs).
The Size is relatively large, I have serialized and then compressed and rendered the model without the texture and also with one single plain image as texture. (if anyone need helps on Serialization I am happy to help)
1. I want to render the model with respective textures for each separate mesh.
2. In which step I have to add the texture for the model, during Serialize the model in the Java Project or during the time of loading serialized object using JPCT-AE (in android) ?
(I have UV unwrapped textures for each mesh)
3. I have a close button also in the app, when I click it, model should be removed and all the textures in TextureManager should be removed.

Please guide me on adding respective textures for the model.

Thanks in Advance.
#2
Support / Re: Large obj file issue > 5mb
September 08, 2017, 12:45:42 PM
Quote from: mayuran.r on September 08, 2017, 09:52:16 AM
Hi
I have done everything as you said.
But when I run, I got this error

"Can't deserialize object: [] - ERROR: Unsupported version: 6"

What could be the reason

Thanks


I found in the other Thread that I need to update the Version of JPCT-AE ,
JPCT Version 1.31 and JPCT-AE version was 1.26
So I updated the Version 1.31, it works.

Thanks
#3
Support / Re: Large obj file issue > 5mb
September 08, 2017, 09:52:16 AM
Hi
I have done everything as you said.
But when I run, I got this error

"Can't deserialize object: [] - ERROR: Unsupported version: 6"

What could be the reason

Thanks
#4
Support / Re: Large obj file issue > 5mb
September 07, 2017, 04:17:37 PM
Hi,

Thanks for your guidance. Sorry for the late reply.
Btw I am new to JPCT, I Managed to render the 3D models over the camera view. I have started trying out both the solution.

Thanks EgonOlsen, There are few doubts
1. Do we must need Eclipse to serialize the 3D models?
2. If we serialize the models, size of the model will be reduced?  [My Obj is comparably large (~73mb).]
3. If I have the code explanation to serialize model , it will be easy to follow and understand.

Thanks Promyclon, I am interested in this solution too.
1. I have compressed my 3D model, it came around 15mb.
2. But when I load the model , nothing is displayed. obj values are not retrieved it seems.
I could identify that by applying a texture for that model(Null value exception encountered)
If I get some code sample, I can try it out.

Also I have added  android:largeheap = true, in that scenario,
.obj values are read, but model is not rendered. I see a message in the stack as 'Suspending all threads took: 36.969ms'

I have tried out with .3ds model also(.obj converted as .3ds : ~20mb), in that case also ,
model is not rendered , but in the monitor I can see the values are read . Will it take too much of time? but in that case also I can see 'Suspending all threads took' message (but not often)

I am using Pixel for this purpose.
Hope you will guide me to a good solution

Thank you in Advance.
#5
Support / Re: Large obj file issue > 5mb
August 27, 2017, 09:01:47 AM
Hi,

I also want to load a large .obj model(which is about >70mb) . This contains several small models, and merged and exported as a single .obj file. When i load that .obj file , i encountered a memory exception.  How can I able to load large .obj models.?
I tried converting same model to .3ds (which is about >20mb), but when i load that .3ds i can't be able to see anything on the screen.
Considering all these what will be the best solution?

Thanks in Advance.