plug-in-map-object

Tom Bech & Federico Mena Quintero

Description

Map the image to an object (plane, sphere, box or cylinder)

Help

No help yet


Type

unknown

Parameters

Type Name Description
PF_INT run-mode The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }
PF_IMAGE image Input image
PF_DRAWABLE drawable Input drawable
PF_INT maptype Type of mapping (0=plane,1=sphere,2=box,3=cylinder)
PF_FLOAT viewpoint-x Position of viewpoint (x,y,z)
PF_FLOAT viewpoint-y Position of viewpoint (x,y,z)
PF_FLOAT viewpoint-z Position of viewpoint (x,y,z)
PF_FLOAT position-x Object position (x,y,z)
PF_FLOAT position-y Object position (x,y,z)
PF_FLOAT position-z Object position (x,y,z)
PF_FLOAT firstaxis-x First axis of object [x,y,z]
PF_FLOAT firstaxis-y First axis of object [x,y,z]
PF_FLOAT firstaxis-z First axis of object [x,y,z]
PF_FLOAT secondaxis-x Second axis of object [x,y,z]
PF_FLOAT secondaxis-y Second axis of object [x,y,z]
PF_FLOAT secondaxis-z Second axis of object [x,y,z]
PF_FLOAT rotationangle-x Rotation about X axis in degrees
PF_FLOAT rotationangle-y Rotation about Y axis in degrees
PF_FLOAT rotationangle-z Rotation about Z axis in degrees
PF_INT lighttype Type of lightsource (0=point,1=directional,2=none)
PF_COLOUR lightcolor Lightsource color (r,g,b)
PF_FLOAT lightposition-x Lightsource position (x,y,z)
PF_FLOAT lightposition-y Lightsource position (x,y,z)
PF_FLOAT lightposition-z Lightsource position (x,y,z)
PF_FLOAT lightdirection-x Lightsource direction [x,y,z]
PF_FLOAT lightdirection-y Lightsource direction [x,y,z]
PF_FLOAT lightdirection-z Lightsource direction [x,y,z]
PF_FLOAT ambient-intensity Material ambient intensity (0..1)
PF_FLOAT diffuse-intensity Material diffuse intensity (0..1)
PF_FLOAT diffuse-reflectivity Material diffuse reflectivity (0..1)
PF_FLOAT specular-reflectivity Material specular reflectivity (0..1)
PF_FLOAT highlight Material highlight (0..->), note: it's expotential
PF_INT antialiasing Apply antialiasing (TRUE/FALSE)
PF_INT tiled Tile source image (TRUE/FALSE)
PF_INT newimage Create a new image (TRUE/FALSE)
PF_INT transparentbackground Make background transparent (TRUE/FALSE)
PF_FLOAT radius Sphere/cylinder radius (only used when maptype=1 or 3)
PF_FLOAT x-scale Box x size (0..->)
PF_FLOAT y-scale Box y size (0..->)
PF_FLOAT z-scale Box z size (0..->)
PF_FLOAT cylinder-length Cylinder length (0..->)
PF_DRAWABLE box-front-drawable Box front face (set these to -1 if not used)
PF_DRAWABLE box-back-drawable Box back face
PF_DRAWABLE box-top-drawable Box top face
PF_DRAWABLE box-bottom-drawable Box bottom face
PF_DRAWABLE box-left-drawable Box left face
PF_DRAWABLE box-right-drawable Box right face
PF_DRAWABLE cyl-top-drawable Cylinder top face (set these to -1 if not used)
PF_DRAWABLE cyl-bottom-drawable Cylinder bottom face

Return

None