Skip to content

adjustable render distance #351

@CStone6

Description

@CStone6

I was messing around in the code, and I saw on line ~611
renderDistance = (float)(32 * 32 >> (mc->options->viewDistance));
And if you change this, you get an adjustable render distance. I got ~40 fps with 128 *128, and I got 140 at 5 *5. Also other things I changed might have affected preformace but not that I noticed

i dont know much about c++ but I think it would be straightforward to link it to buttons or sliders at some point. You would have to look for where the chunks are generated and change the distance because it only renders a small bubble around you, it like voxy where it only shows chunks that were generated. Hope this information is helpful for your guys' endeavors

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions