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

GGMax Bug - Draw calls/batching doesn't occur on duplicated objects unless you save your level and then relaunch MAX #5878

Open
Kraven3D opened this issue Dec 31, 2024 · 0 comments
Assignees
Labels
bug Something isn't working Max Issues related to GameGuru Max. Medium Performance

Comments

@Kraven3D
Copy link

Kraven3D commented Dec 31, 2024

UPDATE:
Draw calls seem to be working fine. If you duplicate objects around your map, you have to save your level and then relaunch MAX for those duplicated objects to batch(?) properly. Until you do restart MAX, those duplicated objects won't be batched. (Thanks to preben for the tip!) Will leave this open as a bug with duplication for now for review and have changed the title to reflect that :)

The [original] Issue:
If you add a single object into an empty level and duplicate that object several hundred times, instead of getting 1 draw call (or maybe 3 or 4 taking into account the normal, surface and color mats; not sure how it works exactly), you instead get several hundred draw calls, almost to the point that it looks like each object is getting it's own draw call despite being an exact copy of all the others.

I assume the terrain and maybe the sky textures add a few draw calls to the equation, but I would expect a scene like this to have no more than maybe 20 or 30 draw calls and instead it almost has one for each identical object in the scene. The more of the same object you add, the more the draw calls continue to go up. This can't be right?

drawCalls

@Kraven3D Kraven3D changed the title GGMAX - BUG - I don't think draw calls are working properly in MAX GGMAX - BUG - Draw calls/batching doesn't occur on duplicated objects unless you save your level and then relaunch MAX Jan 1, 2025
@Kasseyus Kasseyus changed the title GGMAX - BUG - Draw calls/batching doesn't occur on duplicated objects unless you save your level and then relaunch MAX GGMax Bug - Draw calls/batching doesn't occur on duplicated objects unless you save your level and then relaunch MAX Jan 7, 2025
@Kasseyus Kasseyus self-assigned this Jan 7, 2025
@Kasseyus Kasseyus added bug Something isn't working Max Issues related to GameGuru Max. Medium Performance labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Max Issues related to GameGuru Max. Medium Performance
Projects
None yet
Development

No branches or pull requests

2 participants