RainWarrior
b8dd4c54e1
Fixed implementation if IRetexturableModel in ItemLayerModel. Closes #2244 .
2016-01-04 14:21:31 +03:00
RainWarrior
f562579054
Don't crash on exception during loading of item variants from blockstate jsons.
2016-01-04 14:08:52 +03:00
RainWarrior
856a9c3cdd
Fixed perspective transformation handling for fluid models, changed inventory fluid model to use unrotated still texture.
2016-01-04 13:54:45 +03:00
RainWarrior
826b1d20f8
Fixed invalid flow vector caching of still fluids.
2016-01-04 12:48:10 +03:00
RainWarrior
686b32bfd0
Fixed random offset not working properly for flatly-lit models.
2016-01-04 12:04:30 +03:00
LexManos
e0f0273c5e
Fix J6 compile issue with ModelFluid.
2015-12-31 14:40:32 -08:00
RainWarrior
23a2316157
Fixed wrong import.
2015-12-30 16:14:27 +03:00
RainWarrior
10658f682e
Fixed broken leaky caching of OBJ models.
2015-12-30 16:08:08 +03:00
RainWarrior
33b1f8f30f
Caching of fluid models. Fixes #2145 .
2015-12-30 13:31:36 +03:00
RainWarrior
09e9a181ee
Fixed color disabling not working for forge pipeline. Closes #2286 .
2015-12-30 11:22:22 +03:00
RainWarrior
56eba05237
1.8.9 update
2015-12-30 07:15:03 +03:00
Bernhard Bonigl
509cc79112
Fix bucket replacement not loading the bucket model by itself if replacing buckets.
...
This happens when no other mod that uses the bucket model is present.
Also added a simple method for registering the bucket model, should give
modders an idea on how to use the general model.
2015-12-29 13:31:35 +01:00
RainWarrior
1cd0bf9ee4
Fixed random block position offset not applying correctly.
2015-12-25 09:31:32 +03:00
RainWarrior
097c0c6130
Added an ability to register custom item variants, not ending with "#inventory". Should allow grouping multiple item models into 1 blockstate json.
2015-12-24 06:06:38 +03:00
Fry
c7790f7b35
Merge pull request #2282 from bonii-xx/dynbucket
...
Add a dynamic bucket model that displays the animated liquid contained
2015-12-22 00:26:25 +03:00
Bernhard Bonigl
4f6784b733
Add a dynamic bucket model that displays the animated liquid contained
...
Has a config option (default off) that replaces the vanilla buckets with the forge bucket model
New original bucket textures from mr_hazard
2015-12-21 22:22:40 +01:00
RainWarrior
56f35f4401
Fixed NPE caused by accessing undefined layer in MultiLayerModel.
2015-12-20 22:16:17 +03:00
RainWarrior
1dcc9abab2
Fix dependency resolution for models with custom data/textures.
2015-12-17 04:41:54 +03:00
RainWarrior
80ba13be89
LightUtil.pack and .unpack now work correctly with unpacked arrays of size <4.
2015-12-15 23:31:09 +03:00
RainWarrior
d67c57827a
Delayed quad list resolution in MultiModel, fixes NPE in MultiLayerModel.
2015-12-15 23:03:09 +03:00
RainWarrior
f0ae51bb34
Forge pipeline will now take original model lightmap into account, if present.
2015-12-15 22:27:01 +03:00
RainWarrior
7c4d643de2
Fixed java6 errors in previous commit.
2015-12-15 22:27:01 +03:00
RainWarrior
86c09722a0
IModel can now depend on a variant definition (ModelResourceLocation); added MultiLayerModel - simple model that'll render correctly in multiple layers + example of using it.
2015-12-15 21:49:19 +03:00
RainWarrior
d6ee373e87
Preparations for the Animation system.
...
Changes to the Model API - IModelState now works with Optional. Handling of parts of the model is not optional, and coordinate space/result interpretation is up to the caller. IModel doesn't extend IModelPart by default anymore; MapModelState uses composition to achieve previous functionality, IModelPart implementations are disjoint now. Updated perspective handing to the new API, removed IPerspectiveState (MapModelState is now the same thing). Perspective transforms for the default fluid model.
2015-12-14 23:27:27 +03:00
RainWarrior
724405d6d8
Workaround for https://github.com/google/guava/issues/738
2015-12-09 14:56:01 +03:00
RainWarrior
3254e2acc6
Fixed orientations of generated item faces. Fixes #2215 .
2015-12-08 12:26:02 +03:00
LexManos
5549b06f96
Compiler warnings pass, undeprecated SplashProgress related stuff.
2015-11-26 19:38:21 -08:00
cpw
68dfcccd57
Update mappings to 20151122.
2015-11-23 23:18:52 -05:00
cpw
231ec7eaea
Merge remote-tracking branch 'origin/noci-1.8.8' into 1.8.8
2015-11-23 22:08:42 -05:00
RainWarrior
9815d729b5
Fixed NPE is B3D loader caused by the missing vertex normal; updated the example chest model - it's now has 2 meshes; Updated ModelAnimationDebug - it now uses the new chest model, renders the base with the static world renderer, and only the lid with the TESR.
2015-11-23 10:12:01 +03:00
RainWarrior
82d83feab1
Fixed forge lighting working incorrectly outside 0x1000000 coordinates.
2015-11-22 02:11:08 +03:00
RainWarrior
c4742aadbc
Removed face doubles from item models.
2015-11-21 08:09:38 +03:00
RainWarrior
62d0f01236
Fix holes in generated item models.
2015-11-21 07:45:56 +03:00
RainWarrior
07ccf667e4
B3D loader: removed 2 redundand null checks, changed constructor args to final to fix (java6?) inner arg error.
2015-11-19 23:40:44 +03:00
RainWarrior
13d7530e43
Implemented interpolation of TRSR transformations; B3D: added interpolation capabilities to B3DState, animated TESR example in ModelAnimationTest (pure TESR right now, no separation inside the example model between the static and dynamic parts right now).
2015-11-16 06:51:39 +03:00
RainWarrior
c5ee4e6451
Model stuff: updated to generics, fixed various warnings, added handling of new perspective types.
2015-11-13 17:23:37 +03:00
RainWarrior
e833ee81fb
Updated various rendering-related patches and classes to 1.8.8; forge still uses vecmath.
2015-11-10 00:03:39 +03:00
RainWarrior
b6664c76c5
Fixed anaglyph transformation not being applied in the forge lighting fully.
2015-11-08 15:11:22 +03:00
RainWarrior
cbe2766c0a
Provide ItemCameraTransforms for vanilla models when possible.
2015-11-08 09:37:33 +03:00
RainWarrior
8a11ad7a7a
OBJ loader: reworked texture resolution: keys now have to start with #, like every other model loader; models without explicit library now work, remapping is possible by using the key "#OBJModel.Default.Texture.Name"; in addition to remapping by material name, remapping by texture name works too, like in other model formats.
2015-11-07 20:36:57 +03:00
RainWarrior
3d03461a52
Performace fix for item rendering.
2015-11-07 12:58:23 +03:00
RainWarrior
c3141b6ed6
Fixed block color multiplier not being cached properly in the forge renderer, performance improvement.
2015-11-03 16:00:44 +03:00
RainWarrior
cf8972262a
OBJ model: use original vertex material when defining face.
2015-11-03 01:53:58 +03:00
RainWarrior
51653fb9b7
Obj loader: fix vertices shared between faces having the same attributed (uvs/normals).
2015-10-31 21:19:35 +03:00
RainWarrior
12e6fe9db7
OBJ loader: fixed another whitespace-related issue; removed unused "modifyUVs" property for now; added the "flip-v" property to switch between OpenGL-style and DirextX-style model UVs; fixed normals - they are now correct in-world, still a bit strange for the items; fixed normals a little bit for B3D models too.
2015-10-29 22:50:45 +03:00
RainWarrior
c3b15e3f6c
Fix color multiplier applied incorrectly for items.
2015-10-29 20:27:26 +03:00
Fry
887f3bf31d
Merge pull request #2154 from shadekiller666/OBJ_Loader
...
OBJLoader Update: Fix for normal generation, whitespace handling, and UVs outside 0-1 range
2015-10-29 13:53:09 +03:00
RainWarrior
a9d5d0097d
Fix for the previous commit - transparent blocks were handled improperly.
2015-10-29 13:32:43 +03:00
RainWarrior
3d972a11a8
Changed how the forge lighting system handles holey models for opaque blocks; it now mimics vanilla behaviour, which allows light to pass through them.
2015-10-29 13:14:35 +03:00
shadekiller666
7a20543d5f
OBJLoader: Quick bandages to support/fix the new way that face/vertex normals are calculated, a very quick bandage to patch TextureCoordinates for the time being, and the Parser now uses a Pattern to split strings on whitespace instead of only splitting on " ".
2015-10-29 02:21:28 -07:00