Thu, Dec 12, 8:12 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Dec 12 3:30 am)



Subject: Matmatic script to add a tattoo


Fazzel ( ) posted Sat, 26 August 2006 at 9:57 PM · edited Wed, 16 October 2024 at 8:57 AM

Content Advisory! This message contains nudity

file_352315.jpg

I've been playing around with Bagginsbill's Matmatic and Parmatic and came up with this simple script to put a tattoo on Jessi.

You'll need to supply your own tattoo.

And the proper directory path.

Make sure the background of the tattoo is white

or it won't work.

But this will let you easily scale and locate the tattoo

If you want to use it on another character, substitute that

character's texture map and directory path.

      
cx = Add(.4).labelled('PM:xloc')        # X offset parameter dial
cy = Add(.4).labelled('PM:yloc')        # y offset parameter dial
xscale = Add(.2).labelled('PM:Xscale')  # scale parameter dial
yscale = Add(.4).labelled('PM:Yscale')  # scale parameter dial

tat = ImageMap("Mystuff:Runtime:Textures:Tattoos:Chinese Dragon color.png")
tat.U_Offset = cx
tat.V_Offset = cy
tat.U_Scale = xscale
tat.V_Scale = yscale
tat.Image_Mapped = 0

clr = ImageMap("Poser 6:Runtime:Textures:Poser 6 Textures:Jessi_Body.jpg")

clr = Color_Mul(clr, tat)    # Combine the skin texture with the tattoo

s = Surface()            # Set up the Surface
s.Diffuse_Color = clr
s.Specular_Color = BLACK



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.