Page 1 of 1

CTM Question

Posted: 28 May 2015, 23:35
by Nhawks17
Heyo everyone. I have a quick question, CTM's how do they work exactly? What area of the CTM texture would be bound to which side (not even really a side) of a block. I am currently working on getting the Mekanism textures working with Mekanism 8.1.2 and the mod developer changed the texturing to use CTMs instead of separate texture files to form connected textures. Here is the original CTM and here is the block that is suppose to form connected textures

Re: CTM Question

Posted: 29 May 2015, 03:16
by HanFox
It's hard to say by just looking at a PNG. There's no standard way to do CTM because it requires a mod to use a custom render method (most of which are written by each different mod dev as they see fit).

I would guess it probably renders similarly to the Chisel ones though where the top left is the "centre" of a section (i.e. the middle of a 3x3), the top right is the "vertical" sections, the bottom left is the horizontal, and the bottom right are the "inner corners". Then there was also a separate block that was for outside corners.

The best way to actually find out how the texture works is to split it up in to eights with different colours in each section and see how it renders in game as you put it in different setups.

Here is how Chisel CTM works (this in no way may actually reflect Mekanism CTM though :P):
Image Image

Image

Re: CTM Question

Posted: 29 May 2015, 03:35
by Nhawks17
Oh awesome, I like the visuals. I'll test these to see how it works out with Mekanism. Thank you :)

Re: CTM Question

Posted: 31 May 2015, 04:30
by Caeldeth
At a glance, that looks to be the same way the artifice and mariculture CTM works too.

Re: CTM Question

Posted: 31 May 2015, 04:35
by Nhawks17
Cool I'll take a look at those when I work on the patch next, thanks :D

Re: CTM Question

Posted: 31 May 2015, 04:55
by Caeldeth
Nhawks17 wrote:Cool I'll take a look at those when I work on the patch next, thanks :D
Actually, just artifice - I thought mariculture, because making 48 textures for one block made me really wish it had CTM too :D