Re: [PD] changing line width in Gem

2020-04-16 Thread cyrille henry



Le 16/04/2020 à 18:17, Antoine Rousseau a écrit :

is there any chance to change the width of the lines when you send the
message [draw line( to any of the geometrical objects?


use: [width $1(
1 to 10 (but no more...)

the max limit depend on your hardware. It's not a software limitation...

cheers
c




  Antoine Rousseau
http://www.metalu.net  __ http://www.metaluachahuter.com/ 




Le jeu. 16 avr. 2020 à 17:44, Csaba Láng mailto:langcs...@gmail.com>> a écrit :

Perfect, thanks a lot!

On Thu, Apr 16, 2020 at 4:41 PM rep mailto:pie...@314r.net>> wrote:

Hi Popesz

Le 2020-04-16 13:35, Csaba Láng a écrit :
 > Dear list,
 >
 > is there any chance to change the width of the lines when you send 
the
 > message [draw line( to any of the geometrical objects?

dont know with [draw line(

but you can use [GEMglPolygonMode] with [GEMglLineWidth]
see attached patch
this solution works with [model] too

 > I think it is 1px by default, but looking for a solution to make it
 > bigger.

here, I can set it from 1 to 10 (but no more) pixels

Pierre

___
Pd-list@lists.iem.at  mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] changing line width in Gem

2020-04-16 Thread cyrille henry

hello,

you can use the openGL command glLineWidth directlly with gem object 
[GEMglLineWidth]

but some (all?) primitive may reset this value. If so, you can send a [width 4< 
message to this primitive.

Cheers
C

Le 16/04/2020 à 13:35, Csaba Láng a écrit :

Dear list,

is there any chance to change the width of the lines when you send the message 
[draw line( to any of the geometrical objects?
I think it is 1px by default, but looking for a solution to make it bigger.

Thanks in advance,

Popesz

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list





___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] changing line width in Gem

2020-04-16 Thread Antoine Rousseau
> is there any chance to change the width of the lines when you send the
> message [draw line( to any of the geometrical objects?

use:  [width $1(
1 to 10 (but no more...)


 Antoine Rousseau
  http://www.metalu.net  __
http://www.metaluachahuter.com/




Le jeu. 16 avr. 2020 à 17:44, Csaba Láng  a écrit :

> Perfect, thanks a lot!
>
> On Thu, Apr 16, 2020 at 4:41 PM rep  wrote:
>
>> Hi Popesz
>>
>> Le 2020-04-16 13:35, Csaba Láng a écrit :
>> > Dear list,
>> >
>> > is there any chance to change the width of the lines when you send the
>> > message [draw line( to any of the geometrical objects?
>>
>> dont know with [draw line(
>>
>> but you can use [GEMglPolygonMode] with [GEMglLineWidth]
>> see attached patch
>> this solution works with [model] too
>>
>> > I think it is 1px by default, but looking for a solution to make it
>> > bigger.
>>
>> here, I can set it from 1 to 10 (but no more) pixels
>>
>> Pierre
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] changing line width in Gem

2020-04-16 Thread Csaba Láng
Perfect, thanks a lot!

On Thu, Apr 16, 2020 at 4:41 PM rep  wrote:

> Hi Popesz
>
> Le 2020-04-16 13:35, Csaba Láng a écrit :
> > Dear list,
> >
> > is there any chance to change the width of the lines when you send the
> > message [draw line( to any of the geometrical objects?
>
> dont know with [draw line(
>
> but you can use [GEMglPolygonMode] with [GEMglLineWidth]
> see attached patch
> this solution works with [model] too
>
> > I think it is 1px by default, but looking for a solution to make it
> > bigger.
>
> here, I can set it from 1 to 10 (but no more) pixels
>
> Pierre
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list