Re: [JAVA3D] Canvas3D and JMenu (swing....)

1999-12-08 Thread G . Veith
Hi David, this problem was discussed here some time ago. Barry Walsh has posted a demo file with some example code to fix that. Look for "JMenus revisited..." from 06/16/99. Gernot [EMAIL PROTECTED] David Hallé <[EMAIL PROTECTED]>To: [EMAIL

Re: [JAVA3D] Can Java3D be implemented on a JPanel?

1999-12-08 Thread Dan Todor
I didn't say I don't agree, just not 100% And I totally agree on what u said in this mail. The workaround I use is the BorderLayout and add Swing components to the left or right. That way, you may avoid some unwanted interference Vladimir Olenin wrote: > Couldn't run it: the sources co

Re: [JAVA3D] Canvas3D and JMenu (swing....)

1999-12-08 Thread David Hallé
Thanks all, it works fine with 'JPopupMenu.setDefaultLightWeightPopupEnabled(false);' David. __ Message envoye depuis iFrance >> http://www.ifrance.com Gratuit >> Hebergement (50 Mo)/Vos emails (POP&HTML,20 Mo) Votre agenda on

[JAVA3D] perspective

1999-12-08 Thread Hardy Henneberg
Hello, I posted a mail some days ago about vertical lines showing up non-vertical. I only got one answer, maybe because the problem wasn't clearly explaned. I think many of you have got the same problem - at least those of you, who makes programs simulating the world people normally exists in. I t

[JAVA3D] IndexOutOfBoundsException after detach()

1999-12-08 Thread Christian Petermann
Hi guys, I get the following exception now and again with the J3D1.2 alpha1 and JDK1.3 beta. java.lang.IndexOutOfBoundsException: Index: -1, Size: 1 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.remove(Unknown Source) at javax.media.j3d.RenderMo

Re: [JAVA3D] perspective

1999-12-08 Thread Jean Brange
to get your vertical lines vertical in perspective you just need to have the y coordinate (if this is what you define vertical;) of the view point to be the same as the y coordinate of the observer, if you need to see something more up or more down you will need either to move both your view point

Re: [JAVA3D] Can Java3D be implemented on a JPanel?

1999-12-08 Thread Steve Sampson
It worked and I am up and running. thanks everybody!!! At 09:22 AM 12/8/99 +0200, you wrote: >I don't subscribe 100% at this >Take a look at the two files attached, this is a portion of an application I wrote that >really works. > >Vladimir Olenin wrote: > >> I guess u ran across the same

Re: [JAVA3D] perspective

1999-12-08 Thread Gary L. Graf
Hi, The perceived problem is most likely that you are used to standing on a sidewalk and looking at a world in perspective where your line of sight is parallel to the x-z plane. In this situation, lines in the y-axis are straight. If though you go up in a tall building or airplane and look dow

[JAVA3D] How to use OrderedGroup?

1999-12-08 Thread Bob Gray
Title: How to use OrderedGroup? I don't understand how to use OrderedGroup nodes.  Could someone point me to a good discription of its usage?  I've read the API Specs on it, but it doesn't show it in action. In my case, I have a Switch() node.  I add my objects to the switch node so I can t

[JAVA3D] 1.2 Alpha Bug?: Exception When Drawing Raster in Immediate Mode

1999-12-08 Thread Rob Bishop
Specifically, a ClassCastException: RasterRetained when I try to to use a GraphicsContext3D.draw(raster) from the postRender method (where "raster" is a javax.media.j3d.Raster). Anybody else run in to this problem? The same code works fine under Java 3D 1.1.2. Rob Bishop TASC

[JAVA3D] helppppppp

1999-12-08 Thread Malguy, Eric G.
Hi all, I need your help big time. I cannot figure out this one. To make a long story short. I have a map on a JPanel with items on it. You can zoom on it and I also have all kind of goodies. I have a scale in Kms, working well, but when it is time to redraw the scale is flickering all the t

Re: [JAVA3D] helppppppp

1999-12-08 Thread Daniel Selman
Eric, I haven't run your code but I note that you don't call the superclass paint method in Scale.paint. That might account for what you describe. Sincerely, Daniel Selman [EMAIL PROTECTED] http://www.tornadolabs.com -Original Message- From: Discussion list for Java 3D API [mailto:[E

Re: [JAVA3D] helppppppp

1999-12-08 Thread Daniel Selman
Eric, Sorry - to follow up on my previous post. You should also be doing all of your painting code for your custom component inside: protected void paintComponent(Graphics g) { // do painting here... super.paintComponent( g ); } That way borders are handled correctly (though t

[JAVA3D] Morph or Appearance problem?

1999-12-08 Thread Bob Gray
Title: How to use OrderedGroup? I figured out how to do morphing.  Cool.   But now I get an error whenever I change the Appearance transparency (but not color) of a Shape3D which shares the Appearance I use in the Morph().     Exception occurred during event

Re: [JAVA3D] How to use OrderedGroup?

1999-12-08 Thread Olivier fillon
Title: How to use OrderedGroup? Actually, I face the verysame problem: switch AND ordered group need ..any idea --Olivier FillonMinestar Project[EMAIL PROTECTED]  Mincom Limited Ph.+61-7-3303-3344   61 Wyandra StreetFax+61-7-3303-3232   Teneriffe Qld. 4005.A

Re: [JAVA3D] How to use OrderedGroup?

1999-12-08 Thread Doug Gehringer
> How to use OrderedGroup?Actually, I face the verysame problem: switch AND > ordered group need ..any idea OrderedGroup == Group who's children are rendered in the order they appear in the Group (i.e. index 0 first, index 1 next, etc). This differs from the usual handling where there is no

Re: [JAVA3D] How to use OrderedGroup?

1999-12-08 Thread Gary L. Graf
Hi,   The book "Ready-to-Run Java 3D" by Kirk Brown and Daniel Peterson (Wiley Computer Publishing, New York, 1999) has a simple morphing Applet example in one of the chapters.     Good luck,  Gary Graf Bob Gray wrote:   I don't understand how to use OrderedGroup nodes.  Could someone poi

[JAVA3D] Xj3D Bug fix -- Navigation

1999-12-08 Thread giles
On Monday, December 06, 1999 2:38 PM, Rick Goldberg [SMTP:[EMAIL PROTECTED]] wrote: > Hi Alan, > > there is a new compile script for windows running cygnus bash, > and maybe someday automake and autoconf will make the build > more portable, but in the meantime please check out > http://www.web3d.o

[JAVA3D] Xj3D Bug Fix -- Navigation part II

1999-12-08 Thread giles
Seems I forgot to mention another code change in that file I sent(evagation.java). It includes a fix to multiple touchSensor's being activated with one click. It's in the mouseClicked routine. This might be a feature, can't tell. I've never seen a VRML browser exhibit this behavior, but I can'

[JAVA3D] A good example of dynamic scene changes

1999-12-08 Thread Steve Sampson
Hello, Does anybody have a good example of dynamically changing what is drawn. Or as least tell me where to look? I have a list of thing I want to draw, and as the program runs the list changes and the scene should change as a result. I understand how to move and rotate objects, but I wish to