-
Notifications
You must be signed in to change notification settings - Fork 70
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
vapory with mesh #28
Comments
That's actually already possible with two (fairly small) extension classes. Let's look at a Mesh consisting of smooth triangles. Then you need to create the following two (empty) extensions of the
and
You can then call For instance you can construct
That's all folks |
I didn't use the two empty class ; instead I used Triangle class provided in vapory and it works like a charm. Here's the code:
Rendering is easy too:
|
I am trying to render a scene from mesh. I have a textured mesh which I am loading with assimp. Could you give me an hint as how to render a mesh scene with vapory.
The text was updated successfully, but these errors were encountered: