Replies: 1 comment 1 reply
-
Hi, First, the Quaternion in your example "Quaternionr(0, 0, 0, 0)" does not represent a rotation. Try to use "Quaternionr(1.0, 0.0, 0.0, 0.0)" which represents a rotation by 0 degree. Don't know if this solves your problem. If not, please take a look at this example here: I hope this helps. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to create a scene with cubic signed distance field loaded from a file generated by discregrid.
For simplicity, I use an already generated file "/data/sdf/bunny_10k.csdf" provided by the author.
My problem is that when I try and build the program I get a linker error:
error LNK2019: unresolved external symbol "public: __cdecl Discregrid::CubicLagrangeDiscreteGrid::CubicLagrangeDiscreteGrid(class std::basic_string<char,struct std::char_traits,class std::allocator > const &)"
This might originate from an erroneous way of loading the SDF.
See below for the code where I load the SDF and call the addCubicSDFCollisionObject.
`
So my question in this endeavour is, am I doing this properly? Is there already a demo which contains the useage of cubic SDFs for collision detection?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions