Re: [JAVA3D] extending bounds class (updated)

2001-08-30 Thread Daniel Selman
Silvere, I like this book for those sorts of problems: http://cs.smith.edu/~orourke/books/compgeom.html It's mathematical but very thorough. Sincerely, Daniel Selman -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Silvere Martin-Michiell

Re: [JAVA3D] Java3d books

2001-08-30 Thread Daniel Selman
Adrian, I've just finished reviewing the work of the copy editors on another 2 chapters of my book this evening... so you can't expect an unbiased option! ;-) My book should be available in a month or two (depending on how long it takes to typeset). Only a year or two behind schedule! ;-) http://

Re: [JAVA3D] Mixed-Mode Rendering

2001-08-30 Thread Joachim Diepstraten
Hi > I am programming a modeling tool system using Java3D, > Who can give me some advices and samples about Mixed-Mode > Rendering? Thanks! What do you want to know? I've done alot lately with mixed-mode and intermediate-mode rendering. EOF, J.D. -- Realtime Raytracer in JAVA (http://www.a

[JAVA3D] Yahoo! Auto Response

2001-08-30 Thread Tran Tuong Toan
The mail account owner is not available on the world. He died Wish all best for him on the paradise. See you at hereafter. Original Message: >From [EMAIL PROTECTED] Thu Aug 30 08:16:46 2001 Return-Path: <[EMAIL PROTECTED]> Received: from mail2.javasoft.com (EHLO mail2

[JAVA3D] Yahoo! Auto Response

2001-08-30 Thread Tran Tuong Toan
* * * * Mail account owner is not available on the world * * He is dead by a girl callous * * Wish all best for him on the paradise.* * Let pray his soul

Re: [JAVA3D] Mixed-Mode Rendering

2001-08-30 Thread cadcam103
Hi, When Java3D Applet is running, I need to add new shapes such as cylinder, sphere, cone, and these shapes can be operate,select and etc. What can I do? What's more, can you give me some samples? >Hi > >> I am programming a modeling tool system using Java3D, >> Who can give me some a

[JAVA3D] Loading animation behavior (like LWS loader)

2001-08-30 Thread Daniel Moscoso
Hi all !! I' ve been working with several modelloaders like Starfire 3ds loader, SUN OBJ loader or VRML loader. I wonder if it exists a loader that could load a possible animation behavior of a model, like the LWS loader does (I suppose that the LWS files are converted to scenes with Behavior'

[JAVA3D] Problem with Canvas3D repainting

2001-08-30 Thread Daniel Moscoso
Hi all !! I have an applet that switches between multiple Canvas3D and only one with the action of a RadioButton (using a VirtualUniverse with multiple views). The problem I have is that I have to call repaint() from alll the Canvas3D every time I switch (if not it is not visible). But this wo

Re: [JAVA3D] Java3d books

2001-08-30 Thread Justin Couch
Daniel Selman wrote: > I think Justin also has a "books" section on J3D.ORG. Correct: http://www.j3d.org/books/ Looking for reviews of these titles too! If anyone would like to write one, please send it my way and we'll link it or put it on the site. -- Justin Couch h

Re: [JAVA3D] Loading animation behavior (like LWS loader)

2001-08-30 Thread Justin Couch
Daniel Moscoso wrote: > Is there a loader to load , for example, the animation behavior of 3ds files? If so, >what of the existing ones ? AFAIK, none of the existing 3DS loaders support animations. I believe JohnW is going to offer that as an option in the commercial version of his loader (at l

[JAVA3D] Picking shape3Ds with Rasters

2001-08-30 Thread Saurabh Akhauri
Hi, Is is possible to pick a shape3D made with raster as geometry.? I am unable to pick shape3D objects created by using raster as geometry objects. have read in java3D docs that rasters 2d images are not pickable, so just looking for some work arounds. ;-) any one done something similar, pls s

Re: [JAVA3D] Rotation Matrix

2001-08-30 Thread Spencer Goh
I don’t really need to move the objects actually I’m just creating a fixed object (with orbitbehavior) which is comprised of say 200 smaller objects (eg Cube) To position each of the Cubes which make up the overall object I am putting each within a TransformGroup and using the translation

Re: [JAVA3D] Rotation Matrix

2001-08-30 Thread Renoir Sewjee
If you are able to create the geometry of the objects yourself then you could use 1 geometry array for all of the objects. In the case of 200 cubes: Use a QuadArray with 200*6*4 coordinates (numCubes*facesPerCube*coordinatesPerFace) . Use Transform3D to perform the rotations and tr

[JAVA3D] Performance: Multiple TransformGroups & Appearances

2001-08-30 Thread Spencer Goh
I have read various articles on performance which mostly deal with things like texture by reference etc.. etc. what I would like to know is whether performance is hampered *much* by using many (eg 200 transform groups to position objects in a scene) rather than defining the entire geometry

Re: [JAVA3D] Rotation Matrix

2001-08-30 Thread Spencer Goh
Thanks for those links.. and have had a quick read. I think the FAQ covers all the matrices I need! Just one further quick question given that this (taken from the FAQ) is the final matrix I need: | CE -CF D 0 | M = | BDE+AF -BDF+AE -BC 0 | | -ADE+BF AD

Re: [JAVA3D] Loading animation behavior (like LWS loader)

2001-08-30 Thread John Wright
That's true, we started working on importing animation information with our loader earlier this year. Unfortunately other work priorities forced us to suspend working on that. It's possible the work on that will resume in a month or two, but no guarantees. - John Wright Starfire Research Justi

Re: [JAVA3D] Loading animation behavior (like LWS loader)

2001-08-30 Thread Kevin J. Duling
I intend to add animation support "soon" in my Milkshape loader. It's on the TODO list. Milkshape can import 3DS models and save them out in native format. If you've got a 3DS model with animation data, load it up into Milkshape and see if the animations are preserved. Or send it to me. None

[JAVA3D] Using an alphamap?

2001-08-30 Thread Kevin J. Duling
Can anyone point me towards an example of using an image as an alphamap?   -- Kevin J. Duling "Bill, strange things are afoot at the Circle K!"[EMAIL PROTECTED]    -- Ted "Theodore" Logan

[JAVA3D] Problem with an simpel Shape3D

2001-08-30 Thread Fredrik Andersson
Hello! I can't get this object (Shape3D) to be visable in an applet. Can somebody try to se if they can? It is supposed to be a solid cube. Best regards Fredrik import java.applet.*; import java.awt.*; import java.awt.Frame; import java.awt.event.*; import com.sun.j3d.utils.applet.MainFrame;

[JAVA3D] SensorRead.getButtons

2001-08-30 Thread Sky Rumsey
Hi all, I have updated the Magellan Spacemouse java class to read buttons. However, when I set the the Sensor reading, I cannot call upon the buttons array from the behaviour. In the Deivce class I have something like: case BUTTON1: button_down[0] = BUTTON1; //

[JAVA3D] To Behave or not to Behave

2001-08-30 Thread Sky Rumsey
Just a quickie, I'm adding in some button controls for a Magellan. i can't decide whether it is better to place the button's effects in the Device class or the Behavior class? If I was to use the Device class, I have immediate access to the right methods, it's also easier to apply translation eff

Re: [JAVA3D] Problem with an simpel Shape3D

2001-08-30 Thread Mario de Sa Vera
have you tested it as a Frame application rather than Applet ? Quoted mail: > Hello! > > I can't get this object (Shape3D) to be visable in an applet. > > Can somebody try to se if they can? > It is supposed to be a solid cube. > > Best regards > Fredrik > > import java.applet.*; > import java.aw

[JAVA3D] SV: [JAVA3D] Problem with an simpel Shape3D

2001-08-30 Thread Fredrik Andersson
Hello myself! Tehe answer was simple! The object wherer out of range of the light! Regards Fredrik -Ursprungligt meddelande- Från: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]För Fredrik Andersson Skickat: den 30 augusti 2001 16:45 Till: [EMAIL PROTECTED] Ämne: [JAVA3D]

[JAVA3D] VRMLPAD any use?

2001-08-30 Thread Joachim Diepstraten
Ehlo I know some VRML gurus hang arround here. I've never done much with VRML. So maybe someone can help. I know this has nothing to do with Java3D. But I just won a free license of this Software called VRMLPAD from ParallelGraphics I wonder if it's of any use? I really don't know what I should

Re: [JAVA3D] Problem with an simpel Shape3D

2001-08-30 Thread John Wright
Fredrik, Where is your view platform positioned? It is highly likely that you are "inside" your object and won't see it. Be careful with your clipping distances too. - John Wright Starfire Research Fredrik Andersson wrote: > > Hello! > > I can't get this object (Shape3D) to be visable in an a

Re: [JAVA3D] Mixed-Mode Rendering

2001-08-30 Thread Joachim Diepstraten
Ehlo > When Java3D Applet is running, I need to add new shapes such as cylinder, > sphere, cone, and these shapes can be operate,select and etc. What can I do? Well if you put your spheres, cones, cylinders in a BranchGroup and have set your Main Branchgroup to allow_extend_children and detac

[JAVA3D] Change background color for printing

2001-08-30 Thread Desiree Hilbring
Hi, usually I do have a black background in my universe. I want to change that for printing. I had a look at PrintCanvas3D.java for my implementation of printing. Is there a possibility to change the background color of the OffscreenCanvas3D, without changing the showing Canvas3D? Currently I add

Re: [JAVA3D] Change background color for printing

2001-08-30 Thread Joachim Diepstraten
Hi Desiree > for printing. I had a look at PrintCanvas3D.java for my implementation of > printing. Is there a possibility to change the background color of the > OffscreenCanvas3D, without changing the showing Canvas3D? Currently I add > a bachground node just before printing and detach it afterw

Re: [JAVA3D] VRMLPAD any use?

2001-08-30 Thread Jason Taylor
I've been using it for years and it's very good, the new version is good too. If you're doing a lot of VRML coding it's worth it. But it's not a graphic app, it's a text coding one but does check syntax for you and command complition. Jason. >>> [EMAIL PROTECTED] 30/08/2001 16:11:42 >>> Ehlo I

Re: [JAVA3D] IOException using Starfire 3ds loader from IE

2001-08-30 Thread John Wright
Dani, You should not be using this form in an applet. Unless you've bypassed applet security an applet can't load files. You should use a URL instead: URL url = new URL("models/testfile.3ds"); Scene s = loader.load(url); - John Wright Starfire Research Daniel Moscoso wrote: > > Hi all !!

Re: [JAVA3D] Change background color for printing

2001-08-30 Thread Desiree Hilbring
Where should I add that? In OffScreenCanvas3D? I tried to add it there, it resulted in some kind of immediate mode exception add runtime, and how could it else be: I am using an Elsa Gladia Geforce 2, which has an Nvidia chipset. Thanks Desiree > > You could add : > > in > > public void preRende

Re: [JAVA3D] IOException using Starfire 3ds loader from IE

2001-08-30 Thread Joachim Diepstraten
Hi Daniel Why do I get a slightly deja-vu > Loader3ds loader = new Loader3ds(); > Scene s = loader.load("models/testfile.3ds"); replace the last line with Scene s = null; try { s = loader.load(new URL(getCodeBase(),"models/testfile.3ds")) } catch (java.io.MalformedURLExce

Re: [JAVA3D] Change background color for printing

2001-08-30 Thread Joachim Diepstraten
Hi Desiree > Where should I add that? In OffScreenCanvas3D? I tried to add it there, it Yep exactly there. > resulted in some kind of immediate mode exception add runtime, and how Hmm ??? Can you provide a StackTrace. > could it else be: I am using an Elsa Gladia Geforce 2, which has an Nvidia

Re: [JAVA3D] Change background color for printing

2001-08-30 Thread Desiree Hilbring
> > > resulted in some kind of immediate mode exception add runtime, and how > Hmm ??? Can you provide a StackTrace. Ok, here is the StackTrace: Exception occurred during event dispatching: javax.media.j3d.IllegalSharingException: Background: Immediate mode background m ay not be in scene graph

Re: [JAVA3D] Change background color for printing

2001-08-30 Thread Joachim Diepstraten
Hi Desiree > > > resulted in some kind of immediate mode exception add runtime, and how > > Hmm ??? Can you provide a StackTrace. > > Ok, here is the StackTrace: > > Exception occurred during event dispatching: > javax.media.j3d.IllegalSharingException: Background: Immediate mode > background m >

Re: [JAVA3D] Computing intersections with the PickConeRay in a Scene

2001-08-30 Thread Bob Dengle
Hi Use the new picking classes in package com.sun.j3d.utils.picking.behaviors instead of the deprecated ones in com.sun.j3d.utils.behaviors.picking B.D. >From: "Mark A. Tapia" <[EMAIL PROTECTED]> >Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [JA

Re: [JAVA3D] SensorRead.getButtons

2001-08-30 Thread Kelvin Chung
>Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >X-Priority: 3 (Normal) >X-MSMail-Priority: Normal >Importance: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 >Date: Thu, 30 Aug 2001 13:54:50 +0100 >From: Sky Rumsey <[EMAIL PROTECTED]> >Subjec

[JAVA3D] Java3D --> EPS

2001-08-30 Thread Tanju Gurel
I have designed a scene in Java3d and want to save it as PostScript(EPS) format.. possible?thanks...Tanju

Re: [JAVA3D] Yahoo! Auto Response

2001-08-30 Thread Mona Wong
Uh, did anyone else get this? Anyone know what it is about? > Date: Thu, 30 Aug 2001 01:16:46 -0700 > From: Tran Tuong Toan <[EMAIL PROTECTED]> > Subject: [JAVA3D] Yahoo! Auto Response > To: [EMAIL PROTECTED] > > The mail account owner is not available on the world. > > He died > > Wish

[JAVA3D] Where is the java3d*sdk.exe???

2001-08-30 Thread Michael Marintzer
I've looked all over the java.sun.com website but have been unable to find the java3d-1_2_1-03-win32-opengl-sdk.exe (or any other version). It is not included in the download--only the api documentation is included. Can someone point me in the right direction? Mike begin:vcard n:Marintzer;Mich

Re: [JAVA3D] Where is the java3d*sdk.exe???

2001-08-30 Thread Pierce, Gregory (TBS)
Title: RE: [JAVA3D] Where is the java3d*sdk.exe??? http://java.sun.com/products/java-media/3D/download.html > -Original Message- > From: Michael Marintzer [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 30, 2001 5:03 PM > To: [EMAIL PROTECTED] > Subject: [JAVA3D] Where is the jav

Re: [JAVA3D] Yahoo! Auto Response

2001-08-30 Thread Pierce, Gregory (TBS)
Title: RE: [JAVA3D] Yahoo! Auto Response Alien abduction? > -Original Message- > From: Mona Wong [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 30, 2001 4:11 PM > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Yahoo! Auto Response > > > Uh, did anyone else get this?  An

[JAVA3D] LOD / New Feature?

2001-08-30 Thread Spencer Goh
I’m looking for a feature similar to the LOD which already exists but with a slight difference.. but I can’t seem to find the desired feature and if it doesn’t exists then I would like to make a little request..   The LOD enables you to change the object used to render an object depending

[JAVA3D] LOD / New Feature?

2001-08-30 Thread Spencer Goh
I’m looking for a feature similar to the LOD which already exists but with a slight difference.. but I can’t seem to find the desired feature and if it doesn’t exists then I would like to make a little request..   The LOD enables you to change the object used to render an object depending

Re: [JAVA3D] VRMLPAD any use?

2001-08-30 Thread Nikolai V. Chr.
Joachim Diepstraten wrote: > Ehlo > > I know some VRML gurus hang arround here. I've never done much with > VRML. So maybe someone can help. I know this has nothing to do with > Java3D. But I just won a free license of this Software called VRMLPAD > from ParallelGraphics I wonder if it's of any u

[JAVA3D] Still fighting with TransparencyAttributes

2001-08-30 Thread Kevin J. Duling
It has to be something that I'm doing wrong.  All of the transparency demos in the Java3D demo directory display fine on this card with the OpenGL runtime.   I can cut & paste the TransparencyAttributes code out of a working demo and copy it into my app, and the object still disappears compl

Re: [JAVA3D] Pure Black Window

2001-08-30 Thread Guang Bin Liu
Hi Renoir: I am grateful to your kind help. One more question: When I use JFrame, I can use KeyEvent to quit my application. But this does not apply to the JWindow. Could you (or any one else) please let me know under JWindow, how I can perform KeyEvent? Thank you a lot! Guang Bin Liu VTHRC

Re: [JAVA3D] Mixed-Mode Rendering

2001-08-30 Thread cadcam103
Joachim Diepstraten£¬ÄúºÃ£¡ Thank you for your advice! Create a new geometry modeling tools based on mechanical products is my main work. I think the shapes in my system can't be pre-defined. I have to add new shapes when program is running. so I think mixed-mode rendering must be used. In java3D

Re: [JAVA3D] Pure Black Window

2001-08-30 Thread Renoir Sewjee
You must add a KeyListener to the Canvas3D. Adding the following code to the program I sent previously will exit the application when you press ESC: canvas.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent event) { if (event.getKeyCode() ==

Re: [JAVA3D] Change background color for printing

2001-08-30 Thread Desiree Hilbring
> Well that's ofcourse true if you add the background in intermediate mode > you have to remove it from the Scenegraph or use a different background > node (I would go for the later which is maybe easy) so just for testing > add this line to preRender > > Background testBack = new Background(new C