Forums > Jitter

gl.multiple objects with different textures



Ste
Sep 03 2014 | 5:31 am

Hello everybody,

What I am trying to achieve is multiple circles with different textures and after that move them with phys object.
I started thinking in a way that I can map a texture over all shapes and simply make the texture from different pieces. A am attaching my try, however this way I can not move the spheres because they are going out of the texture.

Can anyone provide me an advice, or is there other way to achieve this?

Thanks in advance!

Attachments:
  1. Archive.zip
Sep 03 2014 | 6:33 am

here’s a way to assign textures to jit.gl.multiple:

— Pasted Max Patch, click to expand. —
Sep 03 2014 | 10:21 am

here’s a way to do & assign multiple textures with poly resample one one input, but there is one bug.

Attachments:
  1. Archive-2.zip

Ste
Sep 03 2014 | 10:37 am

Thanks for a replay!

Okay there are 3 different texture objects here. Is it an easier way if I have 100 different jpg’s for example? Maybe I am misunderstanding something, but can I use an array for textures or something similar?


Ste
Sep 03 2014 | 11:43 am

Thanks Matthieu, looks promising!

Sep 03 2014 | 4:22 pm

A new version!! all textures are in poly~, if you want 100 textures its depend how many & what you put inside about interations

Sep 03 2014 | 4:26 pm

oops!!

  • This reply was modified 1 year by  Matth.
Attachments:
  1. Archive-2-2.zip
Sep 03 2014 | 4:28 pm

ooups!!


Ste
Sep 04 2014 | 12:53 am

It would not occurred to me :). Thank you very much!

Viewing 9 posts - 1 through 9 (of 9 total)

Forums > Jitter