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 - annclew

#2
Support / Large obj file issue > 5mb
May 07, 2017, 02:55:17 AM
Hello,

We are using jPCT-AE in our AR application on Android, and are having a problem loading large files. We found that models are not displayed correctly when their size exceeds beyond some point. Image 1 shows a file of 3.9mb. As shown here, it shows weird reflection (large rectangular mark) and shading (small rectangular mark) at some parts.



For the test, we deleted a large amount of faces, so that the size of the model is less than 1mb (image 2). This time, everything left was shown correctly, without any reflection problem. Note that the staircase in image 1 is now shown correctly in image 2.



One solution seems to use serialize the obj files beforehand, but we cannot take this option because end users will just load their large obj files in runtime, so we cannot preprocess obj files. Can you recommend some good way of loading large obj files in runtime? I saw some android obj viewers, which quickly open very large files, so I think it must be possible to do so with jPCT-AE, but I have no idea how to do so.

By the way, thank you for the wonderful library. We really appreciate it.
Modify message