Skip to content

Add N-context "naive" rendering mode #216

Closed

Description

@cdata

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.

Activity

  1. pushmatrix commented on Mar 13, 2019

    @pushmatrix
    Contributor

    How is progress going with this?

  2. cdata commented on Mar 14, 2019

    @cdata
    ContributorAuthor

    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 ?

  3. pushmatrix commented on Mar 14, 2019

    @pushmatrix
    Contributor

    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.

  4. DavidPeicho commented on May 17, 2019

    @DavidPeicho

    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.

  5. elalish commented on Mar 10, 2020

    @elalish
    Contributor

    I think we're going with the approach in #995 instead, which does this for n=1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions