MrTJP / ProjectRed

Redstone Engineering
MIT License
466 stars 178 forks source link

Render optimization of 3D objects #1734

Closed MrMarlain closed 11 months ago

MrMarlain commented 1 year ago

During the construction of a large project, an unexpected problem arose. Due to the large number of logic elements, wires, buses, my map began to render poorly. FPS drops from 500+ to 25-30. I guess it has to do with 3d models.

I see a solution to the problem in creating a lite version of the mod, where almost all models will be replaced with sprite counterparts.

2022-08-28_01 01 23 2022-08-28_01 01 15 2022-08-28_01 01 46

MrTJP commented 1 year ago

Maybe its block update related? Does it happen if you were to freeze your circuit (i.e. no more signal changes that would trigger block updates)?

MrMarlain commented 1 year ago

The circuit is designed in such a way that the block signals do not change in it, that is, in these screenshots, the static circuit.

Maybe its block update related? Does it happen if you were to freeze your circuit (i.e. no more signal changes that would trigger block updates)?