Forums > Jitter

jit.gl.sketch stroke and windows/mac conversions

September 7, 2011 | 3:22 pm

Hello,

I’ve been developing a patch on my macbook, but because of a way better GPU on the windows laptop I’m moving it to windows.

the behavior of the patch however is strange:

- the transparency of the strokeparam color (in rgba) doesn’t seem to work anymore
- the layer attribute doesn’t seem to work either
- blending_mode and blending_enable behaves strange
- stroke (basic2d) draws instead of on top of each other when the strokes overlap, underneath each other.

Does any one have any idea what is going on, I’m a bit lost here

Hoping for some enlightenment

Pieter


September 7, 2011 | 5:59 pm

added info:

the video card in the windows computer is a nvidia nvs 4200m, while in the macbook it is a nvidia GeForce 8600M GT

would it have something to do with the version of openGL?

I’m a bit desperate about this

grtz

pieter


September 9, 2011 | 7:23 am

hello, it's me again.

The one thing that is really strange to me is the ontop or underneath drawing behavior in the sketch, I've reduced the patch to exemplify, could someone please test this?

– Pasted Max Patch, click to expand. –

[attachment=170591,2618]

Attachments:
  1. macStrokeDrawing.png

September 9, 2011 | 11:21 am

Try fiddling with the depth buffer on jit.window like so:

– Pasted Max Patch, click to expand. –

September 13, 2011 | 5:32 am

Hi Luke,

thx for the advice, the visual order of drawing was indeed something with the depthbuffer. But instead of the depth buffer on the jit.window it was depth_enable on my sketch that did the trick

thx again, now up to the ext problems

grtz
pieter


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