Terraria3DKit - A development library for rendering 3D objects in Terraria

Panini

Terrarian
Terraria3DKit - ALPHA V. 0.2

1WMM584.png


Warning: This is an alpha release!
You will experience bugs, especially when using different zooms other than 1.00!

No longer being worked on. All developers have the right to republish the mod under the contained license.


A development library for rendering 3D objects in Terraria.
Available for tModLoader​

Hi Everyone! :dryadsmile:

I present to you Terraria3DKit! A library meant for developers to be able to create 3D objects in Terraria!
This library is in it's first stages and should be used with care! Loading 3D models in the hundreds could cause performance issues :)

Be mindful of your audience! Not all users have super computers to render your incredible, lifelike 3D model of yourself in the game.
Besides, we already know you're beautiful.

✅What's Done:
  • Orthographic rendering
  • Lighting affected 3D rendering
  • Pre-included shapes
    • Cubes
    • Diamonds
    • Square Pyramids
    • Triangular Pyramids
    • UV Sphere
  • Documentation for all parts of the library
  • An example mod with the following examples
    (Look for Terraria3DKitExample on the Mod Browser)
    • Example Pylon
  • Shape Groups that allow you to add shapes to shapes
✏ To-do:
  • Performance enhancements
  • Extra shapes
  • UV map generation
  • Perspective rendering
  • Fix bugs that cause slower FPS drawing when zoomed in on Tile Draw methods
⬇ Download Example:
✉ GitHub SourceCode:

3DPylon.gif

3DModelLightingEnabled.gif
 
Last edited:
I'm not into 3D modeling stuff, but I see great potential on this.
That can also be helpful when adding some custom npcs (mostly monsters), or even environment related objects to increment the gameplay. For example, a 3 dimensional Eater of Souls floating around the player.

I wont be using this, but I really approve this. :)
 
I really hope this gets used, i have seen a few library mods that look like they have great potential, but then just never get used, such as the Subworld Library, i would love to see new dimensions and connected worlds in Terraria, but that library isn't used by anything yet, so there is absolutely no reason to download it other than using it to make mods, which i really hope happens.
 
Back
Top Bottom