Re: [JAVA3D] Canvas3D in JInternalFrame

2005-06-27 Thread Frederic Barachant
Dmitri Darin wrote: Hi, I know that it is the old problem and it is described in FAQ: http://java3d.j3d.org/faq/swing.html#internalframes But I'm wondering, is there ANY progress in this field since 02-JUL-1998?! http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4154448 Do we have any

[JAVA3D] Canvas3D in JInternalFrame

2005-06-27 Thread Dmitri Darin
Hi, I know that it is the old problem and it is described in FAQ: http://java3d.j3d.org/faq/swing.html#internalframes But I'm wondering, is there ANY progress in this field since 02-JUL-1998?! http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4154448 Do we have any hope with Java 1.5 and

Re: [JAVA3D] Canvas3D locking up on Windows XP OpenGL

2004-04-27 Thread Kevin Werner
t though. thanks for the help... kddubb > > Cheers, > Paul > > - Original Message - > From: "Kevin Werner" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, April 27, 2004 3:30 PM > Subject: [JAVA3D] Canvas3D locking up on Windows XP Ope

Re: [JAVA3D] Canvas3D locking up on Windows XP OpenGL

2004-04-27 Thread Paul Adamson
These would bothpoint to a problem nearer the hardware end. This is the point i would pullmy laptop out and see if it was just my computer.Cheers,Paul- Original Message -From: "Kevin Werner" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Tuesday, April 27, 2004 3:30 PM

Re: [JAVA3D] Canvas3D locking up on Windows XP OpenGL

2004-04-27 Thread Florin Herinean
list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Kevin Werner Sent: Dienstag, 27. April 2004 17:27 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Canvas3D locking up on Windows XP OpenGL Thanks Ben, The computer I'm testing on is a Dell only a month or two old, but I'll make

Re: [JAVA3D] Canvas3D locking up on Windows XP OpenGL

2004-04-27 Thread Kevin Werner
3D API > [mailto:[EMAIL PROTECTED] Behalf Of Kevin Werner > Sent: 27 April 2004 15:31 > To: [EMAIL PROTECTED] > Subject: [JAVA3D] Canvas3D locking up on Windows XP OpenGL > > > All, > > I'm having an interesting problem. I have a Java3D applet that I > developed o

Re: [JAVA3D] Canvas3D locking up on Windows XP OpenGL

2004-04-27 Thread Ben Moxon
:[EMAIL PROTECTED] Behalf Of Kevin Werner Sent: 27 April 2004 15:31 To: [EMAIL PROTECTED] Subject: [JAVA3D] Canvas3D locking up on Windows XP OpenGL All, I'm having an interesting problem. I have a Java3D applet that I developed on Linux. It has worked awesome. I run it on several platform

[JAVA3D] Canvas3D locking up on Windows XP OpenGL

2004-04-27 Thread Kevin Werner
All, I'm having an interesting problem. I have a Java3D applet that I developed on Linux. It has worked awesome. I run it on several platforms and it works fine on Windows XP DirectX (although slow), Mac, and Linux. However, the OpenGL version of Java3D locks the Canvas3D as far as I can tell.

Re: [JAVA3D] Canvas3D incompatible with card-layout?

2003-12-08 Thread Nikolai V. Chr.
Shyam Prakash wrote: Following links could be helpful YES, indeed one of those solved my problem. I just override setVisible. Thank you Nikolai -- Nikolai V. Christensen, Computer Engineer, Simulation and Training department IFAD, Forskerparken 10A, DK

Re: [JAVA3D] Canvas3D incompatible with card-layout?

2003-12-08 Thread Shyam Prakash
December 08, 2003 3:15 PM > To: [EMAIL PROTECTED] > Subject: [JAVA3D] Canvas3D incompatible with card-layout? > > I am having some trouble with the canvas. I put the canvas inside a JPanel > with a cardlayout, and select another card to be in front. Then I add the > JPanel to a visi

Re: [JAVA3D] Canvas3D incompatible with card-layout?

2003-12-08 Thread Pasi Paasiala
Title: RE: [JAVA3D] Canvas3D incompatible with card-layout? I assume that you can't use Canvas3D with CardLayout, since Canvas3D is a heavyweight component. It gets drawn on top of lightweight (Swing) components. I think there's some info about this in j3d.org. Try also to find i

Re: [JAVA3D] Canvas3D incompatible with card-layout?

2003-12-08 Thread Nikolai V. Chr.
Schäfer, Peter wrote: I also have a Canvas3D inside a CardLayout and it works fine for me. I have setDoubleBuffered(false) and setOpaque(true). Don't know if this has any relevance for your problem, but maybe it helps... Just tried that it didn't. But thank you anyway. -

Re: [JAVA3D] Canvas3D incompatible with card-layout?

2003-12-08 Thread "Schäfer, Peter"
I also have a Canvas3D inside a CardLayout and it works fine for me. I have setDoubleBuffered(false) and setOpaque(true). Don't know if this has any relevance for your problem, but maybe it helps... > I am having some trouble with the canvas. I put the canvas > inside a JPanel with a cardlayout,

[JAVA3D] Canvas3D incompatible with card-layout?

2003-12-08 Thread Nikolai V. Chr.
I am having some trouble with the canvas. I put the canvas inside a JPanel with a cardlayout, and select another card to be in front. Then I add the JPanel to a visible component. The trouble is: the Canvas3D now shows in front, no matter which card I ask to see. This happens only for 20 seconds o

Re: [JAVA3D] Canvas3D vs. JPanel

2003-07-11 Thread Ben Moxon
Depends on what bounds you give it.   -ben -Original Message-From: Zak Nixon [mailto:[EMAIL PROTECTED]Sent: 10 July 2003 20:08To: [EMAIL PROTECTED]Subject: [JAVA3D] Canvas3D vs. JPanel Does the Canvas3D take ALL available space from a JPanel when placed inside one

[JAVA3D] Canvas3D vs. JPanel

2003-07-10 Thread Zak Nixon
Does the Canvas3D take ALL available space from a JPanel when placed inside one?   thanks Zak

[JAVA3D] Canvas3D resizes in JSplitPane

2003-06-03 Thread Raghavendra R
Hi, I am resending this mail. I have a JSplitPane which has been split vertically. Now, this JSplitPane has 2 JSplitPanes on the left and right half. The left JSplitPane has 2 Canvas3Ds and the right JSplitPane has a bottom Canvas3D and a top Chart (extends JPanel). All the Canvas3Ds are attached

[JAVA3D] Canvas3D resizes in JSplitPane

2003-06-03 Thread Raghavendra R
Hi, I have a JSplitPane which has been split vertically. Now, this JSplitPane has 2 JSplitPanes on the left and right half. The left JSplitPane has 2 Canvas3Ds and the right JSplitPane has a bottom Canvas3D and a top Chart (extends JPanel). All the Canvas3Ds are attached to JPanels which in turn a

[JAVA3D] Canvas3D native exception

2003-04-12 Thread ¤p­»Û£
hi,       I design a Observer Pattern to sperate logic and presentation operation about the "Observer" part,     I use a state pattern for change different view with Java3D (class called ""ViewState")     thus, when the logic operation Notify(),     then the Update() would be invoked i

[JAVA3D] Canvas3D mess up with swing

2003-01-13 Thread Hong Cao
Hi, All, My program got problem when first creating 3D content. Instead of getting 3D image on Canvas3D, we get image of other part of the GUI frame on the Canvas3D. If we resize the frame, 3D image appears and everything becomes fine. I rememger last week there was an email talking about J3D mes

[JAVA3D] Canvas3D creation time

2002-12-30 Thread Hans Horn
On my venerable Athlon/900 with a 3dfx Voodoo3 graphics card Java3D openGL takes about 2 seconds to create a new Canvas3D; with DirectX it takes more than twice (5 seconds) that long.Similar but somewhat slower timings I get on a PIII/933 with a more recent nVidia Quattro card.Pretty patheti

Re: [JAVA3D] Canvas3D can be non-opaque ?

2002-12-12 Thread Djordjevich, Donna D
To: [EMAIL PROTECTED] Subject: [JAVA3D] Canvas3D can be non-opaque ? Hello, i'd like to know if it's possible to create a non-opaque Canvas3D? (transparent) I have allready try to overwrite the isOpaque method but it's not work new Canvas3D( getGraphicsConfiguration()){ public boolean

[JAVA3D] Canvas3D can be non-opaque ?

2002-12-12 Thread R. Carassou
Hello, i'd like to know if it's possible to create a non-opaque Canvas3D? (transparent) I have allready try to overwrite the isOpaque method but it's not work new Canvas3D( getGraphicsConfiguration()){ public boolean isOpaque(){return false;} }; thanks in advance for your advices Regards Renaud

[JAVA3D] canvas3D componentShown

2002-12-08 Thread Peter Warren
Does anyone know why of the 4 component listener methods only componentResized() gets called for a Canvas3D? componentHidden(...), componentMoved(...), and componentShown(...) never get executed. I'm trying to move the mouse cursor on the screen over a given virtual world object once the canvas3D

[JAVA3D] Canvas3D off-screen - memory

2002-12-06 Thread André Barbosa
People,   First question:   I´m using Canvas3D in off-screen mode to generate a JPEG image from a servlet. Well, its done normally, but it doesnt leaves the memory usage.   It works at NT4 and after each browse call to my servlet, Task Manager shows memory up, up, up, up. and never do

[JAVA3D] Canvas3D Refresh Problem

2002-10-30 Thread Lee Hoi Leong
Hi All, (B (BJust want to know has anyone experienced the same problem as me. (B (BI added a canvas3D to display 3D objects into a JFrame, and faces some (Bmysterious refreshing problem with that canvas3D. For example, if I hide (Bthe window containing the canvas3D partly behind another windo

[JAVA3D] Canvas3D in JInternalFrames

2002-10-24 Thread Martin Frey
Hiho I need to have more windows with a canvas3d. And so i try to solve the problems we have with canvas3d in internal frames. My idea of it is to make a print to a BufferedImage every time i deselect an internal frame. Then i do canvas3D.setVisible(false) and image.setVisible(true). Did thi

[JAVA3D] AW: [JAVA3D] AW: [JAVA3D] Canvas3D property values

2002-10-08 Thread Florin Herinean
PROTECTED]]Gesendet: Dienstag, 8. Oktober 2002 15:36An: [EMAIL PROTECTED]Betreff: Re: [JAVA3D] AW: [JAVA3D] Canvas3D property values Florin,   Thanks, this does work (mostly). Should have remembered the component needed to be realized first. For some reason, PhysicalWidth and Physi

Re: [JAVA3D] AW: [JAVA3D] Canvas3D property values

2002-10-08 Thread Jack Bowie
-Original Message-From: Florin Herinean [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 4:07 AMTo: [EMAIL PROTECTED]Subject: [JAVA3D] AW: [JAVA3D] Canvas3D property values It's not related to java3d but to the awt subsystem. You can't get any valid values

[JAVA3D] AW: [JAVA3D] Canvas3D property values

2002-10-08 Thread Florin Herinean
tried it).   Florin -Ursprüngliche Nachricht-Von: Jack Bowie [mailto:[EMAIL PROTECTED]]Gesendet: Montag, 7. Oktober 2002 15:55An: [EMAIL PROTECTED]Betreff: [JAVA3D] Canvas3D property values I am trying to get various screen properties (window PhysicalWidth, etc.) from my Ca

Re: [JAVA3D] Canvas3D property values

2002-10-07 Thread Brandon
What if you requested the focus on the canvas, and then tried to query it? __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com === To un

[JAVA3D] Canvas3D property values

2002-10-07 Thread Jack Bowie
Title: Canvas3D property values I am trying to get various screen properties (window PhysicalWidth, etc.) from my Canvas3D and am having timing problems. The objective is to set ScreenScale (I'm using parallel projection) correctly for a full window presentation of my geometry. I instantiate

[JAVA3D] Canvas3D problems

2002-10-05 Thread Wilga Hawkins
Hi, I am trying to get the dimensions of my Canvas3D object so that I may place objects on it at positions that are relative to the size of the Canvas3D. I have tried all the commands I could find but they all return 0 (which is not very useful). Any hints? Regards, Wilga ==

Re: [JAVA3D] Canvas3D is like.. "always on top"

2002-07-25 Thread Christopher Davies
Simeon > Speaking of, I haven't been able to get to www.j3d.org all week the > name isn't resolving in my DNS server (dns1.snantx.swbell.net). Anyone > else having problems? Did I miss something? Yes "Folks, Just a passing note to warn everyone that the various sites I host and reference a

Re: [JAVA3D] Canvas3D is like.. "always on top"

2002-07-25 Thread Simeon H.K. Fitch
Stanislav Mironov wrote: > Canvas3D is overlapping over other Swing components, like menus, context > menus > (JPopupMenu, JMenuBar), so pop-up menus are hidden over 3D scene where > they intersect. > How to "bring" canvas "to back" or "bring" menus "to front"? > The controls are in the same JFra

[JAVA3D] Canvas3D is like.. "always on top"

2002-07-25 Thread Stanislav Mironov
Canvas3D is overlapping over other Swing components, like menus, context menus (JPopupMenu, JMenuBar), so pop-up menus are hidden over 3D scene where they intersect. How to "bring" canvas "to back" or "bring" menus "to front"? The controls are in the same JFrame, canvas is on JPanel on contentPane

[JAVA3D] Canvas3D not rectangular

2002-07-25 Thread BEGHIN Matthieu
Hi,I'd like to have a canvas3D in a circle or something that is not a rectangle.The idea I had is to use the "paint" or "postRender" method to draw an image with transparency over the rendered picture but it doesn't work. My code is below. The postRender is always called but the image is not drawn

[JAVA3D] Canvas3D paint & JApplet

2002-06-10 Thread portsacero
Hello I have a Canvas3D that goes blank when other window (of my Applet or not) is put above the Canvas3D. Im wondering if it is problem of the famous swing/awt bug or I have to do something to fix that. Thanks! _ Do You Yahoo!? Get your

[JAVA3D] Canvas3D and JBuilder

2002-06-03 Thread Sandra Arthurs
Hi,   When I try to display my gui that has a Canvas3D with JBuilder, I get the following:   Exception during paint(): java.lang.ClassCastException: java.awt.LightweightPeer and the Canvas3D is not displayed.  Can someone help me get rid of this?   Thanks,   Sandy

Re: [JAVA3D] Canvas3D on Panels...

2002-05-07 Thread Simeon H.K. Fitch
> Hi! > I want to have the canvas3d added to a JPanel or a JLayeredPane. See this excellent article on The Swing Connection: http://java.sun.com/products/jfc/tsc/articles/mixing/index.html Simeon === To unsubscribe, send

Re: [JAVA3D] Canvas3D on Panels...

2002-05-07 Thread Yazel, David J.
The Canvas3d is a heavyweight component. It cannot be layered properly with lightweight components. Dave Yazel -Original Message- From: Tobias Bergman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 8:43 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] Canvas3D on Panels... Hi! I

[JAVA3D] Canvas3D on Panels...

2002-05-07 Thread Tobias Bergman
Hi! I want to have the canvas3d added to a JPanel or a JLayeredPane. It works fine to add the canvas, but I doesn’t appear. But if I skip the panel and add the canvas to contentPane of a JFrame I works fine… How should I do?   Best regards Tobias Bergman ==

Re: [JAVA3D] Canvas3D not honoring layering

2002-03-20 Thread Mike Goldwater
Auric Hydrates Ltd [EMAIL PROTECTED]> > -Original Message- > From: Discussion list for Java 3D API [mailto:JAVA3D- > [EMAIL PROTECTED]] On Behalf Of Innes, Erik > Sent: 20 March 2002 17:26 > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Canvas3D not honoring layering &g

Re: [JAVA3D] Canvas3D not honoring layering

2002-03-20 Thread Innes, Erik
D going to stick with Canvas3D being an AWT component in the future? -Original Message- From: Josh Richmond [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 7:58 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Canvas3D not honoring layering Check the J3D FAQ regarding mixing

Re: [JAVA3D] Canvas3D not honoring layering

2002-03-18 Thread Josh Richmond
Check the J3D FAQ regarding mixing heavy and lightweight components: http://www.j3d.org/faq/swing.html >>> [EMAIL PROTECTED] 03/18/02 10:41AM >>> Canvas3D seems to always keep itself on top, so that drop down menus (and other GUI components) always fall behind it. Is there any way to get the Canv

[JAVA3D] Canvas3D not honoring layering

2002-03-18 Thread Innes, Erik
Title: Message Canvas3D seems to always keep itself on top, so that drop down menus (and other GUI components) always fall behind it. Is there any way to get the Canvas3D to honor the layering of other components?   Here's a piece of my code. The internal frame that the Canvas3D is placed in

[JAVA3D] Canvas3D not refreshing property in 1.2.1_04 under JDK 1.4

2002-03-11 Thread Scott Rutledge
As the subject says, I'm getting refresh issues with the new J3D 1.2 path under JDK 1.4. The canvas doesn't repaint itself under the following conditions: - a heavyweight popupmenu is display on top of if, then hidden (leaves gray square), note that a heavyweight tooltip doesn't cause this proble

Re: [JAVA3D] Canvas3D & JSplitPane

2002-03-08 Thread Pereira Sieso, Rafael
]] Enviado el: lunes, 25 de febrero de 2002 22:14 Para: [EMAIL PROTECTED] Asunto: [JAVA3D] Canvas3D & JSplitPane I've put my canvas3D in a JSplitPane but I can only make the window its in get bigger when I drag the splitter to the right. When I try to drag the split bar back left again it w

[JAVA3D] Canvas3D background erased?

2002-03-07 Thread Subu
When I switch to another application on my system, and switch back to my Java3D application, paint() of Canvas3D is called and the scene is rendered correctly. Now when I move my mouse or press any key, the Canvas3D is cleared with the AWT back ground color. But everything is ok after I cli

Re: [JAVA3D] Canvas3D & JSplitPane

2002-03-04 Thread Stuart Reid
I have no idea why this works, but I solved this problem by deriving from Canvas3D and overriding getMinimumSize: public class MyCanvas extends Canvas3D { public MyCanvas() { super(SimpleUniverse.getPreferredConfiguration()); } // Override of Canvas3D method, to ensure correct behavi

Re: [JAVA3D] Canvas3D & JSplitPane

2002-02-26 Thread Dutchie Programmer
Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]] On Behalf Of Jenkins, Todd (HOU) Sent: Tuesday, February 26, 2002 8:50 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Canvas3D & JSplitPane Brad, I put my navigation panel in a split pane and it is either open or cl

Re: [JAVA3D] Canvas3D & JSplitPane

2002-02-25 Thread Jenkins, Todd (HOU)
-Original Message- From: Brad Urani [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 3:14 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] Canvas3D & JSplitPane I've put my canvas3D in a JSplitPane but I can only make the window its in get bigger when I drag the splitter to

Re: [JAVA3D] Canvas3D and KeyListener

2001-09-27 Thread Desiree Hilbring
> Desiree, > > Is your canvas3D "live" at the time you check focus? What exactly, do you mean with live? I can see it, and it has some 3D content in it, which I can see as well. Perhaps put in a > setVisible(true) on whatever contains your canvas3D and THEN check > status of focus. I have a GI

[JAVA3D] Canvas3D and KeyListener

2001-09-27 Thread Desiree Hilbring
Hi, I am attaching a KeyListener to my Canvas3D. Then I try to request the focus for the Canvas3D afterwards. This is the code: canvas3D.addKeyListener(this); canvas3D.requestFocus(); System.out.println("hallo"+canvas3D.hasFocus()); T

Re: [JAVA3D] Canvas3d

2001-09-26 Thread Kapil Joshi
PROTECTED] Subject: [JAVA3D] Canvas3d   Is there anyway to make lightweight swing components appear on top a Canvas3D?   Thanks. Zak

Re: [JAVA3D] Canvas3d

2001-09-26 Thread Gregory Pierce
2001 1:03 PM Subject: [JAVA3D] Canvas3d Is there anyway to make lightweight swing components appear on top a Canvas3D?   Thanks. Zak

[JAVA3D] Canvas3d

2001-09-26 Thread Zak Nixon
Is there anyway to make lightweight swing components appear on top a Canvas3D?   Thanks. Zak

[JAVA3D] Canvas3D positioning problems

2001-09-04 Thread Dola Woolfe
Hi, This problem occurs under a variety of circumstances so unless you guys don't know what I'm talking about I'll try to describe those circumstances... but have you every noticed that the canvas3D jumps out of its "laid-out" location and onto some other place on the screen (towards upper-left).

Re: [JAVA3D] Canvas3D in JInternalFrames on JDesktopPane: Explain the stacktrace / BUG

2001-08-27 Thread Kelvin Chung
: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 >Date: Sat, 25 Aug 2001 15:33:04 +0100 >From: Spencer Goh <[EMAIL PROTECTED]> >Subject: [JAVA3D] Canvas3D in JInternalFrames on JDesktopPane: Explain the stacktrace / BUG >To: [EMAIL PROTECTED] > >Hi there,

Re: [JAVA3D] Canvas3D in JInternalFrames on JDesktopPane: Explain the stacktrace / BUG

2001-08-25 Thread Spencer Goh
D API [mailto:[EMAIL PROTECTED]] On Behalf Of Spencer Goh Sent: 25 August 2001 18:36 To: [EMAIL PROTECTED] Subject: [JAVA3D] Canvas3D in JInternalFrames on JDesktopPane: Explain the stacktrace / BUG Hi there, I'm getting this error which is a huge problem as it completely kills my applicatio

[JAVA3D] Canvas3D in JInternalFrames on JDesktopPane: Explain the stacktrace / BUG

2001-08-25 Thread Spencer Goh
Hi there, I'm getting this error which is a huge problem as it completely kills my application and I don't know what to do. Submission deadline for my work is in just under 2 weeks and this is the last major problem I have. I can greatly limit my program to 4 internal frames to avoid this bug, bu

[JAVA3D] Canvas3D in JInternalFrames on JDesktopPane: Explain the stacktrace / BUG

2001-08-25 Thread Spencer Goh
Hi there, I'm getting this error which is a huge problem as it completely kills my application and I don't know what to do. Submission deadline for my work is in just under 2 weeks and this is the last major problem I have. I can greatly limit my program to 4 internal frames to avoid this bug, bu

Re: [JAVA3D] Canvas3D

2001-06-06 Thread Kelvin Chung
6 +0200 >From: Ben Arbel <[EMAIL PROTECTED]> >Subject: [JAVA3D] Canvas3D >To: [EMAIL PROTECTED] > >Hi J3D guys > >can someone explain the output of >canvas.toString()// where canvas is a canvas3D instance > >im getting an output of >javax.media.j3d.Canvas3D[c

[JAVA3D] Canvas3D

2001-06-06 Thread Ben Arbel
Hi J3D guys   can someone explain the output of canvas.toString()    // where canvas is a canvas3D instance   im getting an output of javax.media.j3d.Canvas3D[canvas1,0,0,0x0,invalid] can you please tell me what does the "invalid" stand for ?   thanks, Ben Arbel Xtivia Technologies [EMAIL

Re: [JAVA3D] Canvas3D in a java.awt.ScrollPane ?

2001-04-24 Thread Kyle McDonald
Josh, You may be right in your case. It probably is a light vs. heavy thing. But in my case, I'm using the AWT scrollpane, just for that very reason - It's also Heavyweight, so there shouldn't be any issues. I think it's some sort of problem in the uncover/repaint code. But I don't even know w

Re: [JAVA3D] Canvas3D in a java.awt.ScrollPane ?

2001-04-24 Thread Josh Richmond
Kyle, I'm experiencing the same things, only I have an ordinary JTextArea in the scroll pane (which floats above my Canvas3D). I think this is being caused by the Canvas3D, but I'm not sure why. Maybe a light/heavyweight problem? I'm using WinNt4, JDK1.3.0, J3D1.2.1 OpenGL. josh

Re: [JAVA3D] Canvas3D

2001-04-24 Thread Jacky Rymasz
Did you add a Background Branch set with the color green to your tree? JR - Original Message - From: Ben Arbel <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 24, 2001 7:04 AM Subject: Canvas3D > Hey 3D Guys > > A very simple question this time.. any idea why after i se

Re: [JAVA3D] Canvas3D

2001-04-24 Thread Renoir Sewjee
, i prefer > not to use any unneeded objects, especially not the expensive j3d ones.. : ) > > -Original Message- > From: Renoir Sewjee [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 24, 2001 8:34 AM > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Canvas3D > > Hi

[JAVA3D] Canvas3D

2001-04-23 Thread Ben Arbel
Hey 3D Guys A very simple question this time.. any idea why after i set the color for a canvas3D it goes back to being black ? i tried using canvas.setBackground(java.awt.color.Green) and it changes for a split second and then goes back to black.. is this a bug ? am i doing something wrong ? tha

Re: [JAVA3D] Canvas3D in a java.awt.ScrollPane ?

2001-04-23 Thread Kyle McDonald
Correction. It does seem to work on Solaris 8 J2SDK-se-1.3.0_02 Java3D-1.2.1 OpenGL Solaris OpenGL 1.2.1 It doesn't seem to work on: Windows 2000 J2SDK-se-1.3.1rc1 Java3D-1.2.1 OpenGL MS OpenGL I haven't tried DirectX. -K

[JAVA3D] Canvas3D in a java.awt.ScrollPane ?

2001-04-23 Thread Kyle McDonald
Hi. Has anyone used a Canvas3D in a java.awt.Scrollpane component? If so did you see any problems when you scrolled it? For me the 'newly uncovered' area never gets drawn. If I minimize the window, and then un-iconify it again, the window is drawn

Re: [JAVA3D] Canvas3D

2001-04-01 Thread John Davies
Probably something to do with the setMaximum/Prefered or Minimum size of the JPanel. You could try overridding the method when you create the JPanel or in the class if you've extended JPanel. -John- "K.R.Karthikeyan" wrote: Hi, I am having a JPanel which contains a JSplitpane.In the JSplitpane

[JAVA3D] Canvas3D

2001-04-01 Thread K.R.Karthikeyan
Hi,   I am having a JPanel which contains a JSplitpane. In the JSplitpane i added one JPanel and One Canvas. Now i am not able to resize the Canvas using the devider.   ( Note: I can maximize the size of the Canvas, not able to minimize )   I attached the image also here.   Any Comments wi

Re: [JAVA3D] 3D User Interfaces with JAVA3D - Canvas3d problem

2001-03-22 Thread Jon Barrilleaux
sufficient interest out there for a new release of the "official" library on the publisher's web site, I'll make one. --jon > Subject: > 3D User Interfaces with JAVA3D - Canvas3d problem >Date: > Wed, 21 Mar 2001 20:57:08 - >From: >

Re: [JAVA3D] 3D User Interfaces with JAVA3D - Canvas3d problem

2001-03-21 Thread Nathan Bower
Mistake, reconfigured below should be PRECONFIGURED! > After further investigation I have discovered that there seems to be no way > to fix this as the AppDisplay class provided and used by the code in the > book does not have a constructor that can be called with a Canvas3D, which > can of cours

[JAVA3D] 3D User Interfaces with JAVA3D - Canvas3d problem

2001-03-21 Thread Nathan Bower
Hello, I'm reading the 3D User Interfaces with JAVA3D, and have been experimenting with the CameraNavigating example. I have noticed that every single example in this book constructs Canvases without first getting the GraphicsConfiguration of the local machine. After further investigation I hav

[JAVA3D] Canvas3D not rendering to whole window

2001-03-08 Thread J. Lee Dixon
I have recently changed how my Canvas3D size is selected. Since we are switching to changing "skins", we compute the location & size of the canvas3D and set it using setBounds(). Works fine in a browser window, but while running as an application (from Kawa) the Canvas is the right size, but the

[JAVA3D] Canvas3D and various JFrame

2001-02-12 Thread Carlos Ariza
I all, I have an application which i run using java3d and 1.2 jdk1.3, i have a Canvas3D put in a JInternalFrame and i'm trying to make setTransform or addChild from another different Jframe (It's not JinternalFrame). How can I implement it? Thanks, Excuse me by my english. ==

[JAVA3D] Canvas3D : pb on HP , not on SGI

2001-02-07 Thread SUBSCRIBE JAVA3D-INTEREST Anonymous
Hi I've got in the execution of my application on HP and not on sgi, the next msg : 'WARNING : Null pointer configuration on canvas3D.' What's more there is in my application a pb 3d that doesn't exist on SGI: on sgi appear one boundingsphere :it's ok, whereas on HP appear 2 boundingsphere w

Re: [JAVA3D] Canvas3d consumes 100% cpu

2001-02-06 Thread Kelvin Chung
iority: 3 >X-MSMail-Priority: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 >Date: Tue, 6 Feb 2001 16:54:46 +0100 >From: alvaro zabala <[EMAIL PROTECTED]> >Subject: [JAVA3D] Canvas3d consumes 100% cpu >To: [EMAIL PROTECTED] > >Hi!,Kelvin. >I tried to s

Re: [JAVA3D] Canvas3d consumes 100% cpu

2001-02-06 Thread alvaro zabala
Hi! I´m trying to build a function like "target" in VRML. I use a PickBehavior, and when I get the coordinates of the point where I picked, I get the equation of the line in the 3d space and pass the coordinates betwen View Point and Pick Point to the Transform. The problem is that I "pass" like

[JAVA3D] Canvas3d consumes 100% cpu

2001-02-06 Thread alvaro zabala
Hi!,Kelvin. I tried to solve the problem of the class which extends Canvas3D and consumes 100% of CPU. I´ve made three class which extends MouseRotate, MouseZoom and MouseTranslate. The code is like this: class MiMouseZoom extends MouseZoom{ public void initialize(){ wakeupOn(new WakeupOnElap

Re: [JAVA3D] Canvas3D in JInternalFrame gives physical dump.

2001-01-26 Thread Liming CHEN
This is the problem I came across . I built  an application which i run using jdk1.3 and java3d 1.2.  Without interface the application works okay. However, when I add an interface to the application there came the problem. I add a Menu bar to the Jframe, put the Canvas in the Jframe.getContentP

[JAVA3D] Canvas3D in JInternalFrame gives physical dump.

2001-01-25 Thread Ashish Tayal
Hi all,   I have an application which i run using jdk1.3 and java3d 1.2 . In the application i have a Canvas3D put in a JPanel, which in turn is put in JSplitpane, which is in JInternalFrame. So there is an AWT component with the Swing components.     The problem is that the application pops

Re: [JAVA3D] Canvas3d redraw

2000-11-09 Thread Fred Klingener
From: "Carl Smotricz" <[EMAIL PROTECTED]> Sent: Thursday, November 09, 2000 2:00 AM > Hello Chu, > ... > If you want to change the position of something, removing it and > re-inserting it is a slow and difficult way to do it. Instead, you should > attach the object to a Transform3D node (between

Re: [JAVA3D] Canvas3d redraw

2000-11-08 Thread Carl Smotricz
Hello Chu, If I understand your intent correctly, you're going to far more effort than necessary. The Java3D engine is continually updating the canvas, especially when you change something, so there's no need to explicitly ask for an update. If you want to change the position of something, remo

[JAVA3D] Canvas3d redraw

2000-11-08 Thread Chu J Tan
I'm very new at Java3d.. What's the way to go about updating branchgroups and redrawing canvas? I've a couple of sliders that sets the position of couple of objects in 3d and user need to click redraw button to redraw the canvas3d. This is my attempt, I've very little concept of Locale and Simp

[JAVA3D] Canvas3D not being garbage collected.

2000-08-22 Thread Thorn Green
Has anybody had problems getting a subclass of Canvas3D to garbage collect (after being used)? I don't see any references in my code pointing to the object. I know its removeNotify() method has been called because I subclassed the method with a print statement, and tested to make sure the appropr

Re: [JAVA3D] canvas3D into Panel

2000-08-10 Thread Malguy, Eric G.
.oooO ( ) ( ) ) / \ ( (_/ \_) -Original Message- From: Vlad Valica [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 09, 2000 4:48 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] canvas3D into Panel Hello! I'd like to know how can I put a canvas3D into a p

Re: [JAVA3D] canvas3D into Panel

2000-08-09 Thread Carl Smotricz
Vlad, At 22:48 09.08.00 , you wrote: >Frame fram = new Frame(); >Panel pan = new Panel(); >pan.add(canvas3d); >fram.add(pan); >fram.pack(); >fram.setVisible(true); I haven't had time to test this, but it could be you're missing something as simple as a Layout to make your Canvas3D visible. For

[JAVA3D] canvas3D into Panel

2000-08-09 Thread Vlad Valica
Hello! I'd like to know how can I put a canvas3D into a panel. I have an object 3D (wrl) into a canvas3D and I need to putthe canvas3D into a panel. I tried to put the canvas into a frame and it's OK. I can see it. But if I try to put it into a Panel and after into a frame I see nothing. For exa

Re: [JAVA3D] Canvas3D in JSplitPane

2000-07-20 Thread JayT
IL PROTECTED]> Sent: Thursday, July 20, 2000 2:11 AM Subject: [JAVA3D] Canvas3D in JSplitPane > Hello . > When I add Canvas3D into JSplitPane ,It doesn't work properly, How can I add Canvas3D oin JSplitPane like JPanel? > kensun >

[JAVA3D] Canvas3D in JSplitPane

2000-07-20 Thread kensun
Hello . When I add Canvas3D into JSplitPane ,It doesn't work properly, How can I add Canvas3D oin JSplitPane like JPanel? kensun kensun [EMAIL PROTECTED] === To unsubscribe, send e

Re: [JAVA3D] Canvas3D & Swing issues

2000-03-03 Thread Jacob Nikom
Look at http://java.sun.com/products/jfc/tsc/articles/mixing/index.html Jacob Nikom Akber Datoo wrote: > > Hi! > > I encounter problems when using the canvas3D in JFrames. I have been told > that this is because of the heavyweight/lightweight conflict i.e. the > Canvas3d is a heavyweight compone

Re: [JAVA3D] Canvas3D & Swing issues

2000-03-03 Thread Jose Gonzalez
Hi, Akber... The problem you may encounter is swing components hidding below the canvas3D (I think, if you encounter any other, please, be more specific). This is only a problem in the case of menus (as far as you are a little careful about laying components). In this case you can avoid t

[JAVA3D] Canvas3D & Swing issues

2000-03-01 Thread Akber Datoo
Hi! I encounter problems when using the canvas3D in JFrames. I have been told that this is because of the heavyweight/lightweight conflict i.e. the Canvas3d is a heavyweight component, whereas the JFrame is a lightweight component. Does anyone know any ways to get around this(Except switching fr

[JAVA3D] Canvas3D reusability. Again.

2000-02-25 Thread Vladimir Olenin
Hi, Just a very tiny question. The issue of video (and not only) resources leakage of Canvas3D, J3D 1.1.x, has been arisen here a couple of times. But, still, there are some unexpected things're left, 4 me at least. The first question is when exactly Canvas3D looses allocated resources? I thought

Re: [JAVA3D] Canvas3D pixel size

2000-02-14 Thread Daniel Selman
AIL PROTECTED] > Subject: [JAVA3D] Canvas3D pixel size > > > Hi Daniel, > > Would you please consider this: > > How does one compute the size of a Canvas3D pixel in meters that is > currently being viewed (and compute it consistently)? > > I use the viewing platform

[JAVA3D] Canvas3D pixel size

2000-02-14 Thread Dipasqua, Aldo
Hi Daniel, Would you please consider this: How does one compute the size of a Canvas3D pixel in meters that is currently being viewed (and compute it consistently)? I use the viewing platform to view a world globe (Sphere class) representing the earth. I have tried the following to do this with

Re: [JAVA3D] Canvas3D reusing

2000-01-31 Thread Vladimir Olenin
BP> The best I can suggest is to tr the OpenGL version, assuming you BP> have an openGL accelerated driver for your card. I found it to be BP> much more stable than the DirectX version (and of course the DX BP> version doesn't work on NT4) Brett, i would have gladly used only OpenGL version, but,

  1   2   >