Hello Justin,
I think that my last post has been lost , so I rewrite it
I tested the labelDemo sample and I get only one or two FPS on my computer, did you have similar results on your system ?
Justin Couch <[EMAIL PROTECTED]>wrote:
Enrique Dumas wrote:
> in fact in my app I don't need to handle some mouse events but only
> drawing the overlay.
>
> I tryed the scribble demo because when I used the overlayBase class ,
> nothing happened
The base class is not designed to operate standalone. It is supposed to
be derived for whatever custom functionality you wish to implement. To
see how it works, have a look at any of the other pre-built overlays
there. Probably the best one to look at is LabelOverlay as that shows
all the event buffering etc.
> I think I missed some things to do the job, I'd like to know if the
> overlayBase class is "fast"
I can't tell you. There is no definition of fast. Overlays place a
texture in front of the user and always retain it screen aligned. It
uses transparent textures and geometry. There's double buffering and all
sorts of other things going on. So much depends on your graphics
hardware. The only way you can work out whether it is suitable is to put
it into your code and measure the performance impact in your
application. Every time you add another polygon, texture, light etc it
will have some impact on the performance. Whether that is too much is
something only you can tell and not something that I can offer any
comment on.
--
Justin Couch http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler 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".
Do You Yahoo!?
Yahoo! Health - Feel better, live better