View Full Version : polygon pixel size

01-19-2004, 11:10 AM
Hi, I have a quick question maybe someone can answer. How can I create a polygon a specific size, in pixels?

I am building an interface in flash, it it's size is 765 x 500 pixels, I want to create a flat polygon at that exact size. I can't just set the camera to that size, as I will be mapping the poly with a screenshot of the interface (765 x 500) so it needs to fit perfect.


01-19-2004, 02:18 PM
72 pixels=1 inch

01-21-2004, 02:44 PM
Just make the poly the same dimension as your interface ie 7.65m x 5m and then auto size the image to it, and if you want the camera to be a perfect fit for the interface then set it to 765 x 500 pixels , centre on the poly and move in out to fit,I think ther is a math formula for the distance from the screen to the camera but I dont remember it :rolleyes:

01-21-2004, 09:59 PM
there is a good plugin to center and fit to camera the polys, check on http://www.forwardgames.com/scripts.htm
active image plan.