Thu, Nov 14, 12:04 AM CST

Renderosity Forums / DAZ|Studio



Welcome to the DAZ|Studio Forum

Forum Moderators: wheatpenny Forum Coordinators: Guardian_Angel_671, Daddyo3d

DAZ|Studio F.A.Q (Last Updated: 2024 Nov 13 1:29 pm)



Subject: Creating Props with dazstudio


binhotinto ( ) posted Tue, 28 July 2009 at 8:45 AM · edited Wed, 31 July 2024 at 2:37 PM

I'm having some problems creating a prop in dazstudio. I've done exacly as this tutorial says, but when I save the file in the props folder, It only creates the .daz and .png files, and when I go to dazstudio try the prop I can see the new folder but theres nothing inside of it :

I also did the same thing with poser, and creates the .png and .pp2 files, and if I cut this and paste in the daz porps folder, them I can open them in dazstudio, the strange thing is that i dont have a geometry file, can .pp2 files work without the geometry file? I've opened the .pp2 with notepad and the only files there are the textures.


mishamcm ( ) posted Tue, 28 July 2009 at 9:06 AM

You need ti save it in the DS-format content folder, not the Poser-format runtimelibraryprops folder.  DS script files (.ds/.dsb/.dsa/.dse) are only visible in the Poser-format runtime if there is a Poser file of the same name, in which case the script is run instead of the Poser file.  DS-format scene files (.daz) aren't visible in the Poser--format runtime at all.

If you want a prop which loads from the runtimelibraryprops folder in both DS and Poser formats, there's a trick to it.  You make sure the .daz and .pp2 files have the same filename, and put those two files (and the .png file for the .pp2, you don't need a separate .png for the DS file) along with a .ds file with the same name containing the following:

// Load a scene file instead of a Poser file

if ( getArguments().length != 0 ) {
    var sourceName = getArguments()[ 0 ];
    var periodPos = sourceName.findRev( "." );
    if ( periodPos != -1) {
   sourceName = sourceName.left( periodPos ) + ".daz";
   App.getContentMgr().openNativeFile( sourceName , true );
    }
}
=====================================
When you click on the .pp2 in DS (in DS3 there'll be a scroll in the upper left corner of the icon to let you know there's a .ds file there), the .ds file is executed, which loads the .daz file.


mishamcm ( ) posted Tue, 28 July 2009 at 9:07 AM

As for geometries, .pp2 files can call an external geometry .obj or they can contain the geometry internally.


binhotinto ( ) posted Tue, 28 July 2009 at 10:29 AM

Quote - As for geometries, .pp2 files can call an external geometry .obj or they can contain the geometry internally.

Thanks for the help, I think i'm going to use only the .pp2 file since it works on both dazstudio and poser.


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.