Giter VIP home page Giter VIP logo

Comments (6)

kroko avatar kroko commented on June 22, 2024

Confirmed

After second check it seems that https://3dviewer.net/ behaves slow for this model too, both by uploading Penthouse-org.obj as well as passing it as URL, thus your premise IMHO actually does not stand. I used browser in no cache mode to validate (but did not quantise my observation, just subjective feel for timing and behaviour).

Here are CORS'ed versions that can be loaded in 3dviewer.net via Open from URL promt

Other 3D viewers choke on your file too.

OBJ weighting 54MB means huge tree. Autodesk case hints though that there might be some internal representation tricks.

Needs more investigation, but maybe this case just represents limits on what JS / WebGL 2 (no WebGPU at this point) on top on Three.js can do.

from files_3dmodelviewer.

ershovdz avatar ershovdz commented on June 22, 2024

Just to make it clear.
My configuration: Windows 11 22H2, Nvidia 3060, 32 Gb Ram, CPU Amd Ryzen 5800H.
I use this url to open in browsers for 3dviewer:
https://3dviewer.net/#model=https://bucket.cdn-d01.warp.lv/user-ershovdz/Penthouse-org.obj
Clear cache in browsers. Open url.
Chrome (latest version): 10 seconds and 900 Mb ram
Firefox (latest version): 15 seconds and 800 Mb ram

I use this url for nextcloud app files3dmodel viewer for the same file:
http://localhost:8080/apps/files/?dir=/&openfile=4893
Clear cache in browsers. Open url.
Chrome (latest version): 19 seconds and 3000 Mb ram
Firefox (latest version): didn't wait for opening (more 90 seconds) and it took 5000 Mb of ram
firefox

https://fetchcfd.com/3d-viewer opens this file for only 4 seconds and use only 900 Mb in Chrome !

from files_3dmodelviewer.

ershovdz avatar ershovdz commented on June 22, 2024

Looks like I've found the root cause. Just remove this line:

viewerObj: null,

It's disable vue reactivity for viewer.

from files_3dmodelviewer.

kroko avatar kroko commented on June 22, 2024

note to myself: @AbsolutePhoenix in #12 has found that it happens above 16MB mark for STL files.

from files_3dmodelviewer.

kroko avatar kroko commented on June 22, 2024

@ershovdz please try 0.0.11 with your Penthouse.zip

from files_3dmodelviewer.

kroko avatar kroko commented on June 22, 2024

if the issue persists, please report and i will reopen this ticket.

from files_3dmodelviewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.