Jump to content

View Frustum Bug


Shorty

Recommended Posts

  • Premium

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

Sample

https://metin2.download/picture/HDLo7LoF0TsOiBIguvh654ySRFjZ4OUb/.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 Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

  • Developer

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

  • Honorable Member
13 minutes ago, Shorty said:

Client here https://www.elym2.com/download  we use completely all patches :(

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

I don't have any other account.

Stop asking github links and use metin2.download links.

Link to comment
Share on other sites

  • 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

  • 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

I don't have any other account.

Stop asking github links and use metin2.download links.

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


  • Similar Content

  • Activity

    1. 1

      Metin2 Property objects loaded from D:/ymir work

    2. 20

      Item ToolTip Width Fix

    3. 4

      Connection problem

    4. 1276

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

    5. 1276

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

    6. 1276

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

    7. 1

      Sanii Switchbot problem

    8. 4

      Connection problem

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

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.