Forum: Poser - OFFICIAL


Subject: 3Delight plugin for Poser 5

stewer opened this issue on Aug 02, 2003 ยท 65 posts


stewer posted Sat, 02 August 2003 at 12:25 PM

Attached Link: PoserMan

Sorry for the repost, but getting only one response on the last try made me think I did not chose a thread title compelling enough, or whatever I wrote in the thread was too scary. Back on topic: I would like to inform you that I have released a preview version of my "PoserMan" script which embeds 3Delight as an external renderer in Poser 5. Please not that since it is not finished yet, I cannot please you with promises for instant jawdropping renders, but I can tell you that it has such nice features as background rendering of animations and the export of Poser's dynamic hair and clothing. I thought it would be too unfair to keep such a thing for myself. I would love to get some feedback from you, at least to tell me wether it works on your computer or not (as I might have forgotten to include a file in the archive). Thanks for your attention, Stefan

stewer posted Sat, 02 August 2003 at 12:31 PM

Attached Link: 3Delight

Here's the link to 3Delight, which is required (and a free download). I would like to add that my script should in theory work with other RenderMan compliant renderers too, for example Pixar's PRMan, BMRT, Aqsis, RenderDotC or Pixie. This may or may not require you to modify the script.

ford3auss posted Sat, 02 August 2003 at 12:48 PM

Hi stewer, i just downloaded your program and run it, it set it up in my c drive, how do i open it to use it im lost... lol...


stewer posted Sat, 02 August 2003 at 12:50 PM

You downloaded 3Delight....that's OK, but my program is a ZIP file (the first link). It comes with instructions in the ZIP.


ford3auss posted Sat, 02 August 2003 at 1:05 PM

HI.Yes i downloaded it and it a exc file... what am i doing wrong..


quinlor posted Sat, 02 August 2003 at 1:08 PM

Sounds very cool! I hope, I find the time to try it soon.


stewer posted Sat, 02 August 2003 at 1:12 PM

Attached Link: PoserMan zip file

ford3auss, you need to download another file. You can find it on the web page behind the first link, or just use the direct link here.

stewer posted Sat, 02 August 2003 at 1:12 PM

The Zip file contains a Readme.rtf with further instructions.


ford3auss posted Sat, 02 August 2003 at 1:22 PM

Look sorry about all that, i just got it thx for your help mate, dam it does some fine renders...cya


stewer posted Sat, 02 August 2003 at 1:26 PM

No problem. I should have made it a little clearer that one needs to download two files.


atz3 posted Sat, 02 August 2003 at 1:39 PM

when I run the script iget this error message. Traceback (most recent call last): File "", line 242, in ? File "", line 82, in init AttributeError: RayTraceShadows the rib file is created but 3delight doesn't launch any ideas?? zach


stewer posted Sat, 02 August 2003 at 1:55 PM

atz3: sounds like you haven't SR3 installed. My script is using some SR-3 only Python methods.


atz3 posted Sat, 02 August 2003 at 1:57 PM

that might have something to do with it... I'll give it a shot! thanks!! zach


c1rcle posted Sat, 02 August 2003 at 2:00 PM

This is what I got Traceback (most recent call last): File "", line 242, in ? File "", line 230, in init File "RuntimePythonlibos.py", line 387, in getitem return self.data[key.upper()] KeyError: DELIGHT is there some particular place we need to have 3delight installed? like maybe the poser5 folder itself?


c1rcle posted Sat, 02 August 2003 at 2:02 PM

ps it created the rib files first, so that part of it is ok for me too :)


ford3auss posted Sat, 02 August 2003 at 2:03 PM

Dam its takeing a long time for something to happen on my pc. is that normal. im running a AMD 1.1 with 512 of ram....


ford3auss posted Sat, 02 August 2003 at 2:06 PM

it just finished runing the script and nothing happens?????


c1rcle posted Sat, 02 August 2003 at 2:06 PM

it took about 20-30 seconds to create a single rib file on my machine, 2.0Ghz P4 & 1Gb Ram


ford3auss posted Sat, 02 August 2003 at 2:07 PM

3delight doesn't launch...lol


c1rcle posted Sat, 02 August 2003 at 2:09 PM

where did you install 3delight? just wondering cause mine is installed in c:3delight


stewer posted Sat, 02 August 2003 at 2:10 PM

c1ircle: No, it does not need 3Delight in a special place. But they key error says that the 3Delight installer did not set some system variables. What OS are you on? If you're on 2000, you might need to do this: http://www.3delight.com/ZDoc/3delight_7.html#SEC7 ford3auss: It is exporting all the frames, so if you have long animation it will take a while. Set the animation lenght in Poser to 1 if you want only one frame export. If you don't want to use animations at all, open the Python script in a text editor and change "ANIM = 1" to "ANIM = 0".


stewer posted Sat, 02 August 2003 at 2:13 PM

ford3auss, did the script create the RIB files correclty? Are there any other files in the same directory? Export time really depends on your scene complexity. The script will also convert the textures to the tdl format that 3Delight requires, so if you use lots of textures the following exports should be faster (until you delete the .tdl files).


stewer posted Sat, 02 August 2003 at 2:15 PM

And thanks for your testing so far! You're a great help! Don't worry about your machine specs, I wrote the script on a 1GHz P3 w/ 512MB RAM.


ford3auss posted Sat, 02 August 2003 at 2:34 PM

Im back, well this time i saved to a folder on my desk top,and i ended up with this, any ideas, and i changed the "ANIM = 1" to "ANIM = 0". it was a lot quicker, but 3delight doesn't launch. I just used standard Don with standard tex.. It allso but a rib file in my folder on desk top...3delight is on cdrive..


c1rcle posted Sat, 02 August 2003 at 2:36 PM

that did the trick :) rebooting after you install something helps too. The renderer seems a lot quicker than poser itself, are you planning to add the smoothing to this in the future? ps I think there's a problem with the ebots as I never saw your original thread or I'd have been all over it like a rash ;)


ford3auss posted Sat, 02 August 2003 at 2:41 PM

pic sorry

stewer posted Sat, 02 August 2003 at 2:43 PM

Hm...strange. So it doesn't create a TIFF file either? No output messages, no command line windows popping up? Did it create the .tdl files? Can you try this for me: Open a command line and enter "renderdl --version", then press enter. What does it say then?


stewer posted Sat, 02 August 2003 at 2:49 PM

c1rcle: Yes, smoothing is planned. In fact, I have subdivision surfaces in the script already, but that interferes with the materials right now. I have to work on it a little more. Also, I plan to add the other missing features too, namely bump, environment and transparency mapping. I'm not sure if shadow maps are easy, and very cool would of course be ambient occlusion or some other global illumination feature.


stewer posted Sat, 02 August 2003 at 2:52 PM

ford3auss: Can you try a simpler scene? E.g. just the stick figure or a couple of props.


c1rcle posted Sat, 02 August 2003 at 2:52 PM

so far it looks great :D can't wait for the extra features, thanks for creating this :)


stewer posted Sat, 02 August 2003 at 3:00 PM

If you want to, you can open the script in a text editor and set POINTS and SUBDIV to 1 to take a look at subdivision surfaces.


ford3auss posted Sat, 02 August 2003 at 3:03 PM

I did a reboot and reinstal and this is what i got, it fully renders and vanishes, lol, well hope you can work it out, im running XP Pro

stewer posted Sat, 02 August 2003 at 3:07 PM

The render window is not supposed to remain open, it's just to show progress. When it's finished, you will find a TIFF file in the same place as your RIB file.


Paoli posted Sat, 02 August 2003 at 3:27 PM

Cool!


ford3auss posted Sat, 02 August 2003 at 3:59 PM

Im back it saves the RIB file but i have no TIFF?????


stewer posted Sat, 02 August 2003 at 4:07 PM

I see in your shot that it says "rendering "0.rib", which means you didn't give it a file name, that could be a problem. Try giving it a filename.


atz3 posted Sat, 02 August 2003 at 4:10 PM

I have rib files but no tiffs also. updated to sr3. rebooted. no error messages now. no renders either. win xp. renderdl ver 1.0.6 (july 29 2003) "beta 2"


PabloS posted Sat, 02 August 2003 at 4:13 PM

.


ford3auss posted Sat, 02 August 2003 at 4:27 PM

Even if i give it a file name still no TIFF just a RIB..it allso dumpes other files on my desktop. Its like it does 3 renders....i just called my save file 3Delight, it puts the RIB in there and the other file on my desktop,3Delight folder is on desktop,,,,

ronstuff posted Sat, 02 August 2003 at 4:36 PM

Great work stewer! The possibilities are very exciting.


stewer posted Sun, 03 August 2003 at 2:33 AM

atz3, ford3auss - can one of you open such a RIB file in a text editor and see if it has a line "Display "tiff" "rgba"" at the beginning? You could also try a file search for that tif file, maybe 3Delight has put it somewhere else. Also, you may try running 3Delight from the command line, "renderdl -D "


stewer posted Sun, 03 August 2003 at 2:35 AM

Ah...I have one idea what it could be: Try using a directory that is not the Desktop or My Files. It could be that my script is choking on spaces in filenames.


markdc posted Sun, 03 August 2003 at 4:24 AM

Thanks for making this stewer! I got it to work but it seems that it won't render hair (I tried koz short hair and Nissa hair). -Mark


markdc posted Sun, 03 August 2003 at 4:26 AM

.

Tempus Fugit posted Sun, 03 August 2003 at 5:45 AM

.


stewer posted Sun, 03 August 2003 at 5:55 AM

Mark: It doesn't do transparency mapping yet, which I suppose your hair is using. You'll either have to stick to "plastic hair" using no transparency mapping or use Poser 5's dynamic hair, for which basic support is included as mentioned in the readme file. That's one of the reasons why I am not considering a full-featured release yet, hence the name "preview release 1". While it's nowhere near being a replacement for production quality renders in FireFly, I thought it could be useful for quick background animation previews already. Of course, getting a better quality out of my epxorts is something I am pursuing.


VI_Knight posted Sun, 03 August 2003 at 7:46 AM

would this work on P4?


stewer posted Sun, 03 August 2003 at 8:08 AM

I suppose the script could be ported to ProPack. Poser 4 without ProPack has no Python support, in this case you'd have to use Poser's built-in RIB export and launch 3Delight separately.


VI_Knight posted Sun, 03 August 2003 at 8:38 AM

Yes I have P4 PP. I was just wondering b/c I only saw mention of P5.


stewer posted Sun, 03 August 2003 at 8:49 AM

The script won't work with ProPack in its current form, as I am using some Poser 5-exclusive Python calls. Also, the version of cgkit I use requires Python 2.2, and I don't know if there's a version that will work with ProPack's Python 1.5.3.


VI_Knight posted Sun, 03 August 2003 at 10:35 AM

Thanks for clarifying. Any plans to make it available for P4 PP?


stewer posted Sun, 03 August 2003 at 11:28 AM

Not really. I haven't used ProPack in months.


markdc posted Sun, 03 August 2003 at 2:28 PM

stewer, I thought that was probably the issue (just wanted to check). Thanks again. I hope you'll continue to develop it. -Mark


ford3auss posted Sun, 03 August 2003 at 5:02 PM

Hi mate, i just tryed using a directory that is not my Desktop or My Files, and the same problem, i opend the RIB file in a text editor, i will post it so you can see if it all right..thx for your time...

stewer posted Sun, 03 August 2003 at 5:17 PM

See the file path in line 6? That is where your file should be. However, that path still has spaces in it, so you better try something like C:temp or the like. I will try and get an updated version online soon that won't choke on spaces in file names.


stewer posted Mon, 04 August 2003 at 4:44 AM

Here's an updated script that should be able to deal with spaces in file names. Unfortunately, I'm away from my Windows box right now and can't test it, but if someone could try and report back so I can upload it. (download the file, rename it to poserman.py and run from within Poser 5) Thanks.

c1rcle posted Mon, 04 August 2003 at 7:49 AM

seems like no-one else is about right now, so I thought I'd check it for you. Works perfectly with the spaced out folder names (saved the rib to keindesign folder with the py file) how'd you get the subdivision to work on the script? I changed points & subdiv to 1 but it just gave me a great long list of floating points it was missing & stopped.


stewer posted Mon, 04 August 2003 at 9:50 AM

Thanks for testing, c1rcle. Well, the subdivs - could be that they're broken in the current version, quite possible. Once I started working on the materials, I disabled the subdivs and didn't test them since that. I probably changed something in the meantime that broke them.


c1rcle posted Mon, 04 August 2003 at 9:57 AM

ok I'll just have to wait patiently like everyone else then ;)


ford3auss posted Mon, 04 August 2003 at 6:38 PM

Hi mate im back, its working now thx, saveing to a folder on my desktop, it saves the rib and tiff to that folder, im running your updated script, and i allso did your system variables thing, im running Win XP Pro...one last thing it still dumps the 3 tdl files on the desktop, is that normal???. Thx for your time...


stewer posted Tue, 05 August 2003 at 12:07 AM

Yes, the .tdl files are normal. These are the textures of your scene, converted to 3Delights own texture format. 3Delight cannot read most ordinary image file formats like jpg or png, that's why the tdl files are necessary.


atz3 posted Tue, 05 August 2003 at 2:59 PM

works for me now too. thanks


stewer posted Tue, 05 August 2003 at 3:04 PM

Cool. The zip file on my web site should contain the new file now. Thanks for testing so far! I will start a new thread when I have a newer version out, happy rendering until then!


TimeStalker posted Fri, 12 September 2003 at 7:17 AM

I've tried the script, very, very nice. I've found a problem with the near clip plane, when the camera is close to face.


stewer posted Fri, 12 September 2003 at 7:44 AM

What is the problem exactly? Does it also occur when you export the same scene as RIB via Poser's File/Export? Did you try other renderers like Aqsis or BMRT?