IEEE-VIT/Prudentia-2024-Portal

Bounding Sphere Calculation Fails Due to NaN Position Values in BufferGeometry

Open

#4 opened on Oct 1, 2024

 (0 comments) (0 reactions) (0 assignees)JavaScript (2 forks)auto 404
hacktoberfest

Repository metrics

Stars
 (1 star)
PR merge metrics
 (No merged PRs in 30d)

Description

When rendering a 3D object, the following error is thrown: "THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The 'position' attribute is likely to have NaN values." It appears that the geometry's position attributes are not valid, resulting in an invalid bounding sphere calculation. This could happen when loading models or when manipulating geometry data. Investigating how the position data is being generated or modified should help resolve the issue.

Contributor guide