Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix HideGtavMap & Render Items | New Metod #292

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kirill-mapper
Copy link
Contributor

@kirill-mapper kirill-mapper commented Jan 15, 2025

изображение
изображение

Render of hiding map and project items became public
Logic ymap.HasСhange is now clear to the logic that this is a map in the project
Disabled deleting a map, which broke the LOD hierarchy of objects in the project, after enabling
Hiding Map and Project Items Metod:
    HideGtavMap:
    When enabled, only modified project objects are shown
    When disabled, all objects are displayed in standard mode

    RenderItems:
    When disabled, all objects modified in the project are hidden
    When enabled, modified objects are displayed

Working Principle:
    Objects are filtered during the update method based on these flags
    Modified objects are excluded from the list of visible objects
    Implemented through recursive visibility checking

Main Purpose:
    Provide the ability to isolate the original GTA V map from project modifications and vice versa

Key Features:
    Preserves LOD (Level of Detail) hierarchy
    Maintains original distance-based rendering logic
    Keeps the existing spatial relationships between objects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant