taichi icon indicating copy to clipboard operation
taichi copied to clipboard

Texture on a Mesh (GGUI) ?

Open ucacaxm opened this issue 3 months ago • 0 comments

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 avatar Nov 10 '24 09:11 ucacaxm