Re: the performance problems. It's likely that you're using the default
setting for spheres. Request a smaller number of divisions in the constructor
and you'll likely see a speed improvement. The default for divisions is set
pretty high. (At least it had been previously...this might have
changed). That's
one thing.
I ran it on my Solaris box, and it was pretty slow. I can't tell why
you're getting
those redraws of the text on the right hand side without looking at the code.
The best way to get Java 3D on the Mac is to bug Apple about it. They're
going to have Java on every Mac shipped with their new OS, so someone
there is listening about Java. The more people that speak up about it
the better.
Hope this helps,
Steve
At 09:41 AM 7/6/2000 -0400, you wrote:
>Has anyone developed Java Classes/Methods to do native OpenGL calls?
>Anyone know of some documentation on this?
>
>Although I like Java 3D, it often seems a big pain to use. For example,
>no Java 3D on the Macs, needs additional plugin installed and I never got
>good
>performance when I try to display 20 or 30 spheres, all moving, all
>partially transparent,
>and almost filling the entire screen, and menus seem to blink badly/slowly
>when there
>is any motion going on in the scene. So, I hate to say it, but I am
>looking for
>alternative ways to do the 3D programs I want to do. I'd love
>to have something that is more "portable". That is, something that runs in
>default Browser's JVM. (Java 1.1 or are the new browsers up to 1.2?) So I
>thought of defining a
>basic set of OpenGL calls from some Java methods. Granted, for each
>platform,
>the native code might be different. But once written, one library for one
>of the platforms
>I am interested in (Macs, Windows, Linux) I would think this would be a
>small choir to change to the other platforms.
>
>On the other hand, I know nothing about OpenGL.....
>
>Anyone have any ideas on what to look into?
>
>Would anyone no of good performance tutorial for Java 3D? (The performance
>issues might be from my bad programming. So how do I learn about getting
>not just
>good but fantastic performance from Java 3D? This wont solve the platform
>issue
>with Java 3D, but it would certainly make *me* feel better about Java 3D if
>I could
>get my programs to perform nicely. Anyone want to help me through my
>performance
>problems? I could write some code, do some timing measurements (with
>someone's help)
>and then maybe we could go through the code and see what's wrong. I'd do
>the example
>mentioned about of 20 to 30 spheres moving, rotating, while the users
>selects various menu
>options.)
>
>To see the performance problems I am having, you can try out a program I
>wrote at
>http://www.rwgrayprojects.com/Java3D/ndcp/ndcp.html
><http://www.rwgrayprojects.com/Java3D/ndcp/ndcp.html>
>click on "Start the program."
>Then, once started, type the "F6" button a few time to add some spheres. I
>think you'll
>see the performance problem. And the flickering problem.....
>Any suggestions will be appreciated.
>
>Bob Gray
>
>===========================================================================
>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".