OptiPainting

Quick rating

OptiPainting

No reviews yet

Optimizes painting rendering

No Theme
No Genre
Performance & Optimization
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
GNU Lesser General Public License v3.0 or later
Latest Version
OptiPainting 1.0.0 for MC 1.19.2
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

OptiPainting

Optimized painting rendering

What's this mod do?

  • This mod optimizes the rendering of paintings, by not rendering the sides of the painting that are never visible.
  • In 24w18a, Mojang added data-driven paintings, which allows for custom paintings to be added to the game, up to 16x16 in size. This mod removes that limit and allows you to have paintings of any size.

How's it optimized?

If you have a look at a painting, you'll notice that on the sides there is a 2px indented frame, so it sticks out from the wall. In vanilla, these faces are rendered for every single block that the painting is made of. This is a waste of resources, as the faces are never visible. This mod fixes that by not rendering these faces.

This may seem like a small optimization, but these tiny faces are equivalent to the full block face, so:

  • Front - 4 vertices
  • Back - 4 vertices
  • Top - 4 vertices
  • Bottom - 4 vertices
  • Left - 4 vertices
  • Right - 4 vertices

Makes a total of 24 vertices per block on vanilla. And 8 vertices per block on OptiPainting.

That's a 66% reduction in vertices!

  • If you have a 16x16 painting, that's 256 blocks, which is 6144 vertices in vanilla, and 2048 vertices in OptiPainting.
  • If you have a super-large 64x64 painting, that's 4096 blocks, which is 98304 vertices in vanilla, and 32768 vertices in OptiPainting.
With OptiPainting Without OptiPainting
Comparison (with OptiPainting) Comparison (without OptiPainting)

This example is rendered without the back face to demonstrate what the mod does. You can see the back of the painting in vanilla and with the mod. (For now!!)

Obviously, if you only have the occasional painting in your world, you won't notice much of a difference, but it is free optimization none-the-less!

OptiPainting

Optimized painting rendering

What's this mod do?

  • This mod optimizes the rendering of paintings, by not rendering the sides of the painting that are never visible.
  • In 24w18a, Mojang added data-driven paintings, which allows for custom paintings to be added to the game, up to 16x16 in size. This mod removes that limit and allows you to have paintings of any size.

How's it optimized?

If you have a look at a painting, you'll notice that on the sides there is a 2px indented frame, so it sticks out from the wall. In vanilla, these faces are rendered for every single block that the painting is made of. This is a waste of resources, as the faces are never visible. This mod fixes that by not rendering these faces.

This may seem like a small optimization, but these tiny faces are equivalent to the full block face, so:

  • Front - 4 vertices
  • Back - 4 vertices
  • Top - 4 vertices
  • Bottom - 4 vertices
  • Left - 4 vertices
  • Right - 4 vertices

Makes a total of 24 vertices per block on vanilla. And 8 vertices per block on OptiPainting.

That's a 66% reduction in vertices!

  • If you have a 16x16 painting, that's 256 blocks, which is 6144 vertices in vanilla, and 2048 vertices in OptiPainting.
  • If you have a super-large 64x64 painting, that's 4096 blocks, which is 98304 vertices in vanilla, and 32768 vertices in OptiPainting.
With OptiPainting Without OptiPainting
Comparison (with OptiPainting) Comparison (without OptiPainting)

This example is rendered without the back face to demonstrate what the mod does. You can see the back of the painting in vanilla and with the mod. (For now!!)

Obviously, if you only have the occasional painting in your world, you won't notice much of a difference, but it is free optimization none-the-less!

Screenshots

Gallery

  • Comparison (With mod)
    Comparison (With mod)
  • Comparison (Without mod)
    Comparison (Without mod)

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~26,000
Total Downloads
CurseForge
~7,000
Modrinth
~18,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works