Forums > Jitter

jit.gl.sketch texturing issue

January 13, 2013 | 3:47 am

Hi all,

I am trying to create a mesh using jit.bfg and gl.sketch. The way i use it might not be the best way but i am trying to learn sketch and bfg to create 3d visuals and meshes rather than relying on gl.mesh for the job. The issues i am having in this patch is; 1) the drawn sketch flickers when the dimension of jit.bfg is an odd number. (probably because zl.group is 12) 2) can’t get the texturing (gl.texture @name texture1a) to be the same dimension as the video. A 4 dimension image is being textured. (I want each of the quads to be textured with the video.)

I’m sure there is an easy way to solve this so please let me know !

Attachments:
  1. Texture.maxpat

January 14, 2013 | 5:22 am

Solved the first problem pretty easily. For the texturing part, i pasted the help file of isosurf into the patch and when rendered the surface to sketch’s renderer (sample) the texturing worked although i dont have any idea why. I am guessing this might be a bug or isosurf changes a texturing attribute of gl.render. Either way it worked and if anyone knows why i will be happy to know :)

Thanks.


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