Jump to content

Recommended Posts

Posted

Since it's taking me longer than I had anticipated to get the actual mod part of this thing done (blocks/items/interface), I thought I'd go ahead and post this up here for people to diddle with in the mean time. All of the actual rendering code (including VBO usage) is in there, and you can see some of how it fits together. (It's not set in stone, obviously, but this as-is does work perfectly, so any changes in the future would just be improvements.)

Known issues: Lighting still isn't perfect, nor will it be, because Minecraft's default "lighting" is a combination of actual GL lighting, fake lighting done by rendering shadow textures and using color multipliers, a lightmap overlay for some but not all objects, weird and inconsistent usage of normals, and so forth. Also, the SmoothModelBuilder class needs to be reimplemented (the version with coalesced normals and texture coordinates per vertex, the counterpart to RoughModelBuilder which uses facet normals and disjoint texture coordinates), but the old code file with the algorithm in it is there to look at. Not included is the collision-detection (both AABB and pixel-perfect) which I have spread across several test files and isn't in a state suitable for public consumption at the moment.

Currently based on Minecraft 1.3.2 with Forge 4.1.4.298.

http://j-a-k-j.com/ImaginariumWIP.zip

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...