Forum: Poser - OFFICIAL


Subject: Python Hack!! centered round Environment Creators, but important for every Mac

pcbos2 opened this issue on Jun 06, 2002 ยท 7 posts


pcbos2 posted Thu, 06 June 2002 at 7:41 AM

Attached Link: http://www.pcbos.nl

Hello everyone,

this message is especially meant for all those Poser Pro Mac-users out there.
Though I had found a way round the problem of the weak binding of Python in Poser, I wasn't really happy with it.
It took me some time to figure out how the bindings went, because a lot of it has to do with how the hooks are implemented in the Poser code itself- but I'll leave the tech stuff there.

Important for you to know is, that I've figured out a way to make the bindings strong, which means:
that you'll hardly ever get that nasty message about "TCL missing" anymore, and that now even complex programs like the Environment Creators will run incredibly smoothly- even better, in fact, than they do on the PC..
With the Mac, you can already touch Poser without anything slowing down; you can already render without Poser grabbing focus like an idiot; but what you couldn't do, and now you can, finally, is that you now can work with real Python code without any more hassle, without Tk any more losing track of itself.

To be honest, I'm incredibly happy that I figured it out at last- I want to do my utmost to give the Mac the same treatment I already can give the PC, and I simply hadn't been able to up till now.

Anyway, there it is. 't Is but a small download- 10K- so if you're interested:
http://www.pcbos.nl -follow "Poser" link

Enjoy rendering, everybody

Yours

Paul Christiaan Bos

P.S. testing has been done on an IMac, sys 8.1 and 8.6, and a Blue-and-White, 8.6


gryffnn posted Thu, 06 June 2002 at 9:23 AM

This is great Paul. On my way to take a look. Thanks!


Basis3D posted Thu, 06 June 2002 at 10:42 AM

Paul, I'm trying to figure out what this all means. I haven't tried doing anything with Python yet and don't know anything about Environment Creators either. Could you give this Python newbie an explanation of what this hack does? And what is Environment Creators? Thanks for creating this for us Mac users (whatever it is). :-)

 Poser 2010 • Poser 8 • MacPro Desktop • Quad-Core Intel Xeon • 10 GB • Snow Leopard • Windows XP 


dan whiteside posted Thu, 06 June 2002 at 1:35 PM

Thanks Paul! I'd given up on Mac Python due to all the problems. I'm looking forward to giving it a try. Best- Dan


pcbos2 posted Thu, 06 June 2002 at 2:49 PM

Attached Link: http://www.pcbos.nl

Dear MaCS! Thats a lot of questions- let me see: I try to write some really useful cross-platform tools for Poser, tools that go a bit beyond the normal scope. The Environment Creators are for creating complex lightscapes- like radiosity, but much quicker-, with full interactivity (or as full as I could make it). Other tools are a Zoom Tool for Poser, and so on. If you are really interested, you could take a look at my page, or my page at DAZ. The thing is, that Python isnt well implemented in Poser for Mac- and thats a pity, since I wouldnt care to do without Python myself- makes Poser many times more useful. Therefore, and since I see it as sort of my duty- forgive the serious word, wont you :-)-to treat Mac users the same as my PC users (even though the last are about seven times more in number), Ive been very busy in trying to figure out what exactly was going wrong. What I now did is, of course, only the beginning, but as things stand !AS OF TODAY!, Mac users have *BETTER* Python implementation than PC users (!!!) Which, I think, is absolutely fabulous. And to be honest, something I totally did NOT expect.. :-) Let me tell you, I wish I could work on my PC as I can on the Mac, Poserwise, since today. For now, I implemented my solution only fully in my own programs- Im only human, and have a darling wife-, but its something to build on. I now know I can write things for the Mac that will stand up, and not fail. And I know I will do more things, for the Mac, upon that foundation. So "dkal": let me just say that today a interesting future began for Poser on the Mac.. I cant express it better.. And "Dan": DONt give up on PythonMac! Its incredible, I promise you! In about two or three weeks time, after I first updated all my Mac programs to get the Max out of them, and after a few other new releases both for PC and Mac, I will then do some free stuff for the Macworld, if I can. Any Environment Creator users between you: GET the update right now!! I asked DAZ to place the update right away, but simply couldnt wait, I thought it was that important. And if youre not one of my users: still: GET that update and study it. Dont be afraid to ask help of me if you have to- I really like to help (but I trust youll respect my time a little too) Yours, and happy rendering, Paul Christiaan

Basis3D posted Thu, 06 June 2002 at 4:40 PM

My god, Paul. What is it that you've created? A very precise way of lighting within Poser? Went to your Web site and still can't fathom exactly what Environment Creator is. Please explain. :-)

 Poser 2010 • Poser 8 • MacPro Desktop • Quad-Core Intel Xeon • 10 GB • Snow Leopard • Windows XP 


pcbos2 posted Fri, 07 June 2002 at 3:37 PM

Hi dkal.. Explain even more?.. Ok, will try a bit. Radiosity is the way light behaves in the real world: coming from everywhere. The Creators simulate that, by allowing you to light the model from all sides: up, down, left, right, and so on. They create the lightset for you (giving you maximum freedom in shaping it, naturally), and allow you to control that lightset (from 20 up to 128 lights max, plus Sun, you choose) with the greatest amount of detail. Sets can be saved, shared with other users etcetera. They render fast- considering the amount of lights-, and the result totally differs from normal Poser lighting. In fact, in a week or so, I plan to release some Freebies for the Creators. Lots of people use them already, Im happy to say. Nice thing about them is that they are so fast, and flexible. But read the manual on my site if youre really interested. Yours, Paul Christiaan