Replies: 4 comments 14 replies
-
Try this example as a starting point: https://github.com/pygfx/pygfx/blob/6e1b3bf978bba92b7c217365fca83955c33d481a/examples/triangle.py Thanks for your feedback. We're still in beta so our docs are not a big priority at this point. Once the API stabilizes and the base feature set is complete we'll make another pass on the documentation. |
Beta Was this translation helpful? Give feedback.
-
Hi guys, |
Beta Was this translation helpful? Give feedback.
-
I'm sorry to see this so late. I wonder if the solution here ((#320 (comment))) can help you? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the clarification. Would converting it into a grayscale image
scale the range of all output to 0-255? I think this might have an impact
on depth resolution which is critical, at least, for my purposes.
…On Sat, Jul 23, 2022 at 6:12 AM Pan Xinmiao ***@***.***> wrote:
I added a "MeshDepthMaterial" example
<bbb73b5>
which can output depth grayscale image.
—
Reply to this email directly, view it on GitHub
<#318 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANCY3UOPN234EZOFBUVNADVVPVTLANCNFSM5YZO37ZA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
___________________
Marcos Llobera
Assoc. Prof. in Anthropology
Digital Archaeology Research Lab (DigAR Lab <https://www.digarlab.uw.edu/>)
University of Washington
pronouns: *he/his/him*
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use pygfx in order to render a terrain. The terrain has been triangulated from a heightmap (so I have vertices and normals) so I am trying to generate a mesh in pygfx. I have not found any mesh under geometry.
Incidentally, the "putting together example" in the pygfx guide is incorrect. It includes a reference to "BoxGeometry" when it should be "box_geometry".
Any help will be most welcome. I am really interested in using this package.
Beta Was this translation helpful? Give feedback.
All reactions