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

marius schebella marius.schebella at gmail.com
Thu Aug 21 18:28:59 CEST 2008


Adityo Pratomo wrote:
> and how can i use that uv-mapping? pdp or pidipi or pixeltango maybe?

no, I have not figured out a method yet to do this inside the pd world. 
for now you really have to go with the solution claude posted.
marius.

> 
> On 8/21/08, marius schebella <marius.schebella at gmail.com> wrote:
>> 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
>>
> 
> 





More information about the Pd-list mailing list