How can I print teapot on the screen? #145343
Replies: 2 comments
-
I see in your
|
Beta Was this translation helpful? Give feedback.
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Body
I am writing code to import obj and apply environmental mapping using opengl. First of all, I succeeded in displaying the skybox texture on the screen using cubemap. However, I failed to apply environmental mapping by loading the obj file in teapot.
This is the Trimesh class that I defined
In this class, I wrote what I need for the render of teapot. In addition, I wrote the function to load the obj file as follows.
However, when I ran the code, I could see the texture of the skybox but not the teapot. In other words, my question is, please let me know what I can modify to show the teapot on the screen. No error messages are currently output in debugging.
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions