Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Texture on a Mesh (GGUI) ? #8595

Open
ucacaxm opened this issue Nov 10, 2024 · 0 comments
Open

Texture on a Mesh (GGUI) ? #8595

ucacaxm opened this issue Nov 10, 2024 · 0 comments
Labels
question Question on using Taichi

Comments

@ucacaxm
Copy link

ucacaxm commented Nov 10, 2024

hi,

Thanks for taishi, it is so easy to code parallel-GPU simulation !

Is there a way to add a texture to a mesh in the GGUI ? Something like this
scene.mesh(self.vertices, indices=self.indices, normals=self.normals, uv=self.tex_coords, texture=self.tex, two_sided=True)

I also would like to add shadows (or basically add my custom shaders).

Maybe the best way to do that is to interop with my own C++/OpenGL code ?

Thanks,
best

@ucacaxm ucacaxm added the question Question on using Taichi label Nov 10, 2024
@github-project-automation github-project-automation bot moved this to Untriaged in Taichi Lang Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question on using Taichi
Projects
Status: Untriaged
Development

No branches or pull requests

1 participant