Re: [JAVA3D] PrintCanvas3d

2001-05-22 Thread Joachim Diepstraten
Ehlo > When I try to print an obj file,it tells me the image is pages!Is > this really true? Hmmm? That would be a square of 100 x 100 DIN A4 pages. Don't you think that's a bit oversized. I think that's a general JAVA Printing problem it can't really predict how many pages it will be or is

[JAVA3D] Mouse events

2001-05-22 Thread Karsten Fries
Hi there, another mouse question. I have the problem that I use left mouse click for selecting objects and left mouse double-click for zooming in. In big complex scenes the picking stuff is very computation intensive and therefore takes a while (in the range of a second is the max we can tolerate

[JAVA3D] Question about transformations

2001-05-22 Thread Joachim Diepstraten
Hi Just out of curiosity are transfomations in JAVA3D handled by T&L units if they are supported by underlying hardware or are they done in native JAVA? EOF, J.D. -- A tribute to Douglas Adams (http://www.antiflash.net/raytrace/douglasadams.html) ==

[JAVA3D] Splash screen an Java 3D

2001-05-22 Thread Víctor
Hi all, I would like to add a splash screen while our application starts up. The problem is that I don't know how to find out when my main screen in shown. Anybody knows how to do this. Billion thanks in advance. PRISMAKER TEAM -- Maldecir es el único lenguaje que dominan todos los programa

Re: [JAVA3D] Splash screen an Java 3D

2001-05-22 Thread alvaro zabala
Hi, Victor, Look at this class. I hope it helps you. Regards. Alvaro Hola, Victor, a ver si te sirve de ayuda. Alvaro . import java.awt.*; import javax.swing.*; import javax.swing.border.EtchedBorder; public class SplashMessage extends JWindow { /** JLabel con el mensaje a mostrar

Re: [JAVA3D] Test program (fwd) for Grafic card question

2001-05-22 Thread Desiree Hilbring
Hi Chris, I included the below code into my big application, unfortunately then all my objects get clipped from time to time during rotation and reappear again. > > //get the viewpoint position, calc distance from model > (e.g. 0,0,0) and set clip > //Vector3d v3d = new

Re: [JAVA3D] Splash screen an Java 3D

2001-05-22 Thread Borja Marcos Suárez
Hola, aprovecho que vuestro mensaje era en castellano para invitaros a participar en el Java 3D Spanish Group, división en castellando de J3D.org. La página, mientras el nuevo server no este configurado del todo, es http://telecable.es/personales/pixoto y en ella podréis encontrar distintas se

Re: [JAVA3D] EXCELLENT "JAVA TO EJB" AUTOMATIC CONVERTOR TOOL

2001-05-22 Thread Tommy Clarke
Thanks Jim, for an excellent Java to EJB Coder Utility at http://www.futureach.com/solutions/advanced.html i checked out the link, downloaded the software & was very useful thanks Tommy

[JAVA3D] Chellenge To Java3D Engineers ;)

2001-05-22 Thread Crossley, Allistair
Will you all join me in asking a Java3D engineer(s) to demonstrate with code how to write a picking behaviour that only wakes up on left click whist a character key "A-Z" is depressed. All the examples with Java3D are with Alt or Control but these are useless for big applications except for zoom

Re: [JAVA3D] Test program (fwd) for Grafic card question

2001-05-22 Thread Crossley, Allistair
Sounds like you need to set the back clipping distance further. Cheers, Allistair Crossley Web/New Media Consultant Logica UK Ltd Tel: 02074 463267 Mob: 07884 056274 -Original Message- From: Desiree Hilbring [mailto:[EMAIL PROTECTED]] Sent: 22 May 2001 11:15 To: [EMAIL PROTECTED] Subjec

[JAVA3D] Rubberbanding on canvas3D

2001-05-22 Thread Saurabh Akhauri
hi I am trying to draw rectangle on canvas3D by dragging the mouse over it, also have a rubber banding effect It works fine on frame but nothing is visible when mouse dragged on Canvas3D How is that done on canvas3D ? will highly appreciate any help in this regards Saurabh

Re: [JAVA3D] Test program (fwd) for Grafic card question

2001-05-22 Thread Desiree Hilbring
> Sounds like you need to set the back clipping distance further. I detected that dist sometimes calculates a negative distance, setting the front clipping plane at a minimum of 1 solves the clipping problem, but the original zbuffer issues still exists. Desiree > > Cheers, > > Allistair Cross

Re: [JAVA3D] Test program (fwd) for Grafic card question

2001-05-22 Thread Desiree Hilbring
> > Desiree, > > I have only just started to look at this but a few initial comments come to > mind. > These points will not help (much) but could make a little difference in > similar applications. > My points are not about Z buffer (that comes later) but are with respect to > accurate positionin

Re: [JAVA3D] Z-BUFFER PROBLEM????

2001-05-22 Thread ChrisThorne
Yep it's the Z buffer tearing problem again. Have a look at the ViewNavigationBehavior mod I sent to the list under the title "Test program (fwd) for Grafic card question" it has a solution to this (or a least Desiree's similar) problem. Hopefully it will work for you (maybe with some tweaking).

Re: [JAVA3D] Chellenge To Java3D Engineers ;)

2001-05-22 Thread J. Lee Dixon
I don't think that should be too hard ( just guessing ). On one of our projects, we are forcing keyboard focus onto our canvas3d when we get mouse focus, and then we watch for keyboard presses for navigation. I would set up for AWT keyboard and mouse clicks, and just remember when the letters yo

Re: [JAVA3D] Resetting OrbitBehavior

2001-05-22 Thread Ingo Brunberg
Given a simple scene with an OrbitBehavior attached to the viewplatform, I want to be able to open a new frame and put a clone of the scene in there. So I create a new SimpleUniverse, copy the Transform3d of the original ViewPlatform into the new ViewPlatformTransform and copy the rotation center

[JAVA3D] sun help: an exception of j3d's SceneGraphStreamReader/Writer

2001-05-22 Thread ping
Hi all,I encountered an exceptin when I tried to use sun j3d's SceneGraphStreamReader/Writer.The following is the stacktrace at the exception:java.lang.RuntimeException:No Such Class    at com.sun.j3d.demos.utils.scenegraph.io.state.javax.media.j3d.SceneGraphObjectState.createNode   

[JAVA3D] JavaScript & Java Policy

2001-05-22 Thread Luis Campos
Hello,       I have a problem when I call a method that calls another method with RMI by a Swing JButton all runs like I want.     When I call the same method by a JavaScript event until RMI invocation all runs like I want, but in RMI invocation occurs the follow exception java.lang.reflect

Re: [JAVA3D] Chellenge To Java3D Engineers ;)

2001-05-22 Thread Crossley, Allistair
Maybe it's just me :( because I have tried using the virtual key and registering wakeup criteria with KeyEvents. The closest I came was to try and determine the number of ms past between the key press and mouse click! Where I think I am going wrong is setting this class variable to track which ke

Re: [JAVA3D] Chellenge To Java3D Engineers ;)

2001-05-22 Thread Renoir Sewjee
Hi Allistair, I'm not a Java3D engineer, but this is how I would do this, * The behaviour should wake up on the following AWT events: MouseEvent.MOUSE_PRESSED, KeyEvent.KEY_PRESSED, KeyEvent.KEY_RELEASED * In the processStimulus method: ~ On receiving a KEY_PRESSED record the

Re: [JAVA3D] Z-BUFFER PROBLEM????

2001-05-22 Thread Yazel, David J.
Yep, laying down roads over terrain is a nasty problem. This is especially true if you are using a different "road" geometry. You need to create co-planar geometry which can be done a variety of ways. One way is to build your geometry for the road using the same heightmap source as the terrain

Re: [JAVA3D] Splash screen an Java 3D

2001-05-22 Thread Paul Byrne
Hi Victor, Take a look at Java 3D Fly Through (available from the java3d web site). This demo application has a splash screen. The full source of the app is available on the web site. Rgds Paul -- Paul Byrne Email : [

Re: [JAVA3D] Z-BUFFER PROBLEM????

2001-05-22 Thread alvaro zabala
David, Chris, Thanks a lot for your help. For the moment, I have applied an offset to the roads. When the ViewingPlafform is close to the terrain, there is no problem, but when I have an aereal view of the scene, I get again the problem of the Z-buffer. I haven't already tried Chris's solution

Re: [JAVA3D] sun help: an exception of j3d's SceneGraphStreamReader/Writer

2001-05-22 Thread Paul Byrne
Hi Ping, This looks like the same problem you reported last week, it is currently being investigated. Rgds Paul -- Paul Byrne Email : [EMAIL PROTECTED] Sun MicrosystemsPhone : (650) 786 9926 Visualizat

Re: [JAVA3D] Question about transformations

2001-05-22 Thread Dan Petersen
> MIME-Version: 1.0 > Date: Tue, 22 May 2001 10:52:27 +0200 > From: Joachim Diepstraten <[EMAIL PROTECTED]> > Subject: [JAVA3D] Question about transformations > To: [EMAIL PROTECTED] > > Hi > > Just out of curiosity are transfomations in JAVA3D handled by T&L units if > they are supported by under

[JAVA3D] Locale getAllBranchGraph but no getBranchGraph

2001-05-22 Thread Joachim Diepstraten
Hi I wonder why there doesn't exist a getBranchGraph(nrOfBranchGraph) method in javax.media.j3d.Locale. There is only a getAllBranchGraph() and numBranchGraph(). That's a bit limiting. For example I want to remove the BranchGraph containing the Shape3Ds but not the BranchGraph removing the Viewin

Re: [JAVA3D] Test program (fwd) for Grafic card question

2001-05-22 Thread Desiree Hilbring
Hi Chris and others, finally I found a solution, which works for my application. Basically I was thinking about the changes of Chris and my means to calcultate clipping distances. For rotating reasons my objects are located near (0,0,0) and I calculated already the distance necessary to see the e

Re: [JAVA3D] Resetting OrbitBehavior

2001-05-22 Thread Paul Byrne
Ah, I see the problem. The rotation center returned from OrbitBehavior does not include any of the translation components. If you update the getRotationCenter method in OrbitBehavior to this you should get the desired result. public void getRotationCenter(Point3d center) { center.x

[JAVA3D] transforming Shape3D at runtime

2001-05-22 Thread Don Hermes
Hi, I'm trying to build a 3D Bar Graph viewer that would be updated (say once a second) and then the previous bars should move down the z axis. I have a thread that reads data from a file, builds the bar graph segments, displays it properly (at 0,0, 0,0, 0,0) with: for(int i = 0; i < pBands.leng

Re: [JAVA3D] Question about transformations

2001-05-22 Thread Kelvin Chung
Hi, Under the DirectX version of Java3D, you can verify if T&L is using by java -Dj3d.debug=true yourapplication If the line Use Primary Display Driver, Direct3D T&L HAL is print out after current display mode, then it is using underlying T&L. For detail, see readme file. - Kelvin ---

Re: [JAVA3D] Rubberbanding on canvas3D

2001-05-22 Thread Kelvin Chung
Hi Saurabh, You can use RenderingAttributes setRasterOp(RenderingAttributes.ROP_XOR) to achieve rubber banding effect. Attach is an example. Please note that ROP_XOR is not support under DirectX implementation of Java3D currently. - Kelvin Java 3D Team Sun Microsystems Inc.

Re: [JAVA3D] Fog (Linear) Differing Results

2001-05-22 Thread Ahmed Shakil
You have a option to order the cd from that site. why dont u guys do that? -Original Message- From: Dipl. Ing. Paul Szawlowski [mailto:[EMAIL PROTECTED]] Sent: Monday, May 21, 2001 12:19 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Fog (Linear) Differing Results Hi John, > P.S. Phili

Re: [JAVA3D] Fog (Linear) Differing Results

2001-05-22 Thread John Wright
Because I'd rather help Microsoft to improve their website than just find an easy fix (and the fact that the level of interest was too low to even spend $5 or whatever they want for the CD - my customer's corporate management was and still is firmly supporting continuing of Netscape as their stand

Re: [JAVA3D] Z-BUFFER PROBLEM????

2001-05-22 Thread ChrisThorne
alvaro zabala wrote: > David, Chris, > Thanks a lot for your help. > > For the moment, I have applied an offset to the roads. > > When the ViewingPlafform is close to the terrain, there is no problem, but > when I have an aereal view of the scene, I get again the problem of the > Z-buffer. > > I

Re: [JAVA3D] Test program (fwd) for Grafic card question

2001-05-22 Thread ChrisThorne
Desiree Hilbring wrote: > > Sounds like you need to set the back clipping distance further. > > I detected that dist sometimes calculates a negative distance, setting the > front clipping plane at a minimum of 1 solves the clipping problem, but > the original zbuffer issues still exists. Ok, t

[JAVA3D] [J3DFLY] Sun Java 3D(tm) Fly Through Beta 2 available

2001-05-22 Thread Paul Byrne
Hi All, Beta 2 of Fly Through is now available on the web (via http://java.sun.com/products/java-media/3D/index.html) Beta 2 includes the following new features and bug fixes New Features Beta 2 === Added collision Normal to com.sun.j3d.demos.utils.vpbehaviors.RayCollision,

[JAVA3D] Rendering attributes capability bits

2001-05-22 Thread David Yazel
I noticed there is a ALLOW_DEPTH_ENABLE_READ, but no corresponding write. I haven't tested if changing the depth enable values on a live node is allowed or not... is this by design? Dave Yazel === To unsubscribe, send email