You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change will introduce the first additional rendering mode. The scope of this change is somewhat large because it includes implementing the ability to intelligently switch between rendering modes depending on the result os some heuristic.
Use this mode for some low threshold of model viewers on the page. Possibly the threshold should be different on mobile compared to not-mobile.
The rendering modes work is going to rear its head soon, but I'm not sure how soon. @pushmatrix Would you characterize your interest due to this issue's relevance to #268 ?
Right now one scene canno't be viewed in two different viewers, but if that changes in the future, having N WebGL contexts will be a memory killer.
Having one scene shared by two viewers could make sense, for instance you could want to just have two viewers, one with a camera pointing down, and one with a camera pointing up. If the library starts at some point to implement this possibility, having N-viewer will make all the GPU memory being duplicated N times unfortunately.
Activity
pushmatrix commentedon Mar 13, 2019
How is progress going with this?
cdata commentedon Mar 14, 2019
The rendering modes work is going to rear its head soon, but I'm not sure how soon. @pushmatrix Would you characterize your interest due to this issue's relevance to #268 ?
pushmatrix commentedon Mar 14, 2019
100%. That's the main thing we're interested in.
Performance on lower end devices is also a priority, although we haven't done much testing yet to see how much of an issue it is.
DavidPeicho commentedon May 17, 2019
Right now one scene canno't be viewed in two different viewers, but if that changes in the future, having N WebGL contexts will be a memory killer.
Having one scene shared by two viewers could make sense, for instance you could want to just have two viewers, one with a camera pointing down, and one with a camera pointing up. If the library starts at some point to implement this possibility, having N-viewer will make all the GPU memory being duplicated N times unfortunately.
elalish commentedon Mar 10, 2020
I think we're going with the approach in #995 instead, which does this for n=1.