Mekanism

Mekanism

111M Downloads

Copied chisel code is out of date - Could possibly use API now?

tterrag1098 opened this issue ยท 6 comments

commented

We have improved the code in both CTM and RenderBlocksCTM to allow for more flexibility with blocks.

For instance the CTM now supports non-full block bounds, such as slabs. It will properly adjust the UVs to match these bounds.

On the whole the code is also much cleaner.

Both of these classes are now included in the API download of chisel, though I'm not sure what you want to do with that info :P

commented

Thanks so much! I'll take a look later tonight :)

commented

I had to make significant changes to the system they use for matching blocks that should CTM together, so that it's possible to add several lists of metadata values with different block instances to a CTM group. The salination blocks for example are split across 2 block instances, so I think they need 2 meta values from BasicBlock and 1 from BasicBlock2 to match, so the CTM works properly

commented

@unpairedbracket, did you make any changes to the chisel code you adopted? I don't want to overwrite anything.

commented

Okay. CTM is working fine for the most part right now, I think I'll leave things be. If I ever run into any issues that are fixed in the new Chisel additions I'll see about doing a bit of refactoring and updating.

commented

If it hasn't already been done by then, I'll look at updating the CTM code to be in line with recent chisel upstream when I finish the set of exams I'm working towards currently.