Wed, Feb 19, 1:50 AM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2025 Feb 05 6:41 am)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: not sure what to call this script :)


anxcon ( ) posted Sun, 13 February 2005 at 3:42 PM ยท edited Tue, 11 February 2025 at 3:40 AM

k a script idea first the limitsa modeller would need to stick to in order for script to work right all vertices must stick to an X,Y grid with 0.1 increments 0.5, 0.4, 0.3, 0.2, 0.1, 0.0, -0.1, -0.2, -0.3, -0.4 etc X,Y be to a max of +/- 50.0 so center and 500 each way the file from script would be 1001x1001 pixel so 501x501 is 0.0 then Z coords of a vertex can be 0.00000000 to 1.00000000 (think model files goto 8 points right of demical?) any increment k script works like load vertex (X, Y, Z) pixel (501 - (X * 10)),(501 - (Y * 10)) = roundnearest(255 * Z) //R G B are same value, output above makes a greyscale map //which shows Z coords "depth" 0-255 pic loop till no vertices left save image exit script ignores edges/faces/etc, only looks at vertices would require limits on modeling, but i can work with that want to try mr ockham?:)


anxcon ( ) posted Sun, 13 February 2005 at 3:54 PM

and before looking at model, creates a "starting" pic named "empty.bmp" unless one already exists (incase of deletion or something perhaps? be a one time thing tho) with all pixels set to 0R/0B/0G the script opens that, then the pixels with no vertex have a default "0" value to start with


ockham ( ) posted Sun, 13 February 2005 at 4:01 PM

Seems possible, but I'm curious about the highly specific formula. What's the main purpose?

My python page
My ShareCG freebies


anxcon ( ) posted Sun, 13 February 2005 at 4:03 PM

mmm........nothing :)


underdog ( ) posted Sun, 13 February 2005 at 6:40 PM

[DrMcCoyVoice]My god! I think he's building a tesseract, Jim![/DrMcCoyVoice]

[MrSpockVoice]Fascinating![/MrSpockVoice]

:-P


anxcon ( ) posted Tue, 15 February 2005 at 10:52 AM

ockham dont want to make -.^ im hurt


underdog ( ) posted Tue, 15 February 2005 at 9:40 PM

Can't really blame him without some kind of clue as to the usefulness. What does it do?


anxcon ( ) posted Tue, 15 February 2005 at 11:18 PM

ah fine fine i make a flat square in a modelling program, say blender the square is whatever vertices wide and high then i move them along Z scale to make a shape lets see how smart you are :) whats a greyscale map do that is showing "depth" info? if you said displacement maps, you get it right now this is only part of it the image produced is often just 1 part of the model has to be made piece by piece then pasted over the UV template for the end figure thus the end result is an easy way to create accurate and high detail dis maps with perfect shape now doesnt need to be in poser, can be its own program just needs to read obj files and output the bmp file its also good for trans maps


anxcon ( ) posted Thu, 17 February 2005 at 1:45 AM

booo...


an0malaus ( ) posted Fri, 18 February 2005 at 8:14 AM

Are you making a pin-map? Regular grid of planar vertices displaced in Z by topology of whatever's behind the grid... BTW, I'd love to see a folded tesseract [assuming I could survive the experience] ;-)



My ShareCG Stuff

Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.


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.