[JAVA3D] rotating about a local coordinate system

1999-11-12 Thread Evan Drumwright
Hi, I'm wanting to rotate an object around its local coordinate system rather than the global coordinate system (ie I'd rather rotate around some point in space than have to translate the object to the origin first, then rotate it, then move it back to the original point). I see that Shape3D inh

Re: [JAVA3D] Request for information

1999-11-12 Thread Andrew Moulden
Roland Jesse wrote: >Why do you think this may not change in upcoming releases? Personally, >I was never a big fan of this "backward compatibility for whatever the >price is". And in this case, breaking with the current design just >costs the application developer a couple of substitutions at the

Re: [JAVA3D] Request for information - serializing classes

1999-11-12 Thread Andrew Moulden
Andy Wilkinson wrote: >At present (perhaps naively) this is the area of developing the editor which >I foresee causing me most difficulty, although this may say more about my >knowledge of serializing Java classes than the ease of the rest of the >development work. Any insight you can give me int

[JAVA3D] Problem with intersect

1999-11-12 Thread Frieder Witschel
Hi! We´re trying to measure distances between a given point and the closest Shape3D object in a given direction. Therefore we sent a ray in that direction and successfully chose the nearest Shape3D object using the pickClosest method. Then we used the returned SceneGraphPath with the intersect met

[JAVA3D] Spline Interpolator

1999-11-12 Thread Allistair Crossley
Hi People,   I was wondering if anyone knew how to use the CubicSplineInterpolator (something like this) object in the com.sun.utils package for Java3D.   I have a set of coordinates for input into the spline function but have no idea how to use the one provided. And then what kind of data

[JAVA3D] Error when running SimpleUniverse

1999-11-12 Thread Harish Nachnani
I am getting the following error when I run the HelloUniverse program: java.lang.NoClassDefFoundError: java/security/PriviledgeAction at at HelloUniverse.(HelloUniverse.java:83) at HelloUniverse.main(HelloUniverse.java:106) Please Help ! Harish =

Re: [JAVA3D] Request for information

1999-11-12 Thread Doug Twilleager
This thread, and the performance thread, have raised a number of issues. I'd like to give our answers/perspective on these issues. I'll try to hit all the ones that came up. If you have others, let me know. Note that many of the things I bring up below are proposed changes for the 1.2 API. We

Re: [JAVA3D] Performance benchmarks?

1999-11-12 Thread Mike Chapman
Thanks for the response, Doug. It's good to hear that progress is being made in these areas (rendering speed and memory footprint). The smaller and faster Java3D is, the better it will look compared to whatever 3D technology Microsoft is cooking up in their kitchen-of-horrors :) >The memory in

[JAVA3D] Sample code

1999-11-12 Thread Richard Dunn-Roberts
I'm new to Java 3D and relatively new to Java. I'm interested in finding simple sample code for a Java 3D app that does not extend Applet (using MainFrame for apps) and does not use SimpleUniverse. Thanks for your assistance. Richard

Re: [JAVA3D] Group.removeChild(Node n)?

1999-11-12 Thread Tim Bray
At 12:24 AM 11/12/99 -0500, wayne c deprince jr. wrote: >ahoy all.. >maybe im missing something basic, but why does Locale have a >Locale.removeBranchGroup(BranchGroup bg) method but Group doesn't have >Group.removeChild(Node n) which allows you to remove a child without >knowing its index in the

Re: [JAVA3D] viewpoint transformation

1999-11-12 Thread Blaine Alex Bell
Try the TransformGroup.lookat() method. On Fri, 12 Nov 1999, Hai Ning wrote: > i know how to change the coordination of the viewpoint. but > i am not sure how to specify the view direction. in other words, > how do you tell Java 3D which way to look at? > > thanks! > > -hai > > =

[JAVA3D] compilation problems

1999-11-12 Thread Harish Nachnani
I installed java3d 1.1.2 on my NT station and am trying to compile HelloUniverse.java and I get following errors: HelloUniverse.java:34 : Class java.awt.GraphicsConfiguration not found in import. import java.awt.GraphicsConfiguration; HelloUniverse.java: 35 Class com.sun.jed.utils.applet.MainF

Re: [JAVA3D] Performance benchmarks?

1999-11-12 Thread Doug Twilleager
Hi Mike, The memory increase comes from Java 3D making a copy of the geometry internally. In 1.2, we have included geometry by reference which gets rid of this copy. As for the slow performance, if you send your test to [EMAIL PROTECTED], we can look into it. Thanks, Doug Twilleager Java 3D Te

[JAVA3D] Pure Immediate mode

1999-11-12 Thread Timothy Darby
This may be a red herring (I hope it is), but I seem to be able to crash the java VM quite consistently in Pure Immediate mode. With either 1.1.2 or 1.2alpha1 if I use the PureImmediate demonstration and keep resizing the window, then after a couple of dozen resizes, the VM GPFs on me (Windows NT4

[JAVA3D] viewpoint transformation

1999-11-12 Thread Hai Ning
i know how to change the coordination of the viewpoint. but i am not sure how to specify the view direction. in other words, how do you tell Java 3D which way to look at? thanks! -hai === To unsubscribe, send email to [EMAI

[JAVA3D] Polygon Count

1999-11-12 Thread Dan Hopkins
Hi all, I was wondering if there is a simple way to get the current polygon count within a scene graph. thanX Dan Hopkins [EMAIL PROTECTED] === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the m

Re: [JAVA3D] Performance benchmarks?

1999-11-12 Thread David Hallé
Hi, I went there to try this benchmark : > http://www.tornadolabs.com/News/BenchJ3d_Results/benchj3d_results.html Sorry for this stupid question. I read the j3D guide from Sun and they talk about immediate and retained mode for rendering. But I did'nt really understood how to implement both. And

Re: [JAVA3D] Memory Leak in 1.2 alpha1 when adding and removing objects?

1999-11-12 Thread Roland Jesse
Stephan Haut <[EMAIL PROTECTED]> writes: > "System.gc()"-method. This method invokes the garbage collector directly. Nope. It does not. It only tells the VM that now might be a good time to collect garbage. The VM might still decide not to do so. Roland

Re: [JAVA3D] Request for information

1999-11-12 Thread Jon Barrilleaux
I concur with most of what Justin and Dan are saying. I especially agree with Uwe and Martic that Java 3D is not ready for commercial prime time until the install and GC situation improves considerably. I would like take one exception to what Justin had to say about the behavior model being a go

Re: [JAVA3D] Request for information

1999-11-12 Thread G . Veith
hi Ronald, sure, performance, frame rates, and so on, that all depends on what you intend to do with J3D. We've tested J3D in an app, that creates and manipulates a lot of scene graphes and objects at runtime and uses animations with picking. every time you start an animation, the gc gets stresse

Re: [JAVA3D] Memory Leak in 1.2 alpha1 when adding and removing objects?

1999-11-12 Thread Stephan Haut
> In my application, I need to create and delete objects fairly often. I create the objects as a BranchGroup, and when I want to delete them, I use the detach() function. Everything seems to work, but memory consumption continues to ramp and performance gets increasingly slow. Is there something I