Giter VIP home page Giter VIP logo

Comments (5)

janbender avatar janbender commented on May 8, 2024

In at least one demo I have seen an error message of Eigen. Can you post this message?
Did you use a 64bit or 32bit build?

from positionbaseddynamics.

brupelo avatar brupelo commented on May 8, 2024

I've used the vs2015 32 bit command prompt. One note about my above post, as you can see i was using -DCMAKE_BUILD_TYPE without being aware this variable was not being used, in order to build with either a debug or release config i need to do cmake --build . --config Debug or cmake --build . --config Release. That said, the Eigen error you're asking for is this:

Scene: D:/test/PositionBasedDynamics/data/scenes/DeformableSolidCollisionScene.json
Loading D:/test/PositionBasedDynamics/data/models/cube.obj
Number of triangles: 12
Number of vertices: 8
Loading D:/test/PositionBasedDynamics/data/models/sphere.obj
Number of triangles: 2280
Number of vertices: 1146
Loading D:/test/PositionBasedDynamics/data/models/cylinder.obj
Number of triangles: 760
Number of vertices: 382
Loading D:/test/PositionBasedDynamics/data/models/torus.obj
Number of triangles: 1600
Number of vertices: 800
Loading D:/test/PositionBasedDynamics/data/models/armadillo.obj
Number of triangles: 30000
Number of vertices: 15002
Assertion failed: (internal::UIntPtr(array) & (15)) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ****", file d:\test\positionbaseddynamics\extern\eigen\eigen\src/Core/DenseStorage.h, line 109

Btw, now i've built the release_x86 i can see some demos running because the generated code is much faster than the debug one, but still mostly of the demos still crashing, please take a look here.

Hopefully you can advice what's going on here. Btw, what's the minimum requirements to use the library succesfully, i'm using a laptop with a i7 and 8 cores but the few demos didn't crash are running quite slow (ie: the fluid demo one)

Thanks

from positionbaseddynamics.

janbender avatar janbender commented on May 8, 2024

I guess you have a 64bit operating system. If this is the case you should use a x64 build, otherwise it won't work.

from positionbaseddynamics.

brupelo avatar brupelo commented on May 8, 2024

I see, yeah, I'm on win7 x64 bits. So, building the project on release x64 definitely helped a bit, now I'm able to run more demos, but still some of them are crashing (the ones which has collision in the exe name)... Also, why is the sceneloaderdemo.exe not showing anything? Here

from positionbaseddynamics.

janbender avatar janbender commented on May 8, 2024

Is there any error message? Maybe OpenGL crashes or the shader couldn't be executerd.

from positionbaseddynamics.

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.