Re: [JAVA3D] make slice in a shape, how use modelClip class?

2002-04-14 Thread Dipl. Ing. Paul Szawlowski
In your case you could use the front clipping plane of the camera as cut plane. Moving the camera and/or changing the front clipping plane distance will change the cross section. If you use ModelClip then the clipping will also be seen on other cameras in the scene. R CM schrieb: > hi all, > I'm

Re: [JAVA3D] Change duration of each switch?

2002-04-14 Thread Daniel Selman
Guang, Use a SwitchInterpolator with a custom Alpha class. I describe this in my book. Sincerely, Daniel Selman Author - "Java 3D Programming" http://www.manning.com/selman -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Guang Bin Liu Se

[JAVA3D] Change duration of each switch?

2002-04-14 Thread Guang Bin Liu
Dear All: I sent an enquiry several days ago about the possibility of setting different duration for each child node of a switch. I have not got any information yet. I put this question here again. Please let me know whether it is possible or not? Best regards, = Guang Bin Liu VTHRC Univ

[JAVA3D] Use of com.sun Packages vs. java.*, javax.* Packages

2002-04-14 Thread John O'Hara
Hello all, I seem to remember reading a good article on ( I think) the java.sun webpage that explained the differences between the various package specifications If I remember correctly: java.* is available on all java platforms javax.* may not be available on all platforms com.sun.* Are still

[JAVA3D] ImageComponent

2002-04-14 Thread Vijayaraghavan Rajagopal
Hi, I have an array of RenderedImage, brainImages. I am trying to get the ImageComponent3D calling the constructor ImageComponent3D(ImageComponent.FORMAT_RGBA,brainImages) I get a NullPointerException like this: Exception occurred during event dispatching: java.lang.NullPointerException

Re: [JAVA3D] texture mapping?

2002-04-14 Thread Sam Hocking
Thanks anyway David. This is new territory for me too! I can handle resizing the image to powers of 2 to prevent throwing the exception and getting them in a scale suitable for the scene, but trying to build shapes that mimic being the canvas / picture dimensions is tricky. I think i'll have to g

Re: [JAVA3D] texture mapping?

2002-04-14 Thread David Rush
Sam, No you are right the filters do not alter the shape in any way. They work by either using point sampling of neighbouring texels and using that colour, or by interpolating among neighbouring texels, depending on which mode you choose. Hmmm I'm not too sure how to go about that really I'm no

Re: [JAVA3D] texture mapping?

2002-04-14 Thread Sam Hocking
Hi David, Will setMag/MinFilter resize the *shape* to fit the image dimension that will map onto it though? From what i can gather it doesn't. An easier way for me to explain it might be to assume i have one image which is a portrait and one a landscape, i want the shape each will be mapped onto

Re: [JAVA3D] texture mapping?

2002-04-14 Thread David Rush
Hello Sam, You probably know already but remember your images must be a power of 2 in width and height otherwise you'll get an exception. How the texture maps to the shape is determined by the texture coordinates of the shape. The image will distort to meet the texture coordinates, so the size o

[JAVA3D] NCSA over Java3D 1.3 beta1

2002-04-14 Thread Raúl
Hello. Does anyboy knows if the NCSA loader runs over Java3D 1.3 beta 1? Thanks to all. === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help

Re: [JAVA3D] Problem with linux - j3d 1.3 beta1

2002-04-14 Thread Ole Arndt
trz <[EMAIL PROTECTED]> writes: > Hi all, > I hope this is the correct place to ask about this bug. > If it's not does anybody knows where to post this (bugparade ?) ? > > Ok, > I used j3d without problems with this configuration > > jdk 1.3.1_02 > j3d 1.2.1_01-fcs > kernel 2.2.17 / debian 2.2r0

[JAVA3D] Problem with linux - j3d 1.3 beta1

2002-04-14 Thread trz
Hi all, I hope this is the correct place to ask about this bug. If it's not does anybody knows where to post this (bugparade ?) ? Ok, I used j3d without problems with this configuration jdk 1.3.1_02 j3d 1.2.1_01-fcs kernel 2.2.17 / debian 2.2r0 / libc-2.2.3 xfree 4.1.0 NVIDIA_kernel/GLX 1541 Gef