READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Search found 4 matches

by dgl
Thu Apr 04, 2019 3:55 am
Forum: Code Talk
Topic: Noesis Encode Png file?
Replies: 0
Views: 160

Noesis Encode Png file?

I'm writing an exporter for Noesis for a model format that uses internal png files to store textures. class NoeTexture: def __init__(self, name, width, height, pixelData, pixelType = noesis.NOESISTEX_RGBA32): self.name = name self.width = width self.height = height self.pixelData = pixelData self.pi...
by dgl
Sat Mar 30, 2019 4:41 am
Forum: Code Talk
Topic: Noesis Create NoeBone from Pos, Rot, Scl?
Replies: 2
Views: 195

Re: Noesis Create NoeBone from Pos, Rot, Scl?

Thanks for the reply. From reading through the source code, I was starting to suspect that was the expected approach. Suspicions confirmed, but the implementation turned out pretty simple. self.bs.seek(self.header['boneOffset'], NOESEEK_ABS) for i in range (0, self.header['boneCount']): id = self.bs...
by dgl
Fri Mar 29, 2019 4:42 am
Forum: Code Talk
Topic: Noesis Create NoeBone from Pos, Rot, Scl?
Replies: 2
Views: 195

Noesis Create NoeBone from Pos, Rot, Scl?

I have a bone format that is stored as position, rotation, and scale as vectors. I'm looking over the NoeBone and NoeMat functions, but I don't see an clear way to create a NoeBone from these transformations. self.bs.seek(self.header['boneOffset'], NOESEEK_ABS) for i in range (0, self.header['boneCo...
by dgl
Thu Mar 28, 2019 6:38 am
Forum: Code Talk
Topic: Setting NoeTexture Flags?
Replies: 0
Views: 121

Setting NoeTexture Flags?

I'm playing around with a file format that uses texture wrapping, specifically mirrored mapping (and the occasional y-flipping). Can these values be set with noe texture? I noticed there are flags in the NoeTexture file type, but I can't figure out which values for what flag or what they would do. #...