Thread: Draw Distance

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 Draw Distance 
    Registered Member Beershake's Avatar
    Join Date
    Mar 2011
    Age
    28
    Posts
    287
    Thanks given
    49
    Thanks received
    25
    Rep Power
    2
    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:
    Reply With Quote  
     

  2. #2  
    Registered Member Beershake's Avatar
    Join Date
    Mar 2011
    Age
    28
    Posts
    287
    Thanks given
    49
    Thanks received
    25
    Rep Power
    2
    Bump
    Reply With Quote  
     

  3. #3  
    2021
    SoulSplit's Avatar
    Join Date
    Nov 2011
    Posts
    830
    Thanks given
    620
    Thanks received
    654
    Rep Power
    528
    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

    Attached image
    Reply With Quote  
     

  4. Thankful user:


  5. #4  
    Registered Member
    Brainpower's Avatar
    Join Date
    Jan 2019
    Posts
    130
    Thanks given
    13
    Thanks received
    13
    Rep Power
    101
    Take a look at the worldcontroller in the Arrav release, it has this or atleast a start of this.
    Reply With Quote  
     

  6. #5  
    2021
    SoulSplit's Avatar
    Join Date
    Nov 2011
    Posts
    830
    Thanks given
    620
    Thanks received
    654
    Rep Power
    528
    Quote Originally Posted by Brainpower View Post
    Take a look at the worldcontroller in the Arrav release, it has this or atleast a start of this.
    The pic I posted is not from the Arrav client that just got released, if that's what you're basing this on
    Reply With Quote  
     

  7. #6  
    Registered Member

    Join Date
    Oct 2017
    Age
    23
    Posts
    215
    Thanks given
    211
    Thanks received
    113
    Rep Power
    300
    Attached image

    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.
    Spoiler for signature too large:
    end me
    Attached image
    Attached image
    Reply With Quote  
     

  8. Thankful user:


  9. #7  
    Registered Member
    Brainpower's Avatar
    Join Date
    Jan 2019
    Posts
    130
    Thanks given
    13
    Thanks received
    13
    Rep Power
    101
    Quote Originally Posted by Technotik View Post
    The pic I posted is not from the Arrav client that just got released, if that's what you're basing this on
    I looked at arrav code and I know it has atleast a part if not all of it hence wht I'm mentioning that client.
    Reply With Quote  
     

  10. #8  
    Registered Member Beershake's Avatar
    Join Date
    Mar 2011
    Age
    28
    Posts
    287
    Thanks given
    49
    Thanks received
    25
    Rep Power
    2
    Quote Originally Posted by Bitshifting View Post
    Attached image

    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.
    I did give a look, but most of the stuff isn't refactored in my Model and WorldController classes, and it's even harder when I don't even know what Ivm actually looking for.

    Thanks anyways, I will get in touch with Zac, hopefully he can help me out as well.
    Reply With Quote  
     

  11. #9  
    Rune-Server Affiliate

    Join Date
    Apr 2014
    Posts
    1,761
    Thanks given
    75
    Thanks received
    714
    Rep Power
    1073
    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];
    Code:
    aflag[][][][] = new boolean[9][32][(TILE_VIEW_DISTANCE * 2) + 3][(TILE_VIEW_DISTANCE * 2) + 3];
    everywhere you see the value "25", replace with TILE_VIEW_DISTANCE

    Model:
    Code:
    private final int VIEW_DISTANCE = 30000;
    Code:
    k2 >= VIEW_DISTANCE
    Before:
    Attached image

    After:
    Attached image

    Enjoy a huge performance drop.
    Reply With Quote  
     

  12. Thankful users:


  13. #10  
    Extreme Donator


    Join Date
    Oct 2010
    Posts
    2,853
    Thanks given
    1,213
    Thanks received
    1,622
    Rep Power
    5000
    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
    [Today 01:29 AM] RSTrials: Nice 0.97 Win/Loss Ratio luke. That's pretty bad.
    [Today 01:30 AM] Luke132: Ok u fucking moron i forgot i could influence misc.random
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Increasing Draw Distance in 667.
    By Simbiotic in forum Help
    Replies: 2
    Last Post: 03-23-2022, 09:53 PM
  2. Increasing Draw Distance
    By Dr. Client in forum Tutorials
    Replies: 48
    Last Post: 05-16-2020, 07:47 PM
  3. Draw Distance/Fog Distance
    By johnw1 in forum Help
    Replies: 9
    Last Post: 10-29-2018, 03:42 AM
  4. Increasing Draw Distance walking
    By Castiel in forum Help
    Replies: 4
    Last Post: 01-29-2018, 01:34 AM
  5. [Resolved] Increasing draw distance
    By Jarinois in forum Help
    Replies: 10
    Last Post: 06-27-2016, 05:24 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •