Forum: Poser Python Scripting


Subject: Restarted Wish List

ockham opened this issue on May 03, 2004 ยท 40 posts


ockham posted Wed, 05 May 2004 at 10:41 PM

Maybe I do see the point after all. The Problem: a UV map is a set of flat projections, with no reference to the actual angle of any side. Let's say I want to show raindrops on the upward-facing parts of a car, by 2D methods. (Displacement map.) The UV map won't tell me which facets are really facing upward at this moment, but Python can get that info from the model itself at this moment. The script would then (1) translate these facets to the UV locations; (2) pick up a (specified) bitmap that is solidly covered with 2D raindrops; (3) OR the pixels of the bitmap with the original displacement map, weighting the mix so that more of the raindrop bitmap is mixed where the real surface is facing upward right now; (4) reapply the mix to the model before rendering. Is that close to your idea?

My python page
My ShareCG freebies