Re: [JAVA3D] loader problems

2000-08-11 Thread Pondrom, Pierre L
Hi Shlomo, You can eliminate much of the info in the obj file(texture, normals). But it may be better to use ObjectFile as a guide to reading your iv file. I have rewritten it to read my file type as well as .obj files. It took a little time but it saves doing the conversion process and the stora

[JAVA3D] Controlling the number of colors rendered

2000-08-11 Thread John Mosley
I am using offscreen rendering to create a BufferedImage which I save to disk as a GIF file. This works fine except for the number of colors that are in the image. For a GIF file this is limited to 256, so there appear to be 2 choices: 1) use a filter to reduce the number of colors in the Bu

Re: [JAVA3D] Controlling the number of colors rendered

2000-08-11 Thread Michael Bandy
What about using JPEG from JDK 1.2 and later (com.sun.image.codec.jpeg.*) - then you'd have the full 16 million colors available. -Original Message- From: John Mosley [mailto:[EMAIL PROTECTED]] Sent: Friday, August 11, 2000 8:57 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] Controlling the n

[JAVA3D] setting pickable for vrml scene

2000-08-11 Thread Will
Hi, i have a rather large vrml landscape and i want to pick to get intersection coordinate info. How do i set the capabilities for this to happen? i tried PickTool.setCapabilities but that only accepts Shape3ds and geometries, i need to set capabilities for everything in the root branchgroup. plea

Re: [JAVA3D] WebStart or Netscape6 deployment

2000-08-11 Thread Jack Gundrum
This works great, all you need is Netscape6 and you can install Java3D as below. My question is can you have a webpage install Java3D automagically from Sun's site assuming you already have Netscape6 installed? >Netscape6 preview release1 doesnt need plugin because it contains >java plugin, in

Re: [JAVA3D] Controlling the number of colors rendered

2000-08-11 Thread John Mosley
Thanks, I am already doing that, but I specifically want to be able to create gif's as well, hence the number of colors question. - John On Friday, August 11, 2000 3:10 PM, Michael Bandy [SMTP:[EMAIL PROTECTED]] wrote: > What about using JPEG from JDK 1.2 and later (com.sun.image.codec.jpeg.*)

Re: [JAVA3D] Controlling the number of colors rendered

2000-08-11 Thread Kelvin Chung
Hi John, The GraphicsConfigTemplate specific the minimum requirement to render: /** * This class is used to obtain a valid GraphicsConfiguration that * can be used by Java 3D. * A user instantiates one of these objects and then sets all * non-default attributes as desired. The getGraphi

Re: [JAVA3D] setting pickable for vrml scene

2000-08-11 Thread Jack Gundrum
I use these methods to load vrml and save the shapes for picking w/o having the vrml nodes named At 12:12 PM 8/11/00 -0400, you wrote: >Hi, i have a rather large vrml landscape and i want to pick to get >intersection coordinate info. How do i set the capabilities for this to >happen? i tried Pi

Re: [JAVA3D] Controlling the number of colors rendered

2000-08-11 Thread John Mosley
Kelvin, That is exactly what happens, I suggest 2 bits but I get back 8. It seems that you can only get GraphicsDevice's (and hence GraphicsConfiguration's) that are related to the actual screen display device. When using an offscreen buffer I wanted to specify the capabilities of that buffer, i

Re: [JAVA3D] Controlling the number of colors rendered

2000-08-11 Thread Kelvin Chung
>From: "John Mosley" <[EMAIL PROTECTED]> >To: "'Kelvin Chung'" <[EMAIL PROTECTED]> >Cc: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >Subject: RE: [JAVA3D] Controlling the number of colors rendered >Date: Fri, 11 Aug 2000 19:51:42 +0100 >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit > > >Kelvin, >

[JAVA3D] Help with Loading VRML2 geometry & textures

2000-08-11 Thread Brenden C. Maher
Hi all, I have VRML2 data from the Canoma(geometry from photos) software package. Much of the stuff on the archive is old. I want to use java3d as my real-time environment. The content in the VRML file is static so I only care about getting the geometry and corresponding textures into java3d(i.e

[JAVA3D] Rotation with respect to 2 3d points

2000-08-11 Thread John R.
I have a problem I'm trying to figure out here. I can see intuitively how to do it but not mathmatically. I have two cylinders (pipes actually) that I'm trying to draw an "arrow" between to show flow direction. So, what I really have is 2 3D points. (Transformation matricies actually, but only c

Re: [JAVA3D] Texturing on the Java 3D Terrain

2000-08-11 Thread Edward Becker
I'm not sure, (I'm just getting ready to try it myself) but I think you can use TextureAttributes and use .setScale() Edward Becker - Original Message - From: "Frank C.P. Hsu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 10, 2000 9:53 PM Subject: [JAVA3D] Texturing

Re: [JAVA3D] WebStart or Netscape6 deployment

2000-08-11 Thread James Robertson
Thanks everyone for information on J3D applets on Netscape6. It's working for me now. The trick (supplied by Jack Gundrum) was to place the J3D jar files in C:\Program Files\JavaSoft\Jre\1.3\lib\ext on the client. - Jim Robertson -Original Message- From: Discussion list for Java 3D API [

[JAVA3D] VRML97

2000-08-11 Thread JayT
This may be a silly question, but I've been searching the web for the latest vrml97.jar file and I see MANY out there. I'm not sure what's the latest.. so far i've downloaded vrml97.jar Beta Rev C.. does anyone know if that's the right one? Thanks, Jay ==

[JAVA3D] Terrain following

2000-08-11 Thread Edward Becker
 From the amount of terrain questions posted to this list, I'm sure this will be useful to many and known by others.    I have a terrain, using Y as the height.  I want to keep an object, at all times, a certain distance above the terrain.  Whats the best way to do this?  (The terrain is mad