Jump to content
  • 0

View Frustum Bug


Shorty

Question

  • VIP

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
Link to post

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 post
  • 0
  • VIP

there was no change in the files you mentioned and the problem happened after started using the official metin2 patches.

 

yes it happens to all players

Edited by Shorty
Link to post
  • 0
  • VIP
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 post
  • 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

I'll be offline for a few months🌛

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Activity

    1. 0

      Compile Server

    2. 0

      QC error message for special characters next to apostrophes

    3. 135

      Render Target Remastered

    4. 0

      Mount not attacking

    5. 2

      Rodnia2 | PVM | International | 3k+ players | Multiple-Languages | 2nd server opening: 13.02.2021

    6. 218

      WorldEditor ReMIX

    7. 54

      Quiver System

    8. 72

      Party Flag

  • Recently Browsing

    No registered users viewing this page.

Shoutbox

Shoutbox

Chatroom Rules

 

Join our Discord

A request for help = Shoutbox Ban

Be respectful & Respect the rules

 

×
×
  • 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.