<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi, <br><br>I am using the texture coordinates to place a different texture on each face of a cube, but i didn't make it work.<br>Also I used pdata-map! but i didn't had succes.<br><br>my code is:<br><br>(clear)<br>(define cubo (build-cube))<br>(with-primitive cubo<br>    (scale 4)<br>    (texture (load-texture "refmap.png"))<br>    (pdata-add "pos" "v")<br>    (pdata-map! (lambda (pos) (vector 0.5 0.5 0.7)) "pos")<br>    (pdata-map! vadd "t" "pos"))<br><br>Thanks a lot, <br><br>Luis<br>                                     </body>
</html>