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

marius schebella marius.schebella at gmail.com
Thu Aug 21 12:33:08 CEST 2008

Claude Heiland-Allen wrote:
> 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.

the more elegant way would be UV-mapping, where you put all 6 sides in 
one texture and then apply it to the 3d object. but GEM does not support 

>> 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

More information about the Pd-list mailing list