Reddog9 opened this issue on Jun 15, 2009 · 22 posts
Reddog9 posted Mon, 15 June 2009 at 4:34 PM
I've been updating my script and posting some sample exports. Anyone with Daz or Poser, please give them a look and let me know if they're working for you or not. I don't have Poser. The last time I tried, it didn't read the same for Poser as it did for Daz. Maybe it's cleared up now. Let me know if you try.
I just posted a sample of Suzanne for Daz Studio.
DSES Page is here
Other samples are located here
Thanks for the feed back.
Reddog9
Tutorials, Samples and Models
www.blender3dclub.com
wespose posted Mon, 15 June 2009 at 6:27 PM
Does this script also export blender rigging for use in D/S?
Reddog9 posted Mon, 15 June 2009 at 7:08 PM
Quote - Does this script also export blender rigging for use in D/S?
It creates a 'rig' for Daz Studio based on a blender Armature. The exported character (CR2) has a skeletal system that can be posed in Daz Studio. The sample files were created from Blender objects and armatures.
I created this Flail with the script as well.
Reddog9
Tutorials, Samples and Models
www.blender3dclub.com
lisarichie posted Mon, 15 June 2009 at 7:47 PM
Hey
Checked out the samples.
Paths to objects are bad and the .cr2 files are non-standard. The .cr2 contain only a single figureResFile line, more like a .pp2 than a .cr2
The figureResFile lines need to be made consistent with standard Poser structure - UNIX style coding.
With a corrected path the files do load in D|S and appear to react properly in a cursory inspection.
Do you intend to implement material handling in the script to create .cr2 files that load the materials in the standard manner?
Haven't had a chance to run the files through Poser yet.
lisarichie posted Mon, 15 June 2009 at 8:46 PM
Okay, ran the files through Poser and they are all over the place when you dial anything. D|S appears to handle the structure better on these files. Poser does however load the uncorrected version of the .cr2.
That being said....for example:
figureResFile :Runtime:geometries:Blender3dClub:characters:tree2.obj
would be about as deep as you would ever want the search path to go and cleans up the coding.
A little rough and the joint parameters need tweaking in either program but this is still a great start on the exporter.
Limits are working correctly in Poser and D|S. So if you are setting rotation limits in Blender and the exporter is transferring them correctly to the .cr2 this is very good. (When rigging in Poser I always have to fiddle with the force limits to get things to work the same in D|S and Poser so I view this as a definite plus.)
Really looking forward to this continuing to progress.
wespose posted Tue, 16 June 2009 at 10:52 AM
"It creates a 'rig' for Daz Studio based on a blender Armature."
Verry Interesting, I'll download your free prop and give the rigging a test run (thanks btw, good marketing strategy)
I havn't played with D/S figure set up tools(basic) yet. And I am looking for all the ways I can to pipeline Blender to D/S as seamless as possible ( Im not sold on Hexagon compared to Blender yet), Plus your script is actually affordable. I "ll have to wait until my next content budget gets approved.
Reddog9 posted Tue, 16 June 2009 at 11:10 AM
Quote - Paths to objects are bad and the .cr2 files are non-standard.
It has a default set up. I just didn't 'zip' the files up accordingly yet for testing puposes. At the moment, I just import them into Daz via the file browser.
Quote -
The .cr2 contain only a single figureResFile line, more like a .pp2 than a .cr2
Not sure what mean here.. I thought there were two.. I'll double check. What would be normal?
Quote -
The figureResFile lines need to be made consistent with standard Poser structure - UNIX style coding.
How 'bout an example?
Quote -
Do you intend to implement material handling in the script to create .cr2 files that load the materials in the standard manner?
I created a Prop Exporter as well that takes care of materials. I'll probably add that in at a later date. I'll have to dig up that prop exporter.. I'll just post that one for free.
Reddog9
Tutorials, Samples and Models
www.blender3dclub.com
Reddog9 posted Tue, 16 June 2009 at 11:13 AM
Quote - "It creates a 'rig' for Daz Studio based on a blender Armature."
Verry Interesting, I'll download your free prop and give the rigging a test run (thanks btw, good marketing strategy)
I havn't played with D/S figure set up tools(basic) yet. And I am looking for all the ways I can to pipeline Blender to D/S as seamless as possible ( Im not sold on Hexagon compared to Blender yet), Plus your script is actually affordable. I "ll have to wait until my next content budget gets approved.
I'm working on an updated version of the script at the moment. More of a streamlining of the existing script. For the amount of man hours I've put into it I hate to give it away for free. I like to think of it as a small donation to the cause.
Reddog9
Tutorials, Samples and Models
www.blender3dclub.com
lisarichie posted Tue, 16 June 2009 at 1:14 PM
My second post has example of corrected figureResFile line in bold face.
Normal CR2 file contains two figureResFile lines while a PP2 file with external geometry has an
objFileGeom 0 0 :runtime:geometries:xxxx:pppp.obj
line that replaces the function of the figureResFile line of the CR2. Note that the path structure is Unix style, this ensures maximum compatibility cross platform. Mixing colons and slashes in a search path is generally considered a bad idea.
Crack open a simple figure CR2 in a text editor and take a look at the material coding to get an idea of how materials are written to the CR2. The coding is the basically the same for the other Poser format files that contain material info.
Also to the best of my understanding it is better to have version # as 4.01 rather than 4, I think it has something to do with ProPack versus Poser 4 in regards to material handling.
Ockham, lesbentley, PhilC, and bagginsbill are all very good at Poser files and have always appeared willing to assist so you could probably ask any of them to provide insight into the deeper workings of the Poser file structure. (I'm just muddling through the coding in self defense.:blink:)
I have Poser, if you would like me to create a CR2 of each figure in Poser so you can do a side-by-side comparison of the file structures for analysis just let me know.
With properly formatted output you can be reasonably sure that the files will work in both D|S and Poser.
Again, good work on getting the script this far along and if I can help you please feel free to contact me.
wespose posted Tue, 16 June 2009 at 3:42 PM
*I'm working on an updated version of the script at the moment. More of a streamlining of the existing script. For the amount of man hours I've put into it I hate to give it away for free. I like to think of it as a small donation to the cause.
*Do you have a projected release date, as I will just wait for the new script instead of buying the currnet one?
Reddog9 posted Wed, 17 June 2009 at 11:23 AM
Quote - *I'm working on an updated version of the script at the moment. More of a streamlining of the existing script. For the amount of man hours I've put into it I hate to give it away for free. I like to think of it as a small donation to the cause.
*Do you have a projected release date, as I will just wait for the new script instead of buying the currnet one?
No idea yet. Just as time permits me. My intention was to replace the existing version with any newer versions so anyone who had purchased a previous version could simply reset their download and get the updated version. I haven't verified this yet so you may want to wait for the time being.
Reddog9
Tutorials, Samples and Models
www.blender3dclub.com
Reddog9 posted Wed, 17 June 2009 at 9:54 PM
Quote -
Paths to objects are bad and the .cr2 files are non-standard. The .cr2 contain only a single figureResFile line, more like a .pp2 than a .cr2The figureResFile lines need to be made consistent with standard Poser structure - UNIX style coding.
I saw what you were talking about. I'm in the middle of making some changes.. that's why there were some slashes in the resource line..
Reddog9
Tutorials, Samples and Models
www.blender3dclub.com
ysvry posted Sun, 21 June 2009 at 6:12 AM
hi reddog, I am a bit amazed at "I don't have Poser" didnt I give you my poser 5? O well maybe the format changed since then, I myself am going to export an .obj from blender to sell as poser prop, thing is i dont know if poser understands multiple uv's on an object?
anyway good luck with your exporter script .
nruddock posted Sun, 21 June 2009 at 7:27 AM
Quote - ... thing is i dont know if poser understands multiple uv's on an object?
Strictly speaking Poser only uses one UV mapping, but most figures have several overlapping material zones, i.e. UV space is reused by splitting the material zones over several textures maps (typical split is head; body; eyes; fingernails, teeth, mouth; lips etc).
Open up any Poser figure in a UV mapper to see what I mean.
One useful thing is that Poser will handle UV coordinates outside the standard [0 .. 1) range, which is good for procedural shaders, or for creating multiple mappings in UV tools that don't restrict display to [0 .. 1)
Reddog9 posted Sun, 21 June 2009 at 9:04 AM
Quote - hi reddog, I am a bit amazed at "I don't have Poser" didnt I give you my poser 5? O well maybe the format changed since then, I myself am going to export an .obj from blender to sell as poser prop, thing is i dont know if poser understands multiple uv's on an object?
anyway good luck with your exporter script .
You did my friend and I appreciate it. Sometime ago, I think I may have erased it out of frustration. It would never import the files the same as Daz Studio. The most info I could gather on the problem was that Poser requires the joint information to be in some magic order when Daz Studio does not apparently. After spending a lot of time on that without success, I believe it may be gone.
Reddog9
Tutorials, Samples and Models
www.blender3dclub.com
ysvry posted Sun, 28 June 2009 at 10:49 AM
ok thx for the info.
Reddog9 posted Wed, 01 July 2009 at 12:25 PM
I've posted the latest version of the Daz Studio Export Script, DSES. Version 1.7.4.
It's loaded with tons of new features as well as an all in one script interfaces with built in help pages as well.
Visit the web page here for all of the new details:
DSES
Reddog9
Tutorials, Samples and Models
www.blender3dclub.com
Reddog9 posted Tue, 21 July 2009 at 11:50 PM
Here's a new sample I've posted.
Free Giraffe for Daz Studio.
Exported with my DSES Script.
[
](http://www.blender3dclub.com/index.php?name=Downloads&req=viewdownloaddetails&lid=23)
Reddog9
Tutorials, Samples and Models
www.blender3dclub.com
Reddog9 posted Mon, 27 July 2009 at 12:37 PM
Just about have this sample ready..
Coming soon.
Reddog9
Tutorials, Samples and Models
www.blender3dclub.com
Reddog9 posted Mon, 27 July 2009 at 11:48 PM
This sample is ready to download:
[
](http://www.blender3dclub.com/index.php?name=Downloads&req=viewdownload&cid=6)
Reddog9
Tutorials, Samples and Models
www.blender3dclub.com
Reddog9 posted Wed, 29 July 2009 at 2:38 PM
Quote - This sample is ready to download:
[
](http://www.blender3dclub.com/index.php?name=Downloads&req=viewdownload&cid=6)
I have to delay this one a bit... sorry
Reddog9
Tutorials, Samples and Models
www.blender3dclub.com
Reddog9 posted Fri, 31 July 2009 at 12:55 PM