[DiscordArchive] what are you even trying to do ?
[DiscordArchive] what are you even trying to do ?
Archived author: A2 • Posted: 2021-02-26T05:27:39.478000+00:00
Original source
what are you even trying to do ?
Archived author: Go'Vic.Ϻέψ • Posted: 2021-02-26T05:28:44.013000+00:00
Original source
Its related to Chunk moving. I need to fix the mtex on the destination adt because the chunks look to them for texture layers.
Archived author: A2 • Posted: 2021-02-26T05:28:58.039000+00:00
Original source
ah that
Archived author: Go'Vic.Ϻέψ • Posted: 2021-02-26T05:35:19.144000+00:00
Original source
I might try moving to a language I am more comfortable with.
Archived author: Go'Vic.Ϻέψ • Posted: 2021-02-26T05:35:19.543000+00:00
Original source
https://d0cs4vage.blogspot.com/2015/08/p...lates.html
[Embed: PFP - A Python Interpreter for 010 Templates]
I am excited to finally announce a project I have been slowly working on for at least five months now: pfp ( docs ). PFP stands for P y...
https://d0cs4vage.blogspot.com/2015/08/p...lates.html
Archived author: Go'Vic.Ϻέψ • Posted: 2021-02-26T05:36:24.644000+00:00
Original source
^ that looks interesting to me
Archived author: schlumpf • Posted: 2021-02-26T07:53:22.312000+00:00
Original source
I still don’t see how you need an “item size” for mtex for that. MTEX is just a blob. For your purposes you need
- determine target ADT texture count
- iterate source chunk layers, assemble list of texture *strings*, not indices, assemble mapping of layer to list of strings
You now have MCLY+MTEX as if your ADT had a single chunk.
- put chunk into target ADT.
- append all textures you found before to target MTEX
- iterate target MCLY and set texture ids to “previous target ADT texture count”+”index in the list of appended strings”