adrianhajdin / project_3D_developer_portfolio

The most impressive websites in the world use 3D graphics and animations to bring their content to life. Learn how to build your own ThreeJS 3D Developer Portfolio today!
https://jsmastery.pro
5.81k stars 1.29k forks source link

Help Fix This Error "THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values. _BufferGeometry" #92

Open abupraise opened 1 year ago

abupraise commented 1 year ago

THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values. _BufferGeometry

This is the error that my browser has been showing, I need help please

harshit4317 commented 1 year ago

Try changing the length of FloatArray32 from 5000 to 6000 or a number divisible by 3 in your stars canvas.

abupraise commented 1 year ago

Thank you for your response

On Fri, 11 Aug 2023, 11:42 Harshit, @.***> wrote:

Try changing the length of FloatArray32 from 5000 to 6000 or a number divisible by 3 in your stars canvas.

— Reply to this email directly, view it on GitHub https://github.com/adrianhajdin/project_3D_developer_portfolio/issues/92#issuecomment-1674549723, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDALADGTPGJUEV2U3HP5ETXUYECPANCNFSM6AAAAAA3KNFSUQ . You are receiving this because you authored the thread.Message ID: @.*** com>

abupraise commented 1 year ago

I implemented it and it's working fine. Thank you

HimanshuMohanty-Git24 commented 9 months ago

Hello @abupraise can you please guide me where to make the change .