use mesh models instead of nodeboxes #4

Open
singularis-mzf wants to merge 1 commits from singularis-mzf/bushy_leaves:master into master
First-time contributor

I had performance problems with your mod, so I converted its node boxes to a mesh model and it gives me much higher FPS now, so I believe it could enhance the performance of your mod.

There are two models: the full model is exactly equal to the original node boxes, the "cheap" model is simplified a bit to get even more performance.

I don't have much time for testing now, so if you are interested in using the mesh models, please test them before merging this pull request.

I had performance problems with your mod, so I converted its node boxes to a mesh model and it gives me much higher FPS now, so I believe it could enhance the performance of your mod. There are two models: the full model is exactly equal to the original node boxes, the "cheap" model is simplified a bit to get even more performance. I don't have much time for testing now, so if you are interested in using the mesh models, please test them before merging this pull request.
singularis-mzf added 1 commit 2022-08-15 19:42:31 +02:00
Owner

@singularis-mzf this seems very useful for perforamnce. Did you create the models by hand or with a converter script? If you used a script, please provide it.

@singularis-mzf this seems very useful for perforamnce. Did you create the models by hand or with a converter script? If you used a script, please provide it.
First-time contributor

this is great. you can go to a jungle without massive fps drops.

The meshes do appear to look a bit different than the node boxes but actually kinda better i think

this is great. you can go to a jungle without massive fps drops. The meshes do appear to look a bit different than the node boxes but actually kinda better i think
Author
First-time contributor

@erlehmann I created a script by hand and use it to generate the models. I uploaded the script now to: https://github.com/singularis-mzf/bushy_leaves_gen/tree/main. The script requires Perl 5.26 or newer and uses a simple Perl library (provided in the same repository).

I admit that the texture coordinates probably don't correspond to the original node boxes, but I also like the new look more.

@erlehmann I created a script by hand and use it to generate the models. I uploaded the script now to: [https://github.com/singularis-mzf/bushy_leaves_gen/tree/main](https://github.com/singularis-mzf/bushy_leaves_gen/tree/main). The script requires Perl 5.26 or newer and uses a simple Perl library (provided in the same repository). I admit that the texture coordinates probably don't correspond to the original node boxes, but I also like the new look more.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b singularis-mzf-master master
git pull master

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff singularis-mzf-master
git push origin master
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: erle/bushy_leaves#4
No description provided.