-
Notifications
You must be signed in to change notification settings - Fork 11
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
Feature request: adding texture #4
Comments
Rendering sort of falls out of the actual core scope of the library. I have a (very hacky) OpenGL demo scene set up, but it really should only be seen as a way to efficiently visualize the physics state on that demo app alone. But, since you have access to the geometry as well (by inspecting |
@LuizZak I saw a lot of examples/tutorials/engines but no one describes how to apply soft body physics and texture simultaneously |
Hmm I see. Triangulation of the shapes can be done as a first step (I actually triangulate it in the demo code and that can be copied over), the next step would be to map the resulting polygons into with a reference UV somehow. I explore this concept and implement it in the demo scene later when I have the time! |
@LuizZak The example doesn't work by itself (because cocos2d-objc is no longer supported). It explains how to create arrays of vertices for circle but the "drawing" part purely consists of deprecated code which is no longer supported. |
No description provided.
The text was updated successfully, but these errors were encountered: