I want to point out that picking is *heavily* related to graphics
drivers/cards.  Java code may be used to process results of picking, but
picking itself is a hardware operation that occurs during rendering to
framebuffers.
This is at least the case in OpenGL, and im sure its the same in directX.

I would then imply that graphics cards, their drivers, and the OS itself
is not ruled out as a possible source of the problem.

Please try a directX implementation of Java3D.  See if that solves
anything.

As well, please try your software on linux with Java3D with HT enabled.
See what your results are.  That will help rule many things out.

Cheers,
Ian


On Wed, 30 Jun 2004, Hong Cao wrote:

> I checked Java 3D source code, their handling of picking is not related to
> the graphic driver. Java code will calculate everything. So graphic card
> driver problem is ruled out. (Remember when disable HT, everything is fine.)
>
> As to OS, we did have similiar, actually more serious problem when we
> insalled Win 2000 on a P4 with HT, the problem happened not only in Java 3D,
> when you want to bring up a pop up menu on an windows explorer, it took
> about 5 seconds. When we switch to XP, regular operaion with the OS itself
> is fine, but we have this problem with picking.
>
> It's unlikely that the computation extensive task drag down the performance,
> suppose CPU performance is only half of 2.8G, our program works fine with
> sub 1G CPUs.
>
> So only possibility is that Java3D event handling is delayed, maybe because
> of OS problem. It took a long time for the picking procedure to kick in.
>
> I am just wondering if there is any better way to get around, other than
> disable HT.
>
> Thanks.
>
>
> ----- Original Message -----
> From: "Justin Couch" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 30, 2004 2:39 PM
> Subject: Re: [JAVA3D] HyperThreading mess up Java 3D picking
>
>
> > Hong Cao wrote:
> >
> > > We have multiple machines in Windows XP that has intel P4 2.8G Hz+ CPU
> with
> > > Hyper Threading enabled. We found Java 3D picking action become very
> slow,
> > > even slower than machines with less than 1G Hz CPU. The
> > > pickCanvas.pickAllSorted() method is taking more than 10 times its
> original
> > > time.
> >
> > This has the appearances of a driver or O/S problem to me. I run a
> > dual-CPU development machine and don't see any slowdown in picking code.
> > Since hyperthreading is, theoretically, supposed to present 2 logical
> > CPUs to application code, it should seem somewhat the same as a real
> > dual CPU machine.
> >
> > --
> > 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/
> > -------------------------------------------------------------------
> > "Look through the lens, and the light breaks down into many lights.
> >   Turn it or move it, and a new set of arrangements appears... is it
> >   a single light or many lights, lights that one must know how to
> >   distinguish, recognise and appreciate? Is it one light with many
> >   frames or one frame for many lights?"      -Subcomandante Marcos
> > -------------------------------------------------------------------
> >
> >
> ===========================================================================
> > 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".
> >
>
> ===========================================================================
> 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".
>
>

===========================================================================
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