Jump to content
×
×
  • Create New...
  • 0

View Frustum Bug


Shorty

Question

  • Premium

There is an invisibility issue that I guess has occurred after recent using metin2 official patches

Sample

https://media.discordapp.net/attachments/766578589486415882/801442568356364308/unknown.png

https://www.youtube.com/watch?v=o8gpKUScnks&feature=emb_title

 

Problem is that the models that go outside the view frustum are hidden but do not appear when returning inside

Look for it

Eterlib\CullingManager.cpp -> void CCullingManager::VisibilityCallback(const Frustum &/*f*/,SpherePack *sphere,ViewState state)

 

When we remove the hide and show methods in this function, the problem is solved, however, the problem of high gpu usage occurs, because we disable view frustum

This changes solves the problem in the following post

 

I need your ideas to solve this problem I have been working on it for a long time but there is something I overlooked and I cannot find it

 

Edited by Shorty
  • Love 1
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Doest it happen only with players?

I think you should show here some code.. if it happen only with players you should show all the ActorInstance class files and the InstanceBase files.

Edited by Ikarus_

My youtube channel  on which you can see my works here

Link to comment
Share on other sites

  • 0
  • Honorable Member
13 minutes ago, Shorty said:

Client here 

Hidden Content

    Give reaction to this post to see the hidden content.
  we use completely all patches :(

I hope you have backup of your old (working) files.

Link to comment
Share on other sites

  • 0
  • Premium
2 minutes ago, Mali61 said:

I hope you have backup of your old (working) files.

I'm looking for a more logical solution instead of reverting to backup.

The method I mentioned also causes a problem that causes invisible characters to be visible after camera movements in the game. So there is something problematic already

Link to comment
Share on other sites

  • 0
  • Honorable Member
1 minute ago, Shorty said:

I'm looking for a more logical solution instead of reverting to backup.

I want to say, for now is to restore your backups until you find the solution because your server is working now.

  • Good 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 0

      Looking for Someone to create the queries etc for armors and weapons

    2. 13

      Official Private Shop Search

    3. 944

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 79

      GUI Teleport System

    5. 0

      inventory slot marking system cant compile

    6. 8

      Inventory Bug

    7. 63

      Metin2 Dev - Changelogs

  • Recently Browsing

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.