<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 trying to use some pixels as a texture on an other primitive. I
made the manual example, but there's part of my torus that doesn't get
the texture. Why does this happen? Another question is, if I can hide
the plane that has the pixels?<br>
And the final question is if the comand (save-primitive) works to save
a texture, like (save-primitive "pixel.png") because when I do that my
fluxus crashes and the terminal sh owsSIGSEGV fault on 0x8 Aborted.<br><br>The example i am using is:<br><br>(define mypixels (build-pixels 100 100))<br>(with-primitive mypixels<br>    (pdata-map!<br>        (lambda (c)<br>            (rndvec))<br>        "c")<br>    (pixels-upload))<br>(with-state<br>    (texture (pixels->texture mypixels))<br>    (build-torus 1 2 10 10))<br><br>Example 2<br><br>(define mypixels (build-pixels 100 100))<br>(with-primitive mypixels<br>    (pdata-map!<br>        (lambda (c)<br>            (rndvec))<br>        "c")<br>    (pixels-upload)<br>(save-primitive "pixel.png"))<br><br>Thanks, <br><br>Luis<br><br><br><br>                                          </body>
</html>