xxv / jsc3d

Automatically exported from code.google.com/p/jsc3d
31 stars 20 forks source link

Load big files #157

Open Mustakrakish opened 8 years ago

Mustakrakish commented 8 years ago

Hello I am trying to develop a website that provides a point cloud viewer, so I was testing the jsc3d and I am having trouble loading big files. The smallest .obj file I managed to create is 244 MB and I get a insufficient space js error. Is there any way to stream this file? May Be I am not thinking this the right way, any kind of suggestion is welcomed. Thank you very much,

Iker

BlitzKraft commented 8 years ago

How many vertices does it have? How big is it when it is converted to stl?

I don't think streaming is possible with an obj or stl for that matter. At this moment, I do not have any suggestions to offer.

Mustakrakish commented 8 years ago

Well, since I am working with a point cloud I had a 600MB .obj file with 20 million+ lines. Since I posted the question I managed, with the help of a friend, to convert it into a 53MB .obj file and a 30MB .stl file. I can load those files but the movement is really poor if I don't include the WebGL library. I am testing this for a mobile development, so WebGL is pretty much forbidden. Thats why I was looking for some sort of streaming.

Thnaks for the help, anyway.