Re: [JAVA3D] Surfaces: HELP!

2002-10-08 Thread Richard Smith - Systems Engineer - Melbourne
Unless I misunderstand the problem, one possible approach is to use a CSG representation for the objects, subdivide the space into boxes, eliminate boxes where the implicit surface can't be, and use a marching-cubes algorithm to recover the implicit surface from the remaining boxes. I forsee a fe

Re: [JAVA3D] Overlay using Canvas3D.getGraphics, sucess story

2002-10-08 Thread Roger Berggren
Hi again, You should not need to override the paint method if you use java instead of javaw as the Java application launcher. The 'extra' code put there is the: Toolkit.getDefaultToolkit().sync(); and this was a workaround found by Scott Rutledge for the following bug: (http://developer.java

Re: [JAVA3D] Changing LineArray color

2002-10-08 Thread Nitin.Jain
First thing you should do is upgrade the Java3D version, it has come a long way since then. I'm using Java3D 1.3 and am able to do it successfully on Windows platform. You have to set the COLOR_WRITE capability of LineArray and then use the setColors method. This feature is BUGGY on Linux version

[JAVA3D] Changing LineArray color

2002-10-08 Thread Raghavendra R
Hi, Is it possible to change the colors of LineArray at runtime? I am initially drawing lines as LineArray in white color. Later, i tried to change the color to black. However, it is not getting reflected on the Canvas3D. I am using JRE 1.2.2 / Java3D 1.1.3. Thanks Raghav ==

Re: [JAVA3D] Can I Deform a Shape3D ????

2002-10-08 Thread Brad Christiansen
Hi, You best bet may be to use by ref geometry and the geometry update interface (can't remember the exact interface name). Basicaly, using this method, you can alter the locations of your coordinates in the array directly (as long as it is done using the above mentioned interface). You can the

Re: [JAVA3D] Possible Text2d Bug

2002-10-08 Thread Stoney Jackson
Found it :) 4730414 They offer a better work around too. -Stoney === 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

Re: [JAVA3D] Possible Text2d Bug

2002-10-08 Thread Roy Duffy
For the record, I couldn't find this listed as an open bug in the Bug Parade. -Roy Stoney Jackson wrote: > Yes this is a bug in Text2d.java > > The setString(String text) method draws a new image for text, and tries to update >the image in the Texture using setImage(0, newImage). If newImage

Re: [JAVA3D] Possible Text2d Bug

2002-10-08 Thread Stoney Jackson
Yes this is a bug in Text2d.java The setString(String text) method draws a new image for text, and tries to update the image in the Texture using setImage(0, newImage). If newImage is not the same size as the old image that was at level 0, then java.lang.IllegalArgumentException is thrown. Wor

Re: [JAVA3D] Possible Text2d Bug

2002-10-08 Thread Roy Duffy
Hi Alessandro, Thanks for responding.  I tried adding those lines and I still got the exception.  Then I tried using your code and I still got the exception.  What am I missing here? It also doesn't seem like the type of exception I'd get if I didn't have a capability set. This is the exception I

Re: [JAVA3D] Question concerning Dot3 Texturecombiner

2002-10-08 Thread Stoney Jackson
Old thread... sorry On Fri, 4 Jan 2002 10:54:23 -0800, Charmaine Lee <[EMAIL PROTECTED]> wrote: >> > >> > Hmmm. The current combine mode only allows you to specify source from >> > one texture unit state, aka the previous one. In order to do what you >> >> You mean I can't use TEXTURE_COLOR and

Re: [JAVA3D] Question concerning Dot3 Texturecombiner

2002-10-08 Thread Stoney Jackson
This is an old thread... sorry. On Fri, 21 Dec 2001 11:42:54 -0800, Charmaine Lee <[EMAIL PROTECTED]> wrote: >> Well this is still the rule. You can only add, subtract, multiply, >> interpolate or dot3 but not a combination between these. And only >> interpolation uses 3 sources. (Couldn't think

Re: [JAVA3D] Overlay using Canvas3D.getGraphics, sucess story

2002-10-08 Thread ZACZEK, MARIUSZ P. (JSC-DM) (NASA)
Another question, Roger...     I noticed you refer to 'javaw' ... would still need to override paint when using 'java' ?     Basically, do you get similar performace when using java as opposed to javaw?     I'm going to try your version of the code when I get some time...comparing it to my code

Re: [JAVA3D] Overlay using Canvas3D.getGraphics, sucess story

2002-10-08 Thread ZACZEK, MARIUSZ P. (JSC-DM) (NASA)
Also, is there a difference depending on what java you use...1.3 versus 1.4?      Mario Mariusz Zaczek NASA - Johnson Space Center Automated Vehicles and Orbit Analysis / DM35 Flight Design and Dynamics Division Mission Operations Directorate Bldg: 30A Room: 3048B Disclaimer: "The opinions

Re: [JAVA3D] Possible Text2d Bug

2002-10-08 Thread Alessandro borges
Hi, Roy ! There is no Text2D bug. you just forget to add the following lines : text.setCapability( Shape3D.ALLOW_GEOMETRY_READ); text.setCapability( Shape3D.ALLOW_GEOMETRY_WRITE); See your code working in the zip file ;) Alessandro --- Roy Duffy <[EMAIL PROTECTED]> escreveu: > I've seen a p

[JAVA3D] Possible Text2d Bug

2002-10-08 Thread Roy Duffy
I've seen a posting back in May about a possible bug in either the Text2D class or the Texture2D class, but I couldn't find any resolution on the problem. Now I've hit the problem too and I'm thinking that it's a bug. The problem is I get an "illegal image size" exception when I try to call setStr

[JAVA3D] BUG:::::LineArray geometry in Linux

2002-10-08 Thread Nitin.Jain
Hi All, It took us a while to re-produce the same bug in the test environment. It seems there is a bug in LineArray in Linux version of Java3D 1.3. If we set the capability bit for "ALLOW_COLOR_WRITE", the geometry gets messed up with more than 1500 lines or so. If I remove this capability then

Re: [JAVA3D] Overlay using Canvas3D.getGraphics, sucess story

2002-10-08 Thread Carlos D Correa
Hi, Do you have, by any chance, some performance results - in frames per second - of using overlays in 2D instead of 3D ? In the applications I'm developing, I started using the 2D approach (postRender, Paint, etc etc) and then I switched to 3D elements, and I obtained (consistently) better perf

Re: [JAVA3D] Overlay using Canvas3D.getGraphics, sucess story

2002-10-08 Thread Roger Berggren
Hi, No I have experienced the problems you describe. The only thing that have caused me problems was swing bug when using javaw. This bug causes drawing problems for components that are not double buffered, and I guess some of your symptoms might be from that or similiar bug. Apart from that it

Re: [JAVA3D] Overlay using Canvas3D.getGraphics, sucess story

2002-10-08 Thread ZACZEK, MARIUSZ P. (JSC-DM) (NASA)
I was wondering if you found any problem like excessive repaint time, per chance? I have not compared your version yet with the one I have tried but mine would have a wierd repaint issue...when, for example, I moved the windows off the screen and then moved it back (canvas3d with Swing panel), t

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

2002-10-08 Thread Florin Herinean
Title: Message Hi Jack,   The PhysicalWidth & Height are 0.0 because, most probably, you still don't have an active view attached to your canvas3d at the moment when you invoke the getters.   Cheers,   Florin -Ursprüngliche Nachricht-Von: Jack Bowie [mailto:[EMAIL PROTECTED]]Ge

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

2002-10-08 Thread Jack Bowie
Title: Message Florin,   Thanks, this does work (mostly). Should have remembered the component needed to be realized first. For some reason, PhysicalWidth and PhysicalHeight are still zero, but these can be approximated using the constants documented in the Screen3D Javadocs.   Jack ---

Re: [JAVA3D] Starfire 3ds loader & behaviors

2002-10-08 Thread John Wright
Matthieu, No, at this time we do not load any animation data nor lights. Our loader is intended for loading "models" (which we also use extensively for terrain). - John Wright Starfire Research matthieu beghin wrote: > > Hi, > I'd like to know if Starfire 3ds file loader can load > animation e

[JAVA3D] Starfire 3ds loader & behaviors

2002-10-08 Thread matthieu beghin
Hi, I'd like to know if Starfire 3ds file loader can load animation exported from 3D Studio (in a behavior node ?). Can it load lights ? Thanks for your help Matthieu Beghin _ Envoyez des messages musicaux sur le portable de vos amis http:/

Re: [JAVA3D] 3D Applets

2002-10-08 Thread evolutie
and ladies, thank you very much :) - Original Message - From: Dirk L. van Krimpen To: [EMAIL PROTECTED] Sent: Tuesday, October 08, 2002 1:24 PM Subject: [JAVA3D] 3D Applets   Hi all,   Got a lot of response from the interest group on my request last w

[JAVA3D] Help in Shape3D

2002-10-08 Thread Jefferson Samuel
Hello Everybody!! It would be of great help if anyone can suggest me a way to deform a Shape3D changing the old points to new once. Transition between these two states of the same Shape3D must be an animated effect. Kind help! Thank U. With Regards Jeffy =

[JAVA3D] Can I Deform a Shape3D ????

2002-10-08 Thread Jefferson Samuel
Hello Everybody!! I have a case where I have detailed geometry (Shape3D) created of IndexedQuadArray that has 6 coordinates reused 8 times (coordinate Index). During an event in the user interface say button click I want to change the position of all the 6 points and wish to set this new geomet

[JAVA3D] 3D Applets

2002-10-08 Thread Dirk L. van Krimpen
  Hi all,   Got a lot of response from the interest group on my request last week for sites where a visitor could experience working 3D applets. I like to thank all these enthusiastic guys who responded, like David, Asaf, Mark, Allesandro, Kevin, Evo and others.   There were indeed a number o

[JAVA3D] Java3D on Red Hat Linux 8.0

2002-10-08 Thread Pramual Suteecharuwat
Dear all, I just tried to run Java3D on Red Hat Linux 8.0. First of all, after installing RH 8.0 into my PC, I tried to compile Mesa3D 4.0.4, BUT it was impossible. There were some errors reported after I tried to "make" it. I don't know why, perhaps it's the problem about the gcc library. In RH

Re: [JAVA3D] Surfaces: HELP!

2002-10-08 Thread Dirk L. van Krimpen
Hi Ranjan, A similar application is normally being used in CAM programs using surface milling. In that case, a so-called ball-nose cutter is constantly in contact with, and moves over the surface. What is being used sometimes is a so-called offset surface. Offset being the radius of the cutter. S

[JAVA3D] AW: [JAVA3D] Canvas3D property values

2002-10-08 Thread Florin Herinean
Title: Canvas3D property values It's not related to java3d but to the awt subsystem. You can't get any valid values from your canvas3d (or btw any other awt component) before the native peer is created. You should first create your frame, put inside your canvas3d with the associated universe