Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blury / off-focused when zoomed in close, or when model is small in live size #4880

Open
1 task
ultradyran opened this issue Sep 3, 2024 · 6 comments
Open
1 task
Labels
flag: not model-viewer Problems that are related to our project but are ultimately some other project's issue

Comments

@ultradyran
Copy link

ultradyran commented Sep 3, 2024

S__17833989

Description

<model-viewer src="mymodel.glb"
                    scale="0.001 0.001 0.001"
                    id="model"
                    ar environment-image="neutral" shadow-intensity="1" shadow-softness="0.5"
                    tone-mapping="neutral"
                    ar-placement="any" ar-modes="webxr scene-viewer quick-look" 
                    auto-rotate camera-controls touch-action="pan-y" exposure="1">

I usually work with small models.
When i activate AR mode on iPhone 14, anything smaller than 5-10cm in live-size will start to become blury, as if camera is off-focused.

The reason I use [ scale="0.001 0.001 0.001" ] because if i export models from Blender, they are default 1000times larger than it should be in AR mode.
At first, I thought that's the root cause, so I export models from Blender pre-scaled so I can use them at [ scale="1 1 1" ] .

In fact, it doesn't make any differences. The issue is still there, palm sized small models in AR mode at their 100% scale are always blury (anything smaller than 5-10cm), unless the camera is out far enough.

It doesnt seem to be the camera's quality issue given the background looks razor sharp, just the 3D object getting blurred, and more it gets when zoomed in. I have to put the camera really far or pintch enlarge the model triple the original size to get a clear/non-blur 3d render.

Did I miss any attribute i can set to disable auto-blur or something like that?
I am thinking there might be depth of field mechenism that blurs the model when it is close to camera.

Version

  • model-viewer: v3.5.0

Browser Affected

  • [ v] Chrome, version: 128.0.6613.114

OS

  • iOS

AR

  • [v ] SceneViewer
  • [v ] QuickLook
@elalish
Copy link
Contributor

elalish commented Sep 3, 2024

I'm glad you included the screenshot because otherwise I wouldn't have believed you. 😁 The only thing I can guess is this is an iOS QuickLook "feature" - @AdaRoseCannon is this some kind of expected behavior? I feel like some engineer would have had to put a lot of work in to make this blur happen, but I cannot fathom why.

@elalish
Copy link
Contributor

elalish commented Sep 3, 2024

@ultradyran I assume this works as expected in AR on Android devices?

@elalish elalish added the flag: not model-viewer Problems that are related to our project but are ultimately some other project's issue label Sep 3, 2024
@AdaRoseCannon
Copy link

This is new to me too (although I am not a quicklook engineer), please file with Feedback Assistant

@ultradyran
Copy link
Author

@ultradyran I assume this works as expected in AR on Android devices?

i dont hv an android device so i really am not sure. it's the same issue on my ipad tough.

@ultradyran
Copy link
Author

Feedback Assistant

forgive me for being an idot, how do i file for Feedback Assistant?

@AdaRoseCannon
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flag: not model-viewer Problems that are related to our project but are ultimately some other project's issue
Projects
None yet
Development

No branches or pull requests

3 participants