jit.gl.sketch scaling with jit.window

mbiederman's icon

hi all,

I have a fairly overcomplex patch to post here, but hopefully i can explain what going on. I also suspect its a simple fix, but it alludes me at the moment.

Ive got a jit.gl.sketch drawing a simple triangle (using tri xyz commands), then captured as a texture (using @capture), some processing with slabs, and finally applied to a jit.gl.nurbs surface in order to do cornerpin adjustment.

as I adjust the size of the jit.window, the triangle's scale (ie jit.gl.sketch) changes as well. Any clues? i suspect a simple @ argument somewhere, but where? :)

TIA
matthew