Forum: Poser Python Scripting


Subject: not sure what to call this script :)

anxcon opened this issue on Feb 13, 2005 ยท 10 posts


anxcon posted Sun, 13 February 2005 at 3:42 PM

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?:)