Re: [PD] segment of a circle in gem

2008-05-09 Thread cyrille henry


marius schebella a écrit :
> hi,
> does someone know of a solution to draw only a segment of a circle/disk 
> in GEM?
> thanks,
> marius.
> 

you can : 
- draw a full circle and cut it with glClipPlane 
- draw a line made of lot's of segments, computing the coordinate of each point 
with sin / cos

cyrille 

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

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


Re: [PD] segment of a circle in gem

2008-05-09 Thread hard off
bit of a workaround, but you could put an ellipse on the top of a triangle.

i don't think gem has either geometries built in,  but you can make a
triangle with the [polygon] object,  and then make an ellipse by making a
circle, and then using the [scale] object to squash it down a bit.

this would work for sections of less than a quarter circle.  for greater
amounts, you would have to add more triangle/ellipse sections.
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] segment of a circle in gem

2008-05-08 Thread marius schebella
Hans-Christoph Steiner wrote:
> 
> Perhaps [curve]?

no, it is not possible to draw a circle with bezier curves, although
you can come close, but then I could use vertices, too...
marius.

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


Re: [PD] segment of a circle in gem

2008-05-08 Thread Hans-Christoph Steiner

Perhaps [curve]?

.hc

On May 6, 2008, at 3:47 PM, marius schebella wrote:

> hi,
> does someone know of a solution to draw only a segment of a circle/ 
> disk
> in GEM?
> thanks,
> marius.
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list





 


"Free software means you control what your computer does. Non-free  
software means someone else controls that, and to some extent  
controls you." - Richard M. Stallman



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


[PD] segment of a circle in gem

2008-05-06 Thread marius schebella
hi,
does someone know of a solution to draw only a segment of a circle/disk 
in GEM?
thanks,
marius.

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