javascript - Three js displaying 3D images using json file of big size -


i have requirement of displaying 3d images. have .obj file of size 80 mb converted json file 75 mb.now using 3 js display rotating 3d image issue speed.it takes nearly 1 minute load 3d image.

further client expecting display 2 such images on same page taking 4-5 minutes load images.

is there workaround increasing speed ??

if object 80mb in size should not considered suitable use in web application. if model not seem have high level of detail, perhaps exporter has problem , getting lot of information don't need. if model complex, real option simplify model dramatically, or find model has lower polygon count.

if model has come directly client, unfortunately going faced unenviable task of convincing them of limitations.

if absolutely have use these models, perhaps can try compress data , decompress on client side. quick google brought stack overflow question starting point:

client side data compress/decompress?

edit: perhaps break down separate pieces. since indexed format, still have download of vertex data first, , chunks of index data.

if wanted go deeper try breaking index data chunks , computing vertices need each chunk. there no guarantee final result great though, might not worth effort. said, analysis rearrange indices model loaded in sensible order, front back, or left right.

if have 3d artist @ disposal, might easier break model down several models , load them 1 one scene. cleaner since make artistic choices cut model up.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -