jit.gl.sketch stroke and windows/mac conversions

llumen's icon

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

llumen's icon

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

llumen's icon

hello, it's me again.

Max Patch
Copy patch and select New From Clipboard in Max.

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?

2618.macStrokeDrawing.png
png
Luke Woodbury's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

llumen's icon

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