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

Clipping issue in the editor viewport #8840

Open
icewind opened this issue Apr 23, 2024 · 1 comment
Open

Clipping issue in the editor viewport #8840

icewind opened this issue Apr 23, 2024 · 1 comment
Labels
3d Issues related to new 3D functionality bug Something is not working as expected editor Issues related to the Defold editor quick win?

Comments

@icewind
Copy link

icewind commented Apr 23, 2024

Describe the bug (REQUIRED)
In the Defold editor, if I import a 3d model and set the camera to Perspective mode, weird clipping applied that prevents all the models from being displayed properly. In Orthographic mode it works as expected. Please see the attached video.

To Reproduce (REQUIRED)

  1. Create new project using basic 3D template
  2. Import any model (tested with gltf/glb and dae)
  3. Set viewport camera to perspective mode

Expected behavior (REQUIRED)
Defold editor doesn't apply any specific clipping. For the example of expected behaviour please see attached videos captured from Blender and Godot 4.1 stable

Defold version (REQUIRED):

  • Version 1.7.0

Platforms (REQUIRED):

  • Platforms: MacOS
  • OS: Sonoma 14.3
  • Device: MacBook Pro 15 late 2019

Minimal repro case project (OPTIONAL):
https://github.com/icewind/TestDefoldEditorClipping

Videos

UPDATE
In case I increase the model 10 times, it works fine
Bigger model.webm

@icewind icewind added the bug Something is not working as expected label Apr 23, 2024
@icewind
Copy link
Author

icewind commented Apr 23, 2024

The issue is in model sizes. I used metric system in Blender and as a result all the models were very small. Increasing and applying the scale fixed the issue. Please feel free to close if not relevant

@britzl britzl added editor Issues related to the Defold editor 3d Issues related to new 3D functionality quick win? labels Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3d Issues related to new 3D functionality bug Something is not working as expected editor Issues related to the Defold editor quick win?
Projects
None yet
Development

No branches or pull requests

2 participants