Giter Club home page Giter Club logo

Comments (18)

bilalmirza74 avatar bilalmirza74 commented on June 4, 2024 1

https://stackoverflow.com/questions/62183371/threejs-three-buffergeometry-computeboundingsphere-gives-error-nan-position

check out this

from project_3d_developer_portfolio.

responsive-we avatar responsive-we commented on June 4, 2024 1

I have the same issue here too after deployment on my PC works fine but on other PCs and mobile doesn't work

But mine works on PCs, on all browsers installed in an iPhone and Mozilla firefox (on android).

from project_3d_developer_portfolio.

sajithsojan avatar sajithsojan commented on June 4, 2024

@bilalmirza74 The error for Computers.jsx is not fixed

from project_3d_developer_portfolio.

bilalmirza74 avatar bilalmirza74 commented on June 4, 2024

@bilalmirza74 The error for Computers.jsx is not fixed

Actually you need to change the 3D model for the mobile phone view to make it responsive

Because the size of Computer 3D model is too big to render on mobile phone

from project_3d_developer_portfolio.

sajithsojan avatar sajithsojan commented on June 4, 2024

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

this error keeps popping up all the time

from project_3d_developer_portfolio.

sajithsojan avatar sajithsojan commented on June 4, 2024

@bilalmirza74 the tech sections is not getting renderred in some mobiles after i deploy

from project_3d_developer_portfolio.

bilalmirza74 avatar bilalmirza74 commented on June 4, 2024

In which mobiles? Did you noticed?

from project_3d_developer_portfolio.

sajithsojan avatar sajithsojan commented on June 4, 2024

oneplus,realme devices

from project_3d_developer_portfolio.

bilalmirza74 avatar bilalmirza74 commented on June 4, 2024

That might be a issue with phone
RAM random access memory

Not be able to render full 3D model

from project_3d_developer_portfolio.

jaismeenMehra avatar jaismeenMehra commented on June 4, 2024

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

this error keeps popping up all the time

I am getting same error. Did you solved the error?

from project_3d_developer_portfolio.

sajithsojan avatar sajithsojan commented on June 4, 2024

That might be a issue with phone RAM random access memory

Not be able to render full 3D model

my phone has 12gb latest ram and still

from project_3d_developer_portfolio.

bilalmirza74 avatar bilalmirza74 commented on June 4, 2024

That might be a issue with phone RAM random access memory

Not be able to render full 3D model

my phone has 12gb latest ram and still

https://www.webdevfreelancer.me/

Check this out is this working

from project_3d_developer_portfolio.

sajithsojan avatar sajithsojan commented on June 4, 2024

That might be a issue with phone RAM random access memory

Not be able to render full 3D model

my phone has 12gb latest ram and still

https://www.webdevfreelancer.me/

Check this out is this working

It is working, but has issue with the pc 3d model
It is same for mobile and pc

from project_3d_developer_portfolio.

MaheshBabu11 avatar MaheshBabu11 commented on June 4, 2024

@sajithsojan . You can use these compressed models to improve the performance.

  1. The computer scene (https://github.com/MaheshBabu11/3D-Portfolio/blob/main/public/desktop_pc/scene.glb) 1.33 MB
  2. The planet scene ( https://github.com/MaheshBabu11/3D-Portfolio/blob/main/public/planet/scene.glb) 325 KB

Usage :
const computer = useGLTF("./desktop_pc/scene.glb");

Adding <Canvas frameloop="demand" shadows dpr={[1, 2]} camera={{ position: [20, 3, 5], fov: 25 }} gl={{ preserveDrawingBuffer: true ,alpha: true}} >
,alpha: true in gl can resolve the loading issues in mobile.

Hope that helps. (I have deployed mine here : portfolio)

from project_3d_developer_portfolio.

bilalmirza74 avatar bilalmirza74 commented on June 4, 2024

@MaheshBabu11
After scrolling down upto form
While scrolling up this happens

Screenshot_2023-10-23-10-53-54-45_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

Screenshot_2023-10-23-10-54-30-52_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

Screenshot_2023-10-23-10-54-15-79_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

Hope you understand the problem :(

from project_3d_developer_portfolio.

responsive-we avatar responsive-we commented on June 4, 2024

Has anyone found any solutions for it?
I am also getting the same error. Please help

from project_3d_developer_portfolio.

AT0047 avatar AT0047 commented on June 4, 2024

I have the same issue here too after deployment
on my PC works fine but on other PCs and mobile doesn't work

from project_3d_developer_portfolio.

responsive-we avatar responsive-we commented on June 4, 2024

I think it is due to the limitations of the mobile browsers. So it must be optimised for phone? anyone could help us with it?

from project_3d_developer_portfolio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.