[PD] Plotting points on screen with gem

Mark Danks mdanks at Stormfront.com
Wed Jul 11 00:58:41 CEST 2001

  There isn't a "simple" way, because the rendering area is really a 3-D
viewport, not a bitmap.

  You could just render a square at a "size" which is one pixel.  Should be
straightforward math to do this.   Actually, this is probably the best way.
Set up the dimen with some values, then just create a square with the
correct size.  Using translate, you can set the position in XY without any
real problems.  You probably want to be running in single buffer mode so
that each time you "bang" the square, it will render into the viewport
without clearing the frame buffer.

  Let me know if this doesn't make any sense.

Later, Mark

= mdanks at stormfront.com
= Lead Programmer PS2
= http://www.danks.org/mark

> -----Original Message-----
> From: Rory Walsh [mailto:rorytheroar at yahoo.com]
> Sent: Tuesday, July 10, 2001 2:39 PM
> To: pd-list at iem.kug.ac.at
> Subject: RE: [PD] Plotting points on screen with gem
> Thanks Mark for the suggestion I looked at the example
> but I still don't see how this can help me. Is there a
> simple way I can get a yellow dot for example to
> appear at a given set of XY coordinates on the screen?
> I'm thinking the simplest way possible will do me?
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie

More information about the Pd-list mailing list