[PD] Writing texture to different sides of cube in GEM

Claude Heiland-Allen claudiusmaximus at goto10.org
Thu Aug 21 11:43:31 CEST 2008


Adityo Pratomo wrote:
> Hi there everyone, i have a question here. How can i write different
> images on every different sides of a cube in GEM?

Maybe (probably?) there is a more elegant / OpenGL-native way, but I'd 
make a cube out of 6 [square]s with appropriate transformations. 
[separator] would be useful here.

> So that when i
> rotate a cube, i could see a certain image on a certain side. I know i
> should use [pix_image] and [pix_texture] but how can i achieve my
> goal? I kinda lost here. Many thanks for any suggestions. :-)


Claude
-- 
http://claudiusmaximus.goto10.org




More information about the Pd-list mailing list