<div dir="ltr">You would have to have a texture prepared for folding over the six sides.&nbsp; In most cases this would involve a larger power of two texture with the cross shaped texture inside it.&nbsp; For something like a movie file this would be impractical.&nbsp; Building this in GEM is the most flexible method.<br>
<br>Ben, I thought you had made an abstraction many years ago to put a texture on each side of a cube?&nbsp; <br><br><div class="gmail_quote">On Thu, Aug 21, 2008 at 12:14 PM, B. Bogart <span dir="ltr">&lt;<a href="mailto:ben@ekran.org">ben@ekran.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">As far as I know the UV thing is as much about the cube as it is the<br>
texture?<br>
<br>
Even if you play with the texture coords, the textures on the cube does<br>
not wrap over the edges.<br>
<br>
This leads me to believe that the cube is actually 6 squares put<br>
together. So that is certainly the best thing to recreate, make your own<br>
cube from Gem squares.<br>
<br>
As for &quot;uv support&quot; seems a close step would be a gem cube that is<br>
designed as a single poly and so that texture coords could be used to<br>
move the texture around? I suppose texture project becomes a problem then...<br>
<br>
I&#39;m just thinking aloud.<br>
<font color="#888888"><br>
.b.<br>
</font><div><div></div><div class="Wj3C7c"><br>
marius schebella wrote:<br>
&gt; Adityo Pratomo wrote:<br>
&gt;&gt; and how can i use that uv-mapping? pdp or pidipi or pixeltango maybe?<br>
&gt;<br>
&gt; no, I have not figured out a method yet to do this inside the pd world.<br>
&gt; for now you really have to go with the solution claude posted.<br>
&gt; marius.<br>
&gt;<br>
&gt;&gt; On 8/21/08, marius schebella &lt;<a href="mailto:marius.schebella@gmail.com">marius.schebella@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt; Claude Heiland-Allen wrote:<br>
&gt;&gt;&gt;&gt; Adityo Pratomo wrote:<br>
&gt;&gt;&gt;&gt;&gt; Hi there everyone, i have a question here. How can i write different<br>
&gt;&gt;&gt;&gt;&gt; images on every different sides of a cube in GEM?<br>
&gt;&gt;&gt;&gt; Maybe (probably?) there is a more elegant / OpenGL-native way, but I&#39;d<br>
&gt;&gt;&gt;&gt; make a cube out of 6 [square]s with appropriate transformations.<br>
&gt;&gt;&gt;&gt; [separator] would be useful here.<br>
&gt;&gt;&gt; the more elegant way would be UV-mapping, where you put all 6 sides in<br>
&gt;&gt;&gt; one texture and then apply it to the 3d object. but GEM does not support<br>
&gt;&gt;&gt; that.<br>
&gt;&gt;&gt; marius.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; So that when i<br>
&gt;&gt;&gt;&gt;&gt; rotate a cube, i could see a certain image on a certain side. I know i<br>
&gt;&gt;&gt;&gt;&gt; should use [pix_image] and [pix_texture] but how can i achieve my<br>
&gt;&gt;&gt;&gt;&gt; goal? I kinda lost here. Many thanks for any suggestions. :-)<br>
&gt;&gt;&gt;&gt; Claude<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div>