save mesh as an image
See original GitHub issueHi,
Thank you for the great library.
Is there a way to save the current mesh as an image, but to return a numpy array (or other type of arrays) instead. I know that data = scene.save_image(resolution=(1080,1080))
return an image, but in bytes 😦
Thank you in advance!
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (6 by maintainers)
Top Results From Across the Web
export mesh images -- CFD Online Discussion Forums
Hi everybody. Anyone can explain me how export images (jpeg, png,...) of the generated mesh? Thank you.
Read more >How do you download or save a texture of a mesh
If you're talking about image textures you can save them in a folder: go in the Image Editor or UV Editor > Image...
Read more >Save Views in Meshing - YouTube
In this video, we will talk about how to create and manage views. We can then use these views to quickly go from...
Read more >How to export or save a plane mesh as image format in three ...
Suppose I have created a mesh with plane geometry and have multiple effects on it. var tx = THREE.ImageUtils.loadTexture("g.png"); var ...
Read more >Save distorted mesh to a png file - Unity Forum
I have a 3D plane, and I am performing some mesh manipulation (displacing some vertices) to distort the image, and now I want...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah yeah the depth buffer in XVFB is a bit odd, example is fixed in the upcoming release, check related issue https://github.com/mikedh/trimesh/issues/943 and fix: https://github.com/mikedh/trimesh/blob/e35693f22fb2af0769e1f220328ff8922c44b50f/examples/dockerRender/render.py#L17-L19
Hi, I also meet the same problem. Can you share me some reference that how to use xvfb?
Thanks a lot.