Rajamiyer Ravichandran wrote:
>
> Hi Java3D Gurus,
>
> I am trying to write a simple applet where I can
> scribble something on the Canvas3D using mouse drag
> events. I implemented MouseListener and
> MouseMotionListener evenents on the container of the
> Canvas. Inside the event handlers I have added code to
> get Graphics2D from the canvas and do the drawing
> calls (g.drawLine..)

One of the extensions I did to Dave's overlay code, was to produce a
scribble overlay that did exactly this. The performance is reasonable,
but not stunning. There are a number of ways to improve this, I just
haven't gotten around to doing this yet, and I should combine this with
Will's work too.

--
Justin Couch                         http://www.vlc.com.au/~justin/
Freelance Java Consultant                  http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
                                              - Greg Bear, Slant
-------------------------------------------------------------------

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to