Giter VIP home page Giter VIP logo

Comments (5)

StevenMOG avatar StevenMOG commented on May 13, 2024 1

@Veerarma The sample viewer is part of https://github.com/google/filament . It's included in the releases for desktop platforms.

from sceneview-android.

waxmar avatar waxmar commented on May 13, 2024

Here is a picture of the same Punto model loaded into the sample Filament viewer
Screenshot_20220408-170238_gltf viewer
.
As discussed with grassydragon it might be a mipmapping issue not anti-aliasing.

from sceneview-android.

waxmar avatar waxmar commented on May 13, 2024

After some more investigation I could reconstruct similar artefacts on the sample-gltf-viewer.
Those are the settings on the sample-gltf-viewer
image

And this is the resulting scene
Screenshot_20220408-233111_gltf viewer

The appearence of the scene changed the most when Dynamic Resolution was turned on. And below a minScale of about 0.5 the effect is getting quite noticeable espacially when MSAA 4x is turned off as well.

So it might be a combination of MSAA 4x beeing turned off and Dynamic Resolution turned on with minScale too low.

from sceneview-android.

waxmar avatar waxmar commented on May 13, 2024
var view = sceneView.renderer.filamentView
view.renderQuality = view.renderQuality.apply {
  hdrColorBuffer = View.QualityLevel.MEDIUM
}

view.dynamicResolutionOptions = view.dynamicResolutionOptions.apply {
  enabled = true
  minScale = 0.7f
  maxScale = 0.8f
}

view.multiSampleAntiAliasingOptions = view.multiSampleAntiAliasingOptions.apply {
  enabled = true
  sampleCount = 4
}

view.antiAliasing = View.AntiAliasing.FXAA

It turned out the issues was that the default settings of the filamentView were applied and the have MSAA disabled and dynamic screen resolution turned on with some minScale and maxScale values applied by default. The above code makes it possible to access some of the render settings. But things might change with RIP Renderer (?)

from sceneview-android.

veerarama avatar veerarama commented on May 13, 2024

Hi!,
where I can find this sample-gltf-viewer?

from sceneview-android.

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.