I previously posted it in another conversation, however it got no attention 
due to the original question being resolved.)

I have run into a problem with this approach (although i suspect it's just 
my code.) I used the SCMDeformableTerrain's mesh's ChTriangleMeshConnected 
to gather a list of all the vertices in the mesh. I then added the heights 
to a 2D list (and normalized them), then dumped them into a grayscale 
image. However, the image turns out unintelligible (example attached.) It's 
supposed to be a shoeprint, imprinted from a (3D-scanned) .obj of a shoe.

Here's the code: 
https://gist.github.com/Whop42/43d496e42d8c8f227b53ada1d3da7502
[image: tmpw15joiam.PNG]
Print in Irrlicht:[image: 2023-01-19_16-10.png]
How do I rectify this problem and make the print show up, like it is in 
Irrlicht?

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/3d5ccf3d-6f49-4291-8a19-0bb0dda3815dn%40googlegroups.com.

Reply via email to