[JAVA3D] ending interpolators

2003-01-17 Thread Frederic Barachant
Hello. On the way to improve my 3D gui, i wanted to add some eye candy 'features'. One of them is to have objects react to moseover. I wanted them to grow on mouse enter, and reshrink on mouse exit, and stay grown until cursor exits. I wanted to use SizeInterpolator, as it seemed the easiest and c

[JAVA3D] more audio observations

2003-01-17 Thread Guy Carpenter
Here are some observations working with Java3D 1.3.1 beta 1, for the benefit of anyone else warring with Java3D audio, and for feedback to Kelvin et al at Sun. Problem 1: sound cloning problem Periodically, and not by any obvious cause, a single sound source will ignore a setEnable(false), and a

Re: [JAVA3D] AWT events

2003-01-17 Thread Frederic Barachant
Thanks a lot. Will go that way until i find a wall to hit. :) At 17/01/2003 17:04:00, you wrote: >Hi, > >Based on the information described in this book (3D User Interfaces With >Java 3D ), The author mentioned that it should be OK to register event >listeners >directly to Canvas3D. The code s

Re: [JAVA3D] AWT events

2003-01-17 Thread Hong
Hi, Based on the information described in this book (3D User Interfaces With Java 3D ), The author mentioned that it should be OK to register event listeners directly to Canvas3D. The code samples for this book doesn't use AWTBehaviors. You can download the source code from the publisher's web

[JAVA3D] AWT events

2003-01-17 Thread Frederic Barachant
Hello. Asked this on an other forum, but wanted to have opinions from others. Is there a known danger in retrieving AWT events from the canvas instead than from the AWTBehaviors? Thanks a lot. === To unsubscribe, send email

Re: [JAVA3D] TexCoordGeneration

2003-01-17 Thread Justin Couch
RWGRAY wrote: Also, I have my polyhedra spinning like in ConicWorld. Using TexCoordGeneration, the texture *does not spin* as the polyhedron is spun. This is a cool effect, but not what I want. I want the texture to spin with the object. I suspect you have the wrong generation mode. Most of t

[JAVA3D] TexCoordGeneration

2003-01-17 Thread RWGRAY
I am trying to figure out how to apply a texture map to various polyhedra which I define (i.e. not using built in primatives) like the tetrahedron, octahedron, cube, icosahedron, etc. I want to use the earth.jpg texture (Earth image) used by the Java Demo ConicWorld. I can't figure out how to def

Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] ? Frame Rates ?

2003-01-17 Thread Kyle McDonald
Kyle McDonald wrote: These parts libraries are PD and maintained by hobbyists who create some really amazing images. The car.dat file that you Actually 'PD' meaning Public Domain may not have been correct here. I'm not sure of the true status of existing parts, I believe that they have been di

[JAVA3D] UtilFreelistManager

2003-01-17 Thread Braden N. McDaniel
Can someone explain the role and necessity of UtilFreelistManager as it occurs in the source of the com.sun.j3d.utils.* classes? I'm wondering how much I should be worried about it as I design my own picking behavior classes. -- Braden N. McDaniel Modeling/Simulation Engineer, SAIC Advanced System

Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] ? Frame Rates ?

2003-01-17 Thread Kyle McDonald
Justin Couch wrote: Florin Herinean wrote: However, the model was not intended to be modified. I think I will extract from the app code a simple viewer which will not allow editing out of the context. The basic concepts of this app sound very much like what VRML/X3D is designed to do. Any cha

Re: [JAVA3D] Threadsafety in using switch

2003-01-17 Thread Kelvin Chung
Nikolai V. Chr. wrote: Kelvin Chung wrote: However some operation required special handling such as (i) adding/removing canvas from view (ii) View activeViewPlatform() (iii) New a Canvas3D in offscreen rendering (iv) First paint invoke in Canvas3D (v) Canvas3D removeNotify()/AddNotify() remove

Re: [JAVA3D] Newbie: Java applet to display and rotate 3D surface described in VRML

2003-01-17 Thread Alan Hudson
P. Flavin wrote: Buggy code from Yumetech in the "New" X3D Loaders have been generating lots of problem reports, more than I've ever seen from the code developed from within Sun: Your understanding of software development is sorely lacking. Do you even know what it takes to release software

[JAVA3D] COMBINE_INTERPOLATE :was Re: help me

2003-01-17 Thread Frederic Barachant
Oops, sorry, forgot to change the topic.. :/ At 17/01/2003 14:18:00, you wrote: Hi all. Has someone here succesfully used the new 1.3 TextureAttribute.COMBINE_INTERPOLATE texture mode? If so, do you have any example that can be shown? Thanks a lot. ===

[JAVA3D] FPS capped interpolators

2003-01-17 Thread Frederic Barachant
well, solved my FPs capping rotation. Changed the global FPS capping to cap only the interpolator, this way, i have fast immediate interaction with components, but the continuously rotating objects take about nothing. (at 10 FPS) Too bad we can't set the type of wakeup criterion for behaviors. Wil

[JAVA3D] System.exit(0)

2003-01-17 Thread Brobbey,Isaac (neuron)
Dear all: i thank you for your advise, but the thing is that , i have a java3D applet which makes multiple displays. if one display is currently showing and i try to replace it with another new display, i get an error like "compiled/live object, cannot change capability bits for PickTool", so i am

Re: [JAVA3D] Keyboard Behavior

2003-01-17 Thread Frederic Barachant
At 17/01/2003 10:05:00, you wrote: >About >>First it was taking 100% of my CPU even when not touching any >> button ... > >There is workaround: >simpleUniverse.getViewer().getView().setMinimumFrameCycleTime(10L); > > It drops CPU usage to a acceptable low level. >10L -> up to 100FPS >15L -> up to

Re: [JAVA3D] lighting calculation

2003-01-17 Thread Raj N. Vaidya
>On Fri, 17 Jan 2003 18:08:54 +0900, Haiquan Yang <[EMAIL PROTECTED]> wrote: >Hello, everyone, > > I have a question about Java3D, could someone help me? > > I found that the calculation of lighting in Java3D depend on the >view-axis, this cause some problems when I deal with some images

[JAVA3D] Threadsafety in using switch

2003-01-17 Thread Nikolai V. Chr.
Kelvin Chung wrote: However some operation required special handling such as (i) adding/removing canvas from view (ii) View activeViewPlatform() (iii) New a Canvas3D in offscreen rendering (iv) First paint invoke in Canvas3D (v) Canvas3D removeNotify()/AddNotify() remove (vi) Canvas3D setView()

Re: [JAVA3D] :Re : Help me ..

2003-01-17 Thread Frederic Barachant
Hi all. Has someone here succesfully used the new 1.3 TextureAttribute.COMBINE_INTERPOLATE texture mode? If so, do you have any example that can be shown? Thanks a lot. === To unsubscribe, send email to [EMAIL PROTECTED] and

Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] ? Frame Rates ?

2003-01-17 Thread John Wright
Florin, I just wanted to let you know your applets are great (and work fine in Mozilla 1.2.1). The Lego model is very nicely done. - John Wright Starfire Research Florin Herinean wrote: > > The program was written as a dedicated virtual lego builder. The models are > scripted - plain text files

Re: [JAVA3D] :Re : Help me ..

2003-01-17 Thread Mahesh M Namboodiripad
Hello , Iahave found the trouble with the demos.As told by Kelvin Chung [EMAIL PROTECTED] i changed the display mode to 16 bit . === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signo

Re: [JAVA3D] Keyboard Behavior

2003-01-17 Thread Alessandro Borges
About >First it was taking 100% of my CPU even when not touching any > button ... There is workaround: simpleUniverse.getViewer().getView().setMinimumFrameCycleTime(10L); It drops CPU usage to a acceptable low level. 10L -> up to 100FPS 15L -> up to 66 FPS 20L -> up to 50 FPS I guess 10L is g

[JAVA3D] AW: [JAVA3D] WG: [JAVA3D] AW: [JAVA3D] ? Frame Rates ?

2003-01-17 Thread Florin Herinean
Yes you are right. But that is not a dedicated application. I just wrote a very simple script (108 lines) which was interpreted by my app. There is no logic behind. Spheres which rotates around a point with a specific speed and orientation. It uses the default rotation behavior. When I'm turning of

[JAVA3D] lighting calculation

2003-01-17 Thread Haiquan Yang
Hello, everyone,      I have a question about Java3D, could someone help me?  I found that the calculation of lighting in Java3D depend on theview-axis, this cause some problems when I deal with some images fromcameras with different view-axis. I want to composite these images intoanothe

[JAVA3D] AW: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] ? Frame Rates ?

2003-01-17 Thread Florin Herinean
Well, maybe. The problem is that the lego app is my *hobby* and not my work. So it depends of how much free time I have. The app is using a plain Loader to load the model. At the moment, the loader is dedicated for loading an extended version of ldraw .dat files, but it shouldnt be so difficult to

Re: [JAVA3D] System.exit(0)

2003-01-17 Thread Justin Couch
Brobbey,Isaac (neuron) wrote: so i want to terminate the current session of the java3D before loading another one.when i put an explicit call of System.exit(0) in the applet program, i get an "accessControlException". do i need a special permission from the runtime system to terminate the curre

Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] ? Frame Rates ?

2003-01-17 Thread Justin Couch
Florin Herinean wrote: However, the model was not intended to be modified. I think I will extract from the app code a simple viewer which will not allow editing out of the context. The basic concepts of this app sound very much like what VRML/X3D is designed to do. Any chance we could convince

[JAVA3D] AW: [JAVA3D] AW: [JAVA3D] ? Frame Rates ?

2003-01-17 Thread Florin Herinean
The program was written as a dedicated virtual lego builder. The models are scripted - plain text files - and I just thought that I can use it to display something else. The model is composed of the parts listed on the left, so each part is controled independently. That way, the orbits are totaly s