Comments (3)
Hi @afr-git
most probably your application is hitting the internal 3DHOP limit for the Nexus cache (2M triangles are not so much for Nexus, but 4*8K images are a lot of data to stream).
To be sure of that try to include nexus.monitor.js to your project. Once done you should get a debug panel superimposed to the 3DHOP viewer (top-right corner):
If I'm right your issue should happen when the cache will use all the 512MB allocated. We have been a little bit conservative with this setup (also thinking to mobile devices), but this doesn't mean that you cannot customize it. You can find the functions useful to customize the Nexus setup marked as "new" in the just updated 3DHOP documentation.
For solving your issue you can exploit the setup function setNexusMaxCacheSize()
and set the Nexus cache size as you prefer (for instance, use presenter.setNexusMaxCacheSize(2048*(1<<20));
to set the cache size limit to 2GB).
This should work for you. If not, please let us know!
from 3dhop.
Hi @potenziani thank you for the quick reply on this issue. I did as you said, and the monitor showed the 512MB cache size was the limiting factor. I increased it to 2GB and problem is solved! Thank you for your help!
I'm not really familiar with how the viewer works behind the scenes but I wonder if it is possible to dynamically unload the cache so the viewer doesn't hit the expanded cache limit on huge models e.g. 100m+ tris with 10+ 8K maps?
from 3dhop.
Hi @afr-git, this is exactly what Nexus already does. But the good result of this procedure strongly depends on the 3D model (and "simple" geometries with a lot of textures do not help our caching system). Moreover, it is not easy to find a balance between rendering quality and number of HTML requests that is perfect and adaptative depending on the devices' resources and network capabilities...
Anyway, we will continue to work on it! Thanks for reporting your issue and enjoy 3DHOP.
from 3dhop.
Related Issues (20)
- Touch control HOT 2
- Modifying Touch Sensitivity HOT 3
- Deformed model when changing trackball position [trackballs paradigm] HOT 3
- Resizing after full screen view in Firefox not working properly HOT 5
- keyboard input disabled HOT 2
- adding loading masks to the canvas HOT 2
- bump/normal etc HOT 1
- loading many nxs files [dynamic scene declaration] HOT 13
- Objects have limited rotation angle in certain axes (usually Y and Z) [trackballs setup] HOT 2
- Implementing 3DHOP in Rails HOT 5
- Implementing 3DHOP in Drupal HOT 3
- Setting tabindex on canvas messes with focus in Firefox HOT 2
- jQuery no-conflict mode + docker + implementing 3DHOP in Clowder HOT 51
- Allow configurable selectors HOT 1
- [Feature requests] Screenshot resolution multiplier; rotate plane section tool HOT 3
- Textured objects are not displayed on iOS HOT 1
- Trackballs dragging speed option HOT 3
- Input data for "animateToTrackballPosition"
- Best Tools for Rendering Very Large Meshes with Millions of Vertices/Faces in Browser
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3dhop.