IEEE-VIT/Prudentia-2024-Portal

Bounding Sphere Calculation Fails Due to NaN Position Values in BufferGeometry

Ouverte

#4 ouverte le 1 oct. 2024

 (0 commentaire) (0 réaction) (0 personne assignée)JavaScript (2 forks)auto 404
hacktoberfest

Métriques du dépôt

Stars
 (1 étoile)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur