RobynsVeil opened this issue on May 07, 2008 ยท 70 posts
stewer posted Wed, 14 May 2008 at 12:33 PM
Attached Link: http://www.keindesign.de/stefan/poser/scripts/poser2yafray.py
> Quote - I looked for a dokumentation about the XML-format K uses. It should be possible to write some kind of exporter, at least for geometries, lights and camera. You will have to fix the materials, and probably the lighting as well, but it would be a starting point. > > I have played with the renderer on the last weekend, and I liked the results. Nothing I would care to publish here, but that's fine considering that I did not spend that much time for it. > > So, if I get the dokumentation and find some people here which would do some testing, I would give it a try. I'm not that fluently in Poser Python, but I do have some programming experience and I'm willing to try it.If you want to, you can use my Poser->Yafray python script as a starting point:
http://www.keindesign.de/stefan/poser/scripts/poser2yafray.py
Getting basic camera, light and geometry support shouldn't be very hard. Translating material and lights properly can be more tricky, but odds are most users want to use K-specific light and material setups anyway so you won't need to get that 100% right.
Do you know if it supports any other primitives than triangle meshes? If it supports cylinders, translating dynamic hair will be easy, if it doesn't you'll have to come up with a scheme to turn hair curves into polygon meshes without having the polycount explode.