Skip to content

Rewrite create_wireframe_cube#98

Open
Lry722 wants to merge 3 commits intoZylann:masterfrom
Lry722:wireframe
Open

Rewrite create_wireframe_cube#98
Lry722 wants to merge 3 commits intoZylann:masterfrom
Lry722:wireframe

Conversation

@Lry722
Copy link

@Lry722 Lry722 commented Oct 6, 2023

Rewrite create_wireframe_cube to create_wireframe_mesh
Now it will be based on model's collision_aabbs create wireframe.
In this way, models that are not cubes can be perfectly framed (such as stairs).

@Zylann
Copy link
Owner

Zylann commented Oct 6, 2023

Note that it creates undesired lines at the boundaries:
image

@Lry722
Copy link
Author

Lry722 commented Oct 7, 2023

Note that it creates undesired lines at the boundaries: image

That's true, but it doesn't look bad anyway. I originally tried to implement it with a shader but failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants