11/30/2023 0 Comments 3d object converter ..mesh![]() ![]() GlClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) Clear your depth buffer with glClearDepth set to Z-coordinate of the slice in camera space.clear screen buffer as usual with glClearColor set to background color.set your camera so screen projection plane is parallel to the slice. ![]() For example if you got your mesh to render with OpenGL (by any means inside your app) then to get your slice you would simply:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |