armory3d / armorai

ML models for ArmorLab
Other
13 stars 0 forks source link

What do you do with models to make them work? #2

Closed 0x4E69676874466F78 closed 1 year ago

0x4E69676874466F78 commented 1 year ago

Greetings. https://github.com/armory3d/armorlab/blob/a3fbea595478637de59efac7f7f38c746e57a08f/Sources/arm/node/brush/PhotoToPBRNode.hx#L63-L76 Why is this needed? Is this an "obfuscation"? Please, tell me. I wanted to use your models in complex chaiNNer nodes, but it seems impossible because of this.

https://github.com/joeyballentine/chaiNNer/issues/808

luboslenco commented 1 year ago

Hi, the model is run at 2176x2176 resolution, then the borders are cut to form a 2048x2048 texture.

0x4E69676874466F78 commented 1 year ago

@luboslenco I understand that, but what happens to the colors there?

0x4E69676874466F78 commented 1 year ago

You first do something with colors, then send it to the model and then return the colors back.

0x4E69676874466F78 commented 1 year ago

изображение

0x4E69676874466F78 commented 1 year ago

Is this a translation into linear space?

0x4E69676874466F78 commented 1 year ago

Yes. I got it.