Sat, Sep 7, 10:03 PM CDT

Renderosity Forums / MarketPlace Showcase



Welcome to the MarketPlace Showcase Forum

Forum Moderators: Staff

MarketPlace Showcase F.A.Q (Last Updated: 2024 Sep 07 5:21 pm)



Welcome to the MarketPlace Showcase Forum. The Showcase Forum and Gallery are intended for all commercial related postings by active Renderosity MarketPlace Vendors only. This is a highlight area where our membership is invited to review in greater detail the various art products, software and resource site subscriptions available for purchase in the Renderosity MarketPlace.


 



Subject: DUF Prop Converter Python Script for Poser 12


Ken1171_Designs ( ) posted Fri, 14 January 2022 at 8:42 PM · edited Sat, 07 September 2024 at 6:53 PM
Online Now!

~DUF Prop Converter~

Since DSON has stopped working somewhere on late Poser 11 times, I could no longer load props and hair from DAZ Studio 4, and that had become a burden to me, limiting the assets I could use in Poser. So I decided to bite the bullet and research how much work would it to be to convert:

  • DSF Geometries to OBJ format.
  • DUF Props/Figures to Poser PP2 format.
  • DUF Material presets to Poser MC6 format.

I have split the project into these 3 modules, each with their own challenges. When I've got each of them working, I had them all combined into a single script - the DUF Prop Converter.

nXAFZQXzAG82dewjNN47tfHN2HxTQYPKlQmW6KZf.jpg

Here are the main features:


0lfEEMVzDtzFhmAVzmzYI8NsnHott0MpKdKFxDhL.jpg


The script operates in 3 different modes:

  1. Load DUF Prop: Loads a DUF prop or figure into your Poser scene as a PP2 prop.
  2. Save DUF Prop: Converts a DUF Prop or figure to PP2 format, and saves it directly to the selected Poser runtime as a prop. Includes thumbnail. The DSF geometry is converted to OBJ, stored at the Geometries folder, and the PP2 is linked to it. All texture files are linked back to their original locations in the DAZ Studio Runtime folder to save disk space and avoid duplications. This requires you to link the DAZ Studio Runtime folder as an external runtime in Poser, which only needs to be done once.
  3. Load DUF Material: Once you have your prop loaded into Poser, you can now drag & drop DUF Material presets over the drop area in the script to apply them directly in Poser using this mode. Materials are incompatible between Poser and DS, so the conversion happens at texture map level.

The operation is very simple, using drag & drop. Just locate the desired prop or figure using your file browser, and drop it over the drop area. In "Load DUF Prop" mode, this will convert and load the prop or figure to your Poser scene, with option to Auto-Parent it to the currently selected actor. For example, if you select the figure's head, enable Auto-Parent on the script, and drop a hair piece over it, the hair will load into Poser already parented to the figure's head. The DSF geometry is converted to OBJ (adjusted to Poser scale), and the DUF prop or figure is converted to PP2 format. Both files are placed into a specific folder (see manual for more details), and can be moved elsewhere. In this mode, no PNG thumbnail is generated, and the OBJ needs to be in the same folder as the PP2 file to work.


hnG1BSu5yQV2VYWGSUenYk899KYxjgQjxcgLf3Xz.jpg


When the "Save DUF Prop" mode is selected, dragging a DUF prop or figure will prompt you for a location in your library to save it as a PP2 prop file. This will convert the DSF geometry to OBJ (adjusted to Poser scale), and store it at the Geometries folder in your selected Poser runtime, convert the DUF prop into PP2, and store it at your selected location in the Poser library, and finally copy the PNG thumbnail to that location, matching the Poser name conventions. When doing this, you have 2 extra options. You can Auto-Load the prop to your Poser scene, and also optionally Auto-Parent it to the currently selected actor. All this happens with a single drag & drop action, so everything happens automatically.


AJirtaFezKPb97mmzNtTJKYUmqqUKGfKpLcBuPWH.jpg


The last operation mode is "Load DUF Material". In this mode, first select the prop in Poser, and then drag & drop a DUF Material preset, and it will be converted to Poser MC6 format, and then applied to the selected prop in your scene. As we know, DS4 materials are incompatible with Poser, so the conversion only happens at texture maps level. The generated MC6 file is placed at a specific folder (see manual for more details), and can be moved elsewhere, like into your Poser Materials library. Texture maps are linked back to their original locations in the DS4 Runtime folders to avoid duplications and save disk space. For this to work, you first need to link the DS4 Runtime folder as an external runtime in Poser, so all DS textures can be shared with Poser. See manual for more details on this.

mfeXiyPQGetMDZU9Lcwis6rKYPy3PaMc1vrEK9xE.jpg


With a tiny interface, and simple drag & drop operation, this script performs complex file conversions, automating every part of the process. It is now finally possible to bring all those props and hair from DAZ Studio 4 to Poser, to include material presets. You do NOT need DAZ Studio 4 to be installed to use this script, and it does NOT use any parts of DSON to function. Everything was coded from scratch, and is self-sufficient to perform all operations on its own.

If you have enjoyed converting DUF poses to Poser with my last script, this one will allow bringing even more contents from DAZ Studio 4 to your Poser scenes with very little effort. As opposed to DSON, every prop and material is converted to native Poser format, so they don't affect Poser performance. However, props or figures with heavy (high-poly) geometry may take a few minutes to convert to OBJ, so please be patient. For regular props and hair, the process takes only a couple of seconds, from conversion to loading them into your scene, or storing them to your library.

The script has been submitted to Renderosity, and is awaiting QAV. Depending how fast this goes, the script might be available at my store as soon as early next week. In the meanwhile, I will make a video demonstration to show all you can do with it, and how easy it is to use it.

 



My Store at Renderosity

My Store at PoserSoftware

Characters, Body Sculpts, Morph Corrections, Outfits, Python Scripts, Universal Heads, and Videogames!


Miss B ( ) posted Fri, 14 January 2022 at 9:57 PM

I'll be keeping an eye on this one Ken.  😀

_______________

OK . . . Where's my chocolate?

Butterfly Dezignz


Ken1171_Designs ( ) posted Fri, 14 January 2022 at 10:03 PM
Online Now!

Thanks, Miss B! ^___^



My Store at Renderosity

My Store at PoserSoftware

Characters, Body Sculpts, Morph Corrections, Outfits, Python Scripts, Universal Heads, and Videogames!


RAMWorks ( ) posted Fri, 14 January 2022 at 11:54 PM

Oh, this is fabulous.  Nice  going Ken!  :-) 

---Wolff On The Prowl---

My Store is HERE

My Freebies are HERE  


Ken1171_Designs ( ) posted Sat, 15 January 2022 at 1:31 AM
Online Now!

Thanks Rich! I am having a lot of fun with it, and I hope people find it as useful as it has been to me. ^____^



My Store at Renderosity

My Store at PoserSoftware

Characters, Body Sculpts, Morph Corrections, Outfits, Python Scripts, Universal Heads, and Videogames!


Ken1171_Designs ( ) posted Sat, 15 January 2022 at 4:03 PM · edited Sat, 15 January 2022 at 4:04 PM
Online Now!

So HERE is the video demonstration I have promised, showing how to use the script with real world-examples, explaining all the operation modes and extra options. Just click this LINK.



My Store at Renderosity

My Store at PoserSoftware

Characters, Body Sculpts, Morph Corrections, Outfits, Python Scripts, Universal Heads, and Videogames!


bwldrd ( ) posted Sat, 15 January 2022 at 7:01 PM
Online Now!

Looking forward to all of these :)


--------------------------------------------------------------------------------

Consider me insane if you wish, but is your reality any better?


Ken1171_Designs ( ) posted Mon, 17 January 2022 at 5:02 PM
Online Now!

Renderosity QAV has approved the product, and it is now on its way to hit the store. Any time now. :)



My Store at Renderosity

My Store at PoserSoftware

Characters, Body Sculpts, Morph Corrections, Outfits, Python Scripts, Universal Heads, and Videogames!


Miss B ( ) posted Mon, 17 January 2022 at 5:22 PM


Nplwx6i0bIxl7gD2Od7fEFV9NsUY0VtRCOlIpVb7.png  Good news Ken.

_______________

OK . . . Where's my chocolate?

Butterfly Dezignz


Ken1171_Designs ( ) posted Mon, 17 January 2022 at 6:26 PM
Online Now!

Good news! The script is now available here ---> LINK.



My Store at Renderosity

My Store at PoserSoftware

Characters, Body Sculpts, Morph Corrections, Outfits, Python Scripts, Universal Heads, and Videogames!


Miss B ( ) posted Mon, 17 January 2022 at 8:19 PM

That didn't take long at all.  Er4WoVqLNnlipmvTNIziapUOeMdSFakUNpSozioe.png

_______________

OK . . . Where's my chocolate?

Butterfly Dezignz


RAMWorks ( ) posted Tue, 18 January 2022 at 9:18 AM

In my cart! 


---Wolff On The Prowl---

My Store is HERE

My Freebies are HERE  


VedaDalsette ( ) posted Tue, 18 January 2022 at 10:58 AM

Wow! Spectacular!



W11,Intel i9-14900KF @ 3.20GHz, 64.0 GB RAM, 64-bit, GeForce GTX 4070 Ti SUPER, 16GB. 

Old lady hobbyist.

All visual art or fiction is "playing with dolls."


VedaDalsette ( ) posted Thu, 03 March 2022 at 11:38 AM

I hope an update will include morphs. Also, any chance an update will allow for the choice between PoserSurface root node and PhysicalSurface root node? And if the latter, mat joins of it to any of the prop's existing PBR textures?



W11,Intel i9-14900KF @ 3.20GHz, 64.0 GB RAM, 64-bit, GeForce GTX 4070 Ti SUPER, 16GB. 

Old lady hobbyist.

All visual art or fiction is "playing with dolls."


Ken1171_Designs ( ) posted Fri, 04 March 2022 at 5:52 PM
Online Now!

@VedaDalsette Thanks for the suggestions! I would like to add support for morphs as well, but first I have to find out how. That will need some research. A DUF morph loader could become a product on its own right. The current material converter currently only supports 3Delight materials. If a PBR material is used, some of its maps will be lost in translation. I will look into this to see if there is a way to support both 3DL and Iray materials. In either cases, the script can only build a basic shader we can use as a starting point. Considering DS materials are utterly incompatible with Poser, that's better than nothing. :)



My Store at Renderosity

My Store at PoserSoftware

Characters, Body Sculpts, Morph Corrections, Outfits, Python Scripts, Universal Heads, and Videogames!


VedaDalsette ( ) posted Sat, 05 March 2022 at 8:39 AM

Thanks, Ken. I only suggested the PBR root, because in some of the products I used your converter on, there were lots of PBR texture maps that came with the products in the Daz runtime folder. I wouldn't know if this is the case with most Daz products, but, IIRC (I'm on another computer right now), they were there in FG Messy Apartment, Chinatown, Nuclear Shelter, and Old Manhattan Apartment. It was really helpful that your texture maps were joined already at diffuse, but I still had to go into each mat and change the root nodes before adding the other texture maps.

Good luck with the morph converter research!



W11,Intel i9-14900KF @ 3.20GHz, 64.0 GB RAM, 64-bit, GeForce GTX 4070 Ti SUPER, 16GB. 

Old lady hobbyist.

All visual art or fiction is "playing with dolls."


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.