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 that. marius. > >> 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 _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
