Hi, I am using the texture coordinates to place a different texture on each face of a cube, but i didn't make it work. Also I used pdata-map! but i didn't had succes.
my code is:
(clear)
(define cubo (build-cube))
(with-primitive cubo
(scale 4)
(texture (load-texture "refmap.png"))
(pdata-add "pos" "v")
(pdata-map! (lambda (pos) (vector 0.5 0.5 0.7)) "pos")
(pdata-map! vadd "t" "pos"))
Thanks a lot,
Luis
