Giter Club home page Giter Club logo

Comments (6)

programingman avatar programingman commented on June 16, 2024

Are any of the objects moving? Or is the whole scene static?
Can you profile the code to see where time is being spent?
Also make sure you're testing a Release build. Debug builds have extra overhead which make the program much slower.

Let me know if you need help figuring out how to profile the program.

from reactphysics3d.

Omroth avatar Omroth commented on June 16, 2024

They're static. But yes I'm in debug mode. Maybe I need to compile rp3d in release and my code in debug. I'll run gprof though and see what comes out.

from reactphysics3d.

Omroth avatar Omroth commented on June 16, 2024

Can I disable the debugging stuff while remaining in non-release build?

from reactphysics3d.

programingman avatar programingman commented on June 16, 2024

You can enable optimization (eg -O2 or -O3) on the rp3d Debug library, but mixing Debug and Release builds isn't recommended, if it will compile at all.

from reactphysics3d.

Omroth avatar Omroth commented on June 16, 2024

Thanks. I turned off debug drawing - are there any other options like that I might have missed that are on by default?

from reactphysics3d.

ZeunO8 avatar ZeunO8 commented on June 16, 2024

Try profiling with the orbit profiler to find out where most of the time is being spent.!

from reactphysics3d.

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.