https://www.posetteforever.com/viewtopic.php?f=68&t=4061&p=45702#p45702
-----------------------------------
Nik
Wednesday, 09 February 2022, 04:37 PM

Coaxing A Ported PMX Texture...
-----------------------------------
There are many, many fun models in PMX format, meant for MMD engine and mostly free. Along with prior PMD, and props' .X, MMD began as a way to pose and animate low-ish poly Anime figures, have them prance, dance and lip-synch. 

Then, people began 'porting' console game scenes / sets etc, and the flood-gates opened...

Poser cannot read PMX, PMD or X files as-is. Happily, the free 'PMX Editor', found on DA, can export those to OBJ+MTL. There are, of course, a bunch of 'gotchas'.

MMD files for any model or texture flagged as 'TDA' may [b][i]not [/i][/b]be 'ported', as copyright owner found his work rudely pirated across 'Second Life', swung a [b][i]very broad[/i][/b] legal hammer: Do NOT go there...

MMD axis convention is reversed L/R so, if that matters, you must 'mirror' prior to export from PMX Editor, or at import to Poser.

MMD often uses 'Alpha' channel of PNG or TGA textures as a transparency mask. As yet, Poser does not seem to recognise such, 'out of the box'. You must extract or craft, hand apply.

PMX files seem to contain equivalent of Poser's PP2 / CR2 and MAT files, are able to scale and position textures. Unfortunately, this information does not seem to be exported to 'basic' MTL.

Which is what's happened here. But, after some [strike]hair-tearing[/strike] [i]iteration[/i], I found the 'magic' switch in Poser's 'Advanced' materials to correct it...

This free 'Sky Island' is the 'Isle of Songs', ported from Nintendo, 'Skyward Song'.
https://www.deviantart.com/julehyrule/art/Isle-of-Songs-MMD-DL-899413113

There's a 'missing' texture, but it is not important, as left-over call when original re-named.

As PMX file disagreed with my ($$) 3DOC, I used the PMX Editor route. OBJ imported to Poser at 100% of original scale as a very big object, very high in the sky. After several attempt to find it, I deleted and re-imported with 'place on ground' set. Took a while, but I found that ~3% scale looked good.

One glance at preview showed that eg rails and ivy needed transparency masks. Their TGA textures held such in the Alpha channel. I used free Irfan View to extract, export...

Then I came to the two plinths with 'owlish' faces. They had their texture, auto-applied by the MTL. But, they showed as black. I tried mirroring texture etc, only got white or streaky grays. Finally, I went through the texture's many 'Advanced', tried them methodically.

Finally solved by setting 'V-Scale' to -1.

{ Shrug... }

As you can see from transparency mapped 'plant' in foreground, there's much still to do. But, hey, I've learned a new trick...

Here's how it began...
 [img]https://www.posetteforever.com/files/posted_images/680/combo101.jpg[/img] 

This is the texture, as supplied (converted to JPG) and it does look like 'Kilroy Was Here'.
 [img]https://www.posetteforever.com/files/posted_images/680/islandsong_bardstopper.jpg[/img] 

And here's the 'solved', at least for this...

 [img]https://www.posetteforever.com/files/posted_images/680/combo102.jpg[/img]


