Invisible OBJs... »  Show posts from    to     

♥ PosetteForever ♥


Texture knitting - Invisible OBJs...



Nik [ Friday, 11 February 2022, 05:13 PM ]
Post subject: Invisible OBJs...
I collect fun models from a variety of sources. Some are 'Poser-friendly' formats, some must be variously ported, wrangled, re-textured... <br /> <br /> I'm used to 'rigged' FBX figures etc giving me a world of woes. Though there are honourable exceptions, FBX may import as 'many' sub-rigs, often intractable. They may 'explode'. They may even be 'invisible', have a shadow but no 'body'. <br /> <br /> I never expected to meet 'invisible' OBJs. Hey, they're a 'classic' format: <b><i>What could possibly go wrong ??</i></b> <br /> <br /> I'd pulled in a very nice DA freebie, a port from decades-old PSP game. <br /> <br /> <a class="post-url" href="https://www.deviantart.com/quake332/art/The-Lord-of-the-Rings-Tactics-Weathertop-906486860" target="_blank">https://www.deviantart.com/quake332...ertop-906486860</a> <br /> <br /> Quake332 had used Ninjaripper to convert 'Weathertop' scene to OBJ+MTL, latter correctly calling PNG textures. I could see I'd have to extract several transparency masks from their alpha channels. Not a problem. Free Irfan View is your friend.... <br /> <br /> ($$) 3DOC correctly loaded and previewed mesh and textures, though could not grok the alpha channels. I could see where such were pasted onto 'flats'. Classic PropViewer32 correctly loaded and previewed mesh, un-textured, but with transparency masked by those alpha channels. So far, so good. <br /> <br /> I imported model to my PoserPro_11.3 at 'ground zero', 100% <b><i>original </i></b>scale. Couldn't find it. Scaled all the way up to 100k%, down to 0.001%. Still couldn't find it. <br /> <br /> Deleted, re-imported at 'ground zero', 100% <b><i>figure </i></b>scale. Couldn't find it. <br /> <br /> After scratching my head, I tried to open model in Windows' Paint 3D. Bloop !! "<b><i>Something went wrong.</i></b>" <br /> <br /> Windows' 3D Viewer was okay, as were Noesis and Open3D Viewer... <br /> <br /> Curious, I opened the OBJ in 'WordPad'. It was an unusual format, ~300 mini-OBJs concatenated. I've seen such in free RE 'Recreated' scene mega-ports by DE's prolific Richard Mandel, but his <b><i>work</i></b>... <br /> <br /> So, I opened the model in ($$) 3DOC, re-saved it. <br /> <br /> Now, it imported correctly to Poser, either as %original, or %figure. <br /> <br /> Downside was all those mini-OBJs each had their own material call. Although 'Diffuse' loaded, Poser did not recognise the Alpha channel. Fortunately, there were only a dozen or two skeletal trees, scrubby bushes and such, and it was easy to hand-apply their transparency maps. Thankfully, most were near start of material list, as Poser's UI does not work well beyond ~40. I nailed the last few by clicking their flagrant 'flats' in Material Room preview. <br /> <br /> <a href="https://www.posetteforever.com/files/posted_images/680/wtb1_0030b.jpg" target="_blank" title="Click to open image in new window"><img src="https://www.posetteforever.com/files/posted_images/680/wtb1_0030b.jpg" alt="Image" width="400" title="Image" /></a> <br /> <br /> Along the way, I saw how to paste transparency calls into MTL. For each alpha mapped texture call, eg <br /> <br /> map_Kd 000002248A4649B8.png <br /> <br /> I used Notepad to add... <br /> <br /> d 0 <br /> <br /> map_d 000002248A4649B8Alpha.jpg <br /> <br /> Please may we have much longer fields for 'image source' entry ?? <br /> <br /> A couple of days later, I had exactly the same 'No-See-Um' issues with another nice model, a Quake332 'Ninjaripper' port of dark, brooding forest... <br /> <br /> <a class="post-url" href="https://www.deviantart.com/quake332/art/Corpse-Party-Blood-Drive-Forest-904875803" target="_blank">https://www.deviantart.com/quake332...orest-904875803</a> <br /> <br /> Same solutions, albeit for only ~65 material calls, and looks good... <br /> <a href="https://www.posetteforever.com/files/posted_images/680/bcg1_0030.jpg" target="_blank" title="Click to open image in new window"><img src="https://www.posetteforever.com/files/posted_images/680/bcg1_0030.jpg" alt="Image" width="400" title="Image" /></a> <br /> <br /> I added a tiled forest pic as background image... <br /> - - <br /> <br /> I've no idea why Poser and Paint 3D 'fell over', as my initial suspicion that those ~315 sub-objects were to blame was falsified by the forest's ~65...
rico [ Sunday, 13 February 2022, 12:23 PM ]
Post subject: Re: Invisible OBJs...
quote Nik - <i><span style="color: blue;">"Curious, I opened the OBJ in 'WordPad'. It was an unusual format, ~300 mini-OBJs concatenated. I've seen such in free RE 'Recreated' scene mega-ports by DE's prolific Richard Mandel, but his work... <br /> <br /> So, I opened the model in ($$) 3DOC, re-saved it. <br /> <br /> Now, it imported correctly to Poser, either as %original, or %figure."</span></i> <br /> <br /> <img src="https://www.posetteforever.com/images/smiles/eusa_think.gif" alt="" /> Nik, did 3DOC combine all 300 mini OBJs, into 1 OBJ?
ahjah [ Sunday, 13 February 2022, 01:16 PM ]
Post subject: Re: Invisible OBJs...
All seems like quite a mess. Nik, did you try to export/ re-save the, as you said, properly loaded .obj from free PropViewer?
Nik [ Sunday, 13 February 2022, 04:08 PM ]
Post subject: Re: Invisible OBJs...
"...did 3DOC combine all 300 mini OBJs, into 1 OBJ?" <br /> <br /> Yes. But kept diffuse texture calls, all ~315 of them. <br /> <br /> " ...did you try to export/ re-save the, as you said, properly loaded .obj from free PropViewer?" <br /> <br /> No, as it loses <b><i>all </i></b>texture calls. For a dozen or so, no big deal. For ~<b><i>315</i></b>, uh... <br /> <br /> But, you got me thinking: <br /> Could I 'graft' PV's OBJ to my 'patched' MTL with the transparency calls ?? <br /> <br /> Yes, but... <br /> First, make a back-up copy of PV's exported OBJ. <br /> Using eg Wordpad (Notepad may choke) add line to start... <br /> mtllib WTPV.mtl <br /> Save over OBJ <br /> <br /> Unpack my attached zip file to same location. Has my Alpha masks pulled from model's PNG Alpha channels, plus my hacked MTL <br /> <br /> If you import PV's hacked OBJ at ~15%, you may need y-offset of ~ -20. <br /> <br /> There's an odd 'facet' due material #315 calling white, it may be to allow you to paste an inscription. I just zoomed in Material room until I got a clear click to select it, set it invisible...<a href="https://www.posetteforever.com/files/posted_images/680/wtpvtest.jpg" target="_blank" title="Click to open image in new window"><img src="https://www.posetteforever.com/files/posted_images/680/wtpvtest.jpg" alt="Image" width="400" title="Image" /></a>
Nik [ Sunday, 13 February 2022, 04:14 PM ]
Post subject: Re: Invisible OBJs...
I've not included DA's original RAR, as I could see no guidance for re-distribution, and is linked above.


Powered by Icy Phoenix based on phpBB