jit.gl.sketch stroke and windows/mac conversions

Sep 7, 2011 at 3:22pm

jit.gl.sketch stroke and windows/mac conversions

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

#58797
Sep 7, 2011 at 5:59pm

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

#211360
Sep 9, 2011 at 7:23am

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
#211361
Sep 9, 2011 at 11:21am

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

– Pasted Max Patch, click to expand. –
#211362
Sep 13, 2011 at 5:32am

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

#211363

You must be logged in to reply to this topic.