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

investigate nans in camera frustrum mesh #1390

Open
cyrush opened this issue Sep 30, 2024 · 0 comments · May be fixed by #1397
Open

investigate nans in camera frustrum mesh #1390

cyrush opened this issue Sep 30, 2024 · 0 comments · May be fixed by #1397
Assignees
Labels

Comments

@cyrush
Copy link
Member

cyrush commented Sep 30, 2024

@emily-howell can you take a look at this case for the frustum mesh and see why nans are arriving?

    camera:
      position: [0.0342999994754791, 0.00480000022798777, 0.0581200011074543]
      look_at: [0.0342999994754791, 0.00480000022798777, 0.0]
      up: [0.0, 1.0, 0.0]
      zoom: 2.0
      fov: 60.0
      near_plane: 0.0363688580691814
      far_plane: 3.63688564300537
      camera_frustum_mesh:
        coordsets:
          scene_bounds_coords:
            type: "explicit"
            values:
              x: [-0.0584625, -0.0584625, -0.0584625, -0.0584625, 0.2376, 0.2376, 0.2376, 0.2376]
              y: [-0.131195885166494, -0.131195885166494, 0.0797536816207084, 0.0797536816207084, -0.131195885166494, -0.131195885166494, 0.0797536816207084, 0.0797536816207084]
              z: [0.0, 0.0108, 0.0108, 0.0, 0.0, 0.0108, 0.0108, 0.0]
          camera_frustum_coords:
            type: "explicit"
            values:
              x: ["-nan", "nan", "nan", "-nan", "-nan", "nan", "-nan", "-nan", 0.0342999994754791, 0.0342999994754791, "-nan"]
              y: ["-nan", "-nan", "-nan", "-nan", "-nan", "-nan", "-nan", "-nan", 0.00480000022798777, 0.00480000022798777, "-nan"]
              z: ["-nan", "-nan", "-nan", "-nan", "-nan", "-nan", "nan", "-nan", 0.0217511430382729, -3.57876564189792, "-nan"]
        topologies:
          scene_bounds_topo:
            type: "unstructured"
            coordset: "scene_bounds_coords"
            elements:
              shape: "line"
              connectivity: [0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7]
          camera_frustum_topo:
            type: "unstructured"
            coordset: "camera_frustum_coords"
            elements:
              shape: "line"
              connectivity: [0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7, 8, 9, 8, 10]
          clipping_planes_topo:
            type: "unstructured"
            coordset: "camera_frustum_coords"
            elements:
              shape: "quad"
              connectivity: [0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 5, 4, 2, 3, 7, 6, 0, 3, 7, 4, 1, 2, 6, 5]
@cyrush cyrush added the bug label Sep 30, 2024
@emily-howell emily-howell linked a pull request Oct 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants