scaleTex="1 -1"did the trick for me, i.e. mirroring at the horizontal axis. I am still not quite sure as to why this is needed, but I’ll take it.
On another note: The file produced by the OBJExporter seems to differ from the obj-file that is loaded initially. I haven’t looked into that exactly as I don’t need it right now – the…[Read more]
Also thanks to your for your fast response and the suggestions.
flipNormals="true"does not seem to change anything, setting this data field to false doesn’t change anything either though, so I am a little confused.
I will look into the
scaleTexdata field, and also take another closer look at the apparent misalignment of the image to…[Read more]
thanks for you further reply!
Adding the proposed data field did lead to the same result as loading everything inside the OglModel, so it allows me to use to newer components.
Now, the seams are handled but the texture image still is aligned wrong (see the image I linked above). Would be great if you could add another engineer who…[Read more]
Maybe this also helps:
On the left is my Sofa scene, on the right the same obj with the same texture image in Blender. It seems as if the uv map is the same but the image is aligned differently (maybe u and v coordinates defined differently?), simply rotating the image did not solve the issue so far, although maybe I haven’t found the right…[Read more]
Thanks for your reply.
I have made some small progress by realizing that
visual.addObject('OglModel', name="VisualModel", fileMesh="../data/ellipsoid/ellipsoid_dds.obj", texturename=textureFilename)
produces a different visual model than
visual.addObject('MeshObjLoader', name="meshLoader_0",…[Read more]
I am trying to load and later export a textured mesh as obj-file in Sofa Python3 and then use the exported mesh for mesh fitting with differentiable rendering in pytorch3d.
For this, I did load the mesh in Blender (previously an stl-file) and added a texture via uv mapping. Then, I exported this mesh as an .obj with corresponding…[Read more]
I am trying to compile Sofa v20.12 with SofaPython3. When running
make installI get the following error.
CMake Error at Sofa.Config/cmake_install.cmake:72 (file):[Read more]
file INSTALL cannot find
"/Users/jona/sofa_20.12/build_20.12/cmake/Sofa.ConfigConfig.cmake": No such
file or directory.
Call Stack (most recent call first):…
I see, that makes things a little more complicated.
There are other options to define ROI – you can read more about them and find example scenes here: ROI selection
Maybe a combination of those will work for you.
you should be able to define different sections of your finger with BoxROI and then create a child of your object with a separate forcefield. Following the pneunet gripper tutorial it would look like this (step3-StiffLayer):
finger.createObject('BoxROI', name='boxROISubTopo', box='-100 22.5 -8 -19 28 8')[Read more]
there is no fixed unit system in sofa, you just have to make sure that units are correct relative to each other. This is also explained at around 4:30 min in Sofa & Soft Robotics: First Steps Tutorial.Btw this tutorial is a good starting point in terms of understanding some of the main concepts of Sofa and the general structure of a…[Read more]
I don’t know for sure if this helps with .igs but I had a similar issue when using stl files in Gmsh that also only contain surface information. I opened my file with File -> Merge and used Geometry -> Elementary entities -> Add -> Volume. After selecting your mesh and following the on-screen instructions you should be able to 3D Mesh, export the…[Read more]
Ok, so I just figured that the entire sequence loops after 200 s and all of the moves take up the same fraction of that – adding points in the middle of movements should then enable me to influence the speed the way I want to.
What is strange about the stuff regarding orientation is that when I manually configure a camera pose that I like and…[Read more]
when using the RecordedCamera component in navigation mode is there a way to manually set the speed of the camera moving for each movement (i.e. determine key times at which the camera reaches each way point)? As far as my understanding goes it takes 50s for every move to happen right now.
Also, is it possible to use lookAt values rather…[Read more]
I got the SLAM to run without giving my any error messages, that’s why I closed this topic. However, it is not working very well atm and I am not exactly sure why that is. So far I have calibrated the camera using SOFA screenshots of a floor with checkerboard texture (like you would do with real physical…[Read more]
I’m currently trying all the different options/components that could be useful in the two scenes in order to figure out which work best. I will post an update as soon as I meet another problem or get everything to work 🙂 Once again thanks for you help so far!
thanks for your fast response again. Indeed, using Rigid3d template simplified the use of
LinearMovementConstraintquite a bit.
Next thing I am stuck with is the connection between bellow and floor (more important in the other scene with two bellows). From what I have seen
I am trying to use an image sequence from my Sofa scene with a SLAM algorithm to create a map of my scene/track the camera movement. Capturing the images works fine but I was wondering if there is any chance I can get a calibration of the camera used in Sofa and/or even change the parameters of the camera because currently the SLAM…[Read more]
- Load More