Y-Phil opened this issue on Jan 01, 2024 ยท 11 posts
Y-Phil posted Mon, 01 January 2024 at 6:46 PM
I don't know it this could be useful for someone, but for my needs, I've written a tool that lists all bitmaps used by a figure, sorted by material list.
Actually, I don't check supplementary layer but I could add this.
It scans the currently selected object (prop or figure), check for the actual renderer and starts investigating from there.
It's currently in my toolbox but if someone finds this useful, I could easily create an independent tool.
Currently tested on Poser 13, but I think that it should be easily doable to make it Poser11 compatible.
๐ซ๐ฝ๐๐
(ใฃโโกโ)ใฃ
๐ฟ Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
๐ฟ Mac Mini M2, Sequoia 15.2, 16GB, 500GB SSD
๐ฟ Nas 10TB
๐ฟ Poser 13 and soon 14 โค๏ธ
hborre posted Mon, 01 January 2024 at 11:21 PM
That might be practical. It sure saves time hunting and picking for each material zone map.
Y-Phil posted Tue, 02 January 2024 at 10:02 AM
Ok, here is a version that runs on Poser12 and Poser13.
Even though I have avoided any Python3-specific instructions, I have not been able to instantiate the HyperTreeList control, something's making the original code crash on Poser11.
I could have used a simple list but the fact that it's hierarchically presented is one of the key point.
The window may remain opened, and pushed on a side of the screen. Each time the selection is done on another object and the window is once again activated, it is refreshed. Once the window is closed using its upper-right cross, it maintains its position and size for the next time.
Furthermore, that are probably a few useless instructions but consider that it's a small part (260 lines) among a rather bigger Python script (more than 3130 lines)
๐ซ๐ฝ๐๐
(ใฃโโกโ)ใฃ
๐ฟ Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
๐ฟ Mac Mini M2, Sequoia 15.2, 16GB, 500GB SSD
๐ฟ Nas 10TB
๐ฟ Poser 13 and soon 14 โค๏ธ
jancory posted Sun, 14 January 2024 at 8:14 AM
script works great! this is super useful. is there a way to copy the list to text?
lost in the wilderness
Poser 13, Poser11, Win7Pro 64, now with 24GB ram
ooh! i guess i can add my new render(only) machine! Win11, I7, RTX 3060 12GB
Y-Phil posted Sun, 14 January 2024 at 2:22 PM
Here you are...
The insane part that the HyperTreeList control, that allows the hierarchical presentation, is hard-coded to occupy the whole area of the dialog's windows. That's impossible to add a control up, or down, or on a side. Same for the Notebook control.
So that I had to add a notebook with two tabs, the second displaying the "Export" button, and more controls if you have other ideas!
๐ซ๐ฝ๐๐
(ใฃโโกโ)ใฃ
๐ฟ Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
๐ฟ Mac Mini M2, Sequoia 15.2, 16GB, 500GB SSD
๐ฟ Nas 10TB
๐ฟ Poser 13 and soon 14 โค๏ธ
jancory posted Sun, 14 January 2024 at 2:28 PM
thank you!
also: what does "supplementary layer" mean? just curious
lost in the wilderness
Poser 13, Poser11, Win7Pro 64, now with 24GB ram
ooh! i guess i can add my new render(only) machine! Win11, I7, RTX 3060 12GB
Y-Phil posted Sun, 14 January 2024 at 4:17 PM
jancory posted at 2:28 PM Sun, 14 January 2024 - #4480366
This is because Poser can manage more than one layer, and actually my script only checks the layer named "Base".thank you!
also: what does "supplementary layer" mean? just curious
"Base layer": only typical bitmaps:
Whereas the "second layer" is using its own bitmap
๐ซ๐ฝ๐๐
(ใฃโโกโ)ใฃ
๐ฟ Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
๐ฟ Mac Mini M2, Sequoia 15.2, 16GB, 500GB SSD
๐ฟ Nas 10TB
๐ฟ Poser 13 and soon 14 โค๏ธ
jancory posted Sun, 14 January 2024 at 4:35 PM
oh yes PLEASE add layers to the options if you can. i make & use them constantly. new script version works great.
lost in the wilderness
Poser 13, Poser11, Win7Pro 64, now with 24GB ram
ooh! i guess i can add my new render(only) machine! Win11, I7, RTX 3060 12GB
Y-Phil posted Mon, 15 January 2024 at 12:21 PM
Here is a version that exports the bitmaps used, by layer. The layers that exists but without using any bitmap are simply ignored.
The export is done accordingly.
๐ซ๐ฝ๐๐
(ใฃโโกโ)ใฃ
๐ฟ Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
๐ฟ Mac Mini M2, Sequoia 15.2, 16GB, 500GB SSD
๐ฟ Nas 10TB
๐ฟ Poser 13 and soon 14 โค๏ธ
jancory posted Mon, 15 January 2024 at 12:42 PM
perfect. thanks again.
lost in the wilderness
Poser 13, Poser11, Win7Pro 64, now with 24GB ram
ooh! i guess i can add my new render(only) machine! Win11, I7, RTX 3060 12GB
Y-Phil posted Mon, 15 January 2024 at 12:43 PM
jancory posted at 12:42 PM Mon, 15 January 2024 - #4480403
You're welcomeperfect. thanks again.
๐ซ๐ฝ๐๐
(ใฃโโกโ)ใฃ
๐ฟ Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
๐ฟ Mac Mini M2, Sequoia 15.2, 16GB, 500GB SSD
๐ฟ Nas 10TB
๐ฟ Poser 13 and soon 14 โค๏ธ