Bump
|
Hello everyone,
I hope you all are doing well
I've been looking all around the forums for this but couldn't find anything that would work.
I want to expand my camera radius, so I can see further. I have no clue where to look at, I have tried to mess around with a lot of camera methods but nothing worked.
Spoiler for Image:
For the cutoff, there are a few places you need to modify but I think what you're referring to is the tile culling
Start in worldcontroller (I think thats the general 317 naming) where the viewport is set up.
Hint: 25
Take a look at the worldcontroller in the Arrav release, it has this or atleast a start of this.
increase the size of k2 and i2 in whatever class handles your models client sided.
extended the size of the ground controller, and the render distance which is probably named landscape.java or deque/node.java atleast it was for our client
for more help hit up this dude; Zac#7121
He assisted us with it on venom.
Done on MITB 317
WorldController:
Code:private final int TILE_VIEW_DISTANCE = 300;Code:aBooleanArrayArrayArrayArray491 = new boolean[8][32][(TILE_VIEW_DISTANCE * 2) + 1][(TILE_VIEW_DISTANCE * 2) + 1];everywhere you see the value "25", replace with TILE_VIEW_DISTANCECode:aflag[][][][] = new boolean[9][32][(TILE_VIEW_DISTANCE * 2) + 3][(TILE_VIEW_DISTANCE * 2) + 3];
Model:
Code:private final int VIEW_DISTANCE = 30000;Before:Code:k2 >= VIEW_DISTANCE
After:
Enjoy a huge performance drop.
Why would you even do this if I may ask? You won't be able to see the npcs there anyway so it makes no sense lol. Not to mention the hit to performance if you have software rendering
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |