[JAVA3D] Separate Specular Color

2003-03-17 Thread N. Vaidya
Been a little out of sync with the the latest API docs... Is GL_SEPARATE_SPECULAR_COLOR specifiable explicitly in Java 3D, or, does it get invoked automatically ? Looks like this feature has been available since OGL 1.2 (?). Thanks in advance Vaidya

Re: [JAVA3D] Problem with Specular Color

2003-03-17 Thread Mark Hood
> Date: Mon, 17 Mar 2003 18:04:33 -0800 > From: Monica Sleumer <[EMAIL PROTECTED]> > > Thanks for your help. > > The combination of setting the shininess to 1 and the specular color to > something near black has solved the problem. Just doing one of the two > doesn't work. You're welcome,

Re: [JAVA3D] Problem with Specular Color

2003-03-17 Thread Monica Sleumer
Thanks for your help. The combination of setting the shininess to 1 and the specular color to something near black has solved the problem. Just doing one of the two doesn't work. I also used GeometryInfo to recalculate the normals, and now the cylinders look round instead of faceted, so that's an

Re: [JAVA3D] Problem with Specular Color

2003-03-17 Thread Mark Hood
> Date: Mon, 17 Mar 2003 16:02:37 -0800 > From: Monica Sleumer <[EMAIL PROTECTED]> > > In the picture you can see a series of brown cylinders embedded in a > blue plane with a yellow stripe. All of the cylinders share the same > geometry and nted size. The geometry was obtained from a VRML9

Re: [JAVA3D] Problem with Specular Color

2003-03-17 Thread Monica Sleumer
Thanks for your response. I've attached a small image showing an example of the problem. In the picture you can see a series of brown cylinders embedded in a blue plane with a yellow stripe. All of the cylinders share the same geometry and appearance, and each are scaled down using a transform grou

Re: [JAVA3D] Problem with Specular Color

2003-03-17 Thread Mark Hood
> Date: Mon, 17 Mar 2003 12:39:10 -0800 > From: Monica Sleumer <[EMAIL PROTECTED]> > > I'm having a very strange problem with the colors in my scenegraph. I'm > using a series of shape3Ds that all share the same appearance and > geometry objects to save memory. The problem is, the majority

Re: [JAVA3D] [Linux] How to create CD bundled JRE + Java3D for L inux?

2003-03-17 Thread Jeremy Booth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA) wrote: | I would strongly recommend InstallAnywhere 5 Now | http://www.zerog.com/downloads_05.html | I'd agree here, not sure it's exactly what you are after, as one installer isn't good for all O

Re: [JAVA3D] Automated Testing with Java 3D

2003-03-17 Thread Ian M Nieves
I use JUnit for unit testing. Its simple, easy, free. I dont know what your specific needs are, but thats my 2 cents. Ian On Mon, 17 Mar 2003, Chet Urata wrote: > Does anyone do any automated unit, integration and/or system testing with > Java 3D? I be interested in hearing what software you

[JAVA3D] Problem with Specular Color

2003-03-17 Thread Monica Sleumer
Hi everyone, I'm having a very strange problem with the colors in my scenegraph. I'm using a series of shape3Ds that all share the same appearance and geometry objects to save memory. The problem is, the majority of them reflect the specular color from one of their flat surfaces at all times. It d

[JAVA3D] Automated Testing with Java 3D

2003-03-17 Thread Chet Urata
Does anyone do any automated unit, integration and/or system testing with Java 3D? I be interested in hearing what software you are using to accomplish this. I have heard from tech support at Rational that Robot and RobotJ have a complex interface that needs to be setup for the Java 3D objects to

[JAVA3D] Java 3D FAQ Weekly Posting (17 Mar 2003)

2003-03-17 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday March 17 2003 This is a posting of topics covered in the Java 3D FAQ. The answers to these questions are kept at: http://www.j3d.org/faq Please consult this list and the web site before asking questions on the mailing list. If ther

Re: [JAVA3D] [Linux] How to create CD bundled JRE + Java3D for L inux?

2003-03-17 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
With this application (Installanywhere 5 NOW) it will make an install program. So, it will install on the local machine and will take up HD space. But it's pretty much idiot proof (from the user's stand point) because you just keep clicking next. But it will be easy for the user, will not require

Re: [JAVA3D] TextureCubeMap and DirectX

2003-03-17 Thread Kelvin Chung
Christian Zanardi wrote: Hello, What could generate this error from J3D DirectX version (1_3_1 Beta): Unsupport format 214008 Fail to lock surface: D3DERR_INVALIDCALL The TextureCubeMap is not shown properly and this is the error. Thanks in advance for any hint. It sound like memory problem as

Re: [JAVA3D] [Linux] How to create CD bundled JRE + Java3D for L inux?

2003-03-17 Thread Alessandro Borges
Thanks for your replay, Mario. I will check it ;-) I'm trying a "running application from CD" to get: - not scared the user ;-) - no need of HD free space from users/ tester; - no need of install/uninstall; - minimize need of support; - several OS's as target Alessandro - Original Messa

Re: [JAVA3D] [Linux] How to create CD bundled JRE + Java3D for L inux?

2003-03-17 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
I would strongly recommend InstallAnywhere 5 Now http://www.zerog.com/downloads_05.html Here are the VMS (Java Virtual Machine packs) for the various operating systems: http://www.zerog.com/downloads_02c.html These VMS are put into the "C:\Program Files\InstallAnywhere 5 Now\reso

[JAVA3D] Client/Server Java3D

2003-03-17 Thread Kasparian, Raffi J.
To all,   I have packaged my 3D application into a folder with a complete jre (Java and Java3D) and created a .bat file that points the program to the jre files. When I copy this folder to a normal computer, everything works as expected.   PROBLEM:   I have also installed it onto a Wi

[JAVA3D] [Linux] How to create CD bundled JRE + Java3D for Linux?

2003-03-17 Thread Alessandro Borges
Hi, I know how to build a Java/Java3D application bundled on CD for Windows plataform: I create a complete JRE enviroment in the CD, plus Java3D jars & dlls, my application's jars and extra resource (images, vrml, obj, etc.). A simple runme.bat in the root starts the my demo application using the

[JAVA3D] TextureCubeMap and DirectX

2003-03-17 Thread Christian Zanardi
Hello, What could generate this error from J3D DirectX version (1_3_1 Beta): Unsupport format 214008 Fail to lock surface: D3DERR_INVALIDCALL The TextureCubeMap is not shown properly and this is the error. Thanks in advance for any hint. ___ Christian Zanardi Soft3Design.com S.A. Av. Cardinal-

Re: [JAVA3D] HELP! detach(),live, compile() and remove()?!

2003-03-17 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
well...the error is saying you can't remove the TG from the BG...which is true. You can ONLY detach/reattach BranchGroups (from live/compile scenegraphs) So, either change your TransformGroup to BranchGroup...or add the TG to a BG and then remove the BG. Mario Mariusz Zaczek NASA - Johnson Sp

[JAVA3D] HELP! detach(),live, compile() and remove()?!

2003-03-17 Thread tony Lincoln
Dear friends, I want to remove one child from TransformGroup(TG) by pressing one button, codes like this: [/CODES] class AWTInteractionBehavior extends Behavior implements ActionListener { private TransformGroup transformGroup; private BranchGroupBG; // create a new AWTInteracti

[JAVA3D] RES: [JAVA3D] help

2003-03-17 Thread Ornelio Hinterholz Junior
Hi A. Murat Well, I think the code below can help you. import java.awt.event.*; import java.util.*; import javax.media.j3d.*; import javax.vecmath.*; import javax.swing.*; import com.sun.j3d.utils.universe.*; public class Example extends JFrame { public Example() {

[JAVA3D] AW: [JAVA3D] help

2003-03-17 Thread Florin Herinean
Your behavior should *not* set the wakeup criteria at construction time. Instead, set it when you press the button. In order to do that, don't invoke resetEvents() in the initialize method, but invoke it when you press the button. Cheers, Florin -Ursprüngliche Nachricht- Von: A. Murat Ta

Re: [JAVA3D] help

2003-03-17 Thread A. Murat Tanyer
Hi Alessandro, Thanks for your reply, I understand that my use of switch is not the correct way. I will change it according to your advices. However, my question is how I can link mybehaviour with the JButton event so that the cubes are woke up when I pressthe button?

Re: [JAVA3D] [ANNOUNCE] Java3D 1.3.1-beta for Linux/i386

2003-03-17 Thread "Schäfer, Peter"
Good news indeed. Does anyone know why the requirements mention JDK 1.4.1 ? (I'm just being curious) -- Peter > -Original Message- > From: Alessandro Borges [mailto:[EMAIL PROTECTED] > Sent: Sonntag, 16. März 2003 17:37 > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] [ANNOUNCE] Java3D 1.

Re: [JAVA3D] Java and C++

2003-03-17 Thread Alessandro Borges
Hi. Not quite easy. Take a look for a good example of runtime.exec at www.javaworld.com direct link here: http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html I lose some hair until I found above article some months ago... Alessandro - Original Message - From: "John Wright"

Re: [JAVA3D] help

2003-03-17 Thread Alessandro Borges
Fixing last email:       // use same sequence you add to switch int TG1_BIT = 01; int TG2_BIT = 02; int TG3_BIT = 03;   BitSet mask = new BitSet(); ... Swich switch = new Switch(); switch.setWhichChild(Switch.CHILD_MASK); ... //to show TG1 mask = switch.getChildMask(); mask.set(TG1_BIT);

Re: [JAVA3D] Java and C++

2003-03-17 Thread John Wright
Jack, You want runtime.exec(name); - John Wright Starfire Research Jack Gundrum wrote: > > Does anyone know how to launch a C++ executable file from a Java3D app? > I am using Linux and would like to pass a arg and then launch the C++ exe > from my Java3D app. I found Runtime.getRuntime().load(

Re: [JAVA3D] Java and C++

2003-03-17 Thread "Schäfer, Peter"
Runtime.exec() > -Original Message- > From: Jack Gundrum [mailto:[EMAIL PROTECTED] > Sent: Montag, 17. März 2003 15:46 > To: [EMAIL PROTECTED] > Subject: [JAVA3D] Java and C++ > > > Does anyone know how to launch a C++ executable file from a > Java3D app? > I am using Linux and would li

[JAVA3D] Java and C++

2003-03-17 Thread Jack Gundrum
Does anyone know how to launch a C++ executable file from a Java3D app? I am using Linux and would like to pass a arg and then launch the C++ exe from my Java3D app. I found Runtime.getRuntime().load(name)? Jack S. Gundrum Visualization Group Research Support Academic Services

Re: [JAVA3D] help

2003-03-17 Thread Alessandro Borges
Murat,   You can use only one Switch to show  the cubes you want by using    setChildMask(java.util.BitSet childMask) were childMask is a  java.util.BitSet object (see javadocs).   By using it you can select correctly what will appear or not. Use constans to label your TGs         BG      |

[JAVA3D] help

2003-03-17 Thread A. Murat Tanyer
Dear all, I am working on a small test program. I have three ColorCubes in my scene, all attached to different switches (see attached for the scenegraph). I am rendering only the first of these cubes by the switch statements. I want to wakeup the other two cubes three seconds after I press t

Re: [JAVA3D] ? Picking inconsistency ?

2003-03-17 Thread Philip J Colbert
Hi Mario I have not done a huge amount of work with picking but I have noticed some funny things going on. much the same as others on here. I have found that there are diffrences between: pickCanvas.setMode(PickTool.BOUNDS); and pickCanvas.setMode(PickTool.GEOMETRY_INTERSECT_INFO); or pickC