[JAVA3D] Full Screen & Mouse

2001-04-02 Thread Jordi López
Hi,   Is possible to work with Full Screen mode with Java3D?   The mouse cursor can be hidden?   thank you   Jordi López[EMAIL PROTECTED]Nexus Geogràfics

[JAVA3D] VRML97 loading and texture rendering

2001-04-02 Thread Olivier BANASZAK
Hello, I've been using J3DFly to test two different VRML loaders : NCSA & XJ3D. The sample Vrml contains one node : an IndexedFaceSet geometry (describing a surface) associated with an appearance ImageTexture. This sample VRML doesn't load properly with either loader, unfortunately. The most succe

[JAVA3D] Help

2001-04-02 Thread Jonathan Albert C. Vallar
I would like to ask if it is feasible to create a java program that will show the combination of 3d molecules that can be pick to rotate along any axis.Is it also feasible to include a utility for saving the model and be able to load and manipulate it upon loading. Thanks for your help... :)

[JAVA3D] WG: [JAVA3D] JSplitPane and Canvas3D

2001-04-02 Thread Bo, Jianquan, myview
Andrew, the old mail perhaps can help you. Bo -Ursprüngliche Nachricht- Von: K.R.Karthikeyan [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 1. April 2001 16:00 An: [EMAIL PROTECTED] Betreff: [JAVA3D] Canvas3D Hi, I am having a JPanel which contains a JSplitpane. In the JSplitpane i

Re: [JAVA3D] Help

2001-04-02 Thread Nikolay Kabadzhov
hi bam-bam, i've just started my java3d tour but i see no obstacle to do what you've planed to. niki -Original Message- From: Jonathan Albert C. Vallar [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 11:40 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] Help I would like to ask if i

Re: [JAVA3D] Sun help! Applet freezes on Win98/ME machines

2001-04-02 Thread J. Lee Dixon
As soon as I left work on Friday I realized that I hadn't sent source code. *sheesh* It's attached this time. I've tested on DirectX, OpenGL, one machine with 128meg, the other with 64meg. Also tried the beta JDK (1.3.1 beta) and got the same problem with no stack trace. You will notice a "Lo

[JAVA3D] Setting the Back Clip Distance in Simple Universe

2001-04-02 Thread Timmy Tong
Dear all, I know there is a function setBackClipDistance(double distance) to set the back clip distance, but I don't know how to get the view in the SimpleUniverse to apply this function. Please help. Thank you very much. Regards, Timmy ==

Re: [JAVA3D] Setting the Back Clip Distance in Simple Universe

2001-04-02 Thread Pedro Estrada
Viewer viewer = simpleUniverse.getViewer(); View view = viewer.getView(); view.setBackClipDistance(d); - Original Message - From: "Timmy Tong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 02, 2001 8:46 AM Subject: [JAVA3D] Setting the Back Clip Distance in Simple Unive

Re: [JAVA3D] Setting the Back Clip Distance in Simple Universe

2001-04-02 Thread Desiree Hilbring
Hi Timmy, If you are using SimpleUniverse you can access the method this way: SimpleUniverse simpleU = new SimpleUniverse(canvas3D); Viewer viewer = simpleU.getViewer(); View view = viewer.getView(); view.setFrontClipDistance(1); view.setBackClipDistance(3

Re: [JAVA3D] Setting the Back Clip Distance in Simple Universe

2001-04-02 Thread Sackmunky
SimpleUniverse universe; View view = universe.getViewer().getView(); view.setBackClipDistance(x.xx); - Original Message - From: "Timmy Tong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 02, 2001 7:46 AM Subject: [JAVA3D] Setting the Back Clip Distance in Simple Univers

Re: [JAVA3D] Sun help! Applet freezes on Win98/ME machines

2001-04-02 Thread John Davies
I missed the first part of this conversation but I've got Windows 2000, 512Meg RAM, ATI Rage graphics, JDK 1.3 and Java3D 1.2.1. What I was wondering was, and sorry for those of you that have the rest of this thread but, what was the problem? I've tried your code on my machine and it crashes if

Re: [JAVA3D] Sun help! Applet freezes on Win98/ME machines

2001-04-02 Thread J. Lee Dixon
The issue was that I have an app that runs fine on Win2k, but crashes on 98 & ME. This example program was just some test code to help narrow down the problem. It runs on Win2k fine (sounds like you have a driver issue), but dies intermittently on Win98 and WinME. Turning off sound makes it run

Re: [JAVA3D] Sun help! Applet freezes on Win98/ME machines

2001-04-02 Thread John Davies
Thanks, Sorry I couldn't help. By the way, we also used JTabbedPanes and turn off the renderer when the 3DCanvas is not visable, it saves a lot of CPU cycles. I realise this is just a bug finding example though. -John- "J. Lee Dixon" wrote: > The issue was that I have an app that runs fine

Re: [JAVA3D] Textures and transparency

2001-04-02 Thread Uma Sabada
Paula: Are you using 1.2.1? Using your code sample as guide, I modified the texture program under demo/java3d/TextureTest/TextureImage and it works correctly. I have attached the modified program. -Uma Java3D Team > MIME-version: 1.0 > X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.26

Re: [JAVA3D] Full Screen & Mouse

2001-04-02 Thread Kelvin Chung
Hi Jordi, Currently the DirectX version (v1.2.1 release is the latest version) can run in fullscreen using java -Dj3d.fullscreen=REQUIRED yourApp or use the mouse to click on the Canvas3D to get the focus first, then press the key Alt-Enter to toggle between window and fullscreen mode. The

[JAVA3D] class not found

2001-04-02 Thread Dvorak, Daniel J.
I've read all the info I can find on making my applet run in a browser, but I'm still puzzled. If I use my plain (unconverted for plugin) html page, my applet runs ok in the appletviewer, but not on the web page. I get this message in the Java Console: Verifier error EMapsApplet.createSceneGraph(

[JAVA3D] Question regarding navigation

2001-04-02 Thread Ralph Jones
Hi, A while ago I tried to create a 3D world in Java 3D in which the user could navigate using the familiar first person interface of ‘mouse look’ and ‘key move’. Exactly the same as in Quake 3, Unreal, Half-Life etc. I ended up giving up, as I couldn’t find a way to successfully control the mo

Re: [JAVA3D] class not found

2001-04-02 Thread Paul Pantera
> MIME-Version: 1.0 > Date: Mon, 2 Apr 2001 14:07:11 -0400 > From: "Dvorak, Daniel J." <[EMAIL PROTECTED]> > Subject: [JAVA3D] class not found > To: [EMAIL PROTECTED] > > I've read all the info I can find on making my applet run in a browser, but > I'm still puzzled. If I use my plain (unconverte

Re: [JAVA3D] Overlay example?

2001-04-02 Thread Corysia Taware
Attached is a screenshot from a small OpenGL game called Orbit. This screenshot illustrates what I'm trying to accomplish. The jpg I made looked horrible, so I chose the png format. It should be viewable in IE or Netscape. The text label for Saturn is the same size as the text label for the mo

[JAVA3D] Filtering a rendered image

2001-04-02 Thread joseph without last name
Hi people, I have a problem, I need to filter an image getting just one component of the pixel (RGB). Supose I have a BufferedImage, I could do boolean operation in all the data, like below: BufferedImage bi; int k, i; . . . for (i=0;i<=bi.getWidth();i++) for (k=0;k<=bi.getHeight();k++) bi.setRG

Re: [JAVA3D] VRML97 loading and texture rendering

2001-04-02 Thread giles
We are in the process of creating a 2.0 version of this loader. If you could send me the test file I'll make sure it works for next version of Xj3D. Likely release date for the next version will be April 20th. I will likely have a test release out sooner so I'll post when I do. Olivier BANASZA

Re: [JAVA3D] Overlay example?

2001-04-02 Thread Artur Biesiadowski
Corysia Taware wrote: > The text is written to the > raster with glRasterPos2*(). The result is the text is written directly to > the viewplate. Isn't javax.media.j3d.Raster designed to give similar functionality ? I have not used it, but it looks so from browsing docs. Artur =

Re: [JAVA3D] Filtering a rendered image

2001-04-02 Thread Artur Biesiadowski
joseph without last name wrote: > Is there a way to do this dynamically, this is, each frame doing this > process automatically? Render to offscreen buffer and then do this by hand. Only way I see it possible. Artur === To

Re: [JAVA3D] Overlay example?

2001-04-02 Thread Yazel, David J.
To my knowledge the only way to do this is to have transformed textured coplanar geometry parallel to the image plate, and update its transform every frame to remain synchronized with the view. This works great for untextured geometries or for textures that change infrequently. Unfortunatly, text

Re: [JAVA3D] Question regarding navigation

2001-04-02 Thread Syrus Mesdaghi
Hello Ralph, I did make a behavior for an fps demo that we ran at Sun's booth during GDC. I mapped the mouse x-Axis to rotation around Y, mouse y-Axis to rotation around X and used the keyboard A, D, W, S and Left, Right, Up, Down for stepping. Unfortunately, this behavior relies on our own input

Re: [JAVA3D] Full Screen & Mouse

2001-04-02 Thread Syrus Mesdaghi
Hi Jordi,I used something like the following. public void showCursor(boolean state){  if (state)   frame.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));  else{frame.setCursor(Toolkit.getDefaultToolkit().createCustomCursor(Toolkit.getDefaultToolkit().getImage(""/* :) */), new j

Re: [JAVA3D] Sun help! Applet freezes on Win98/ME machines

2001-04-02 Thread Kelvin Chung
Hi, I can reproduce it using one of our lab Gateway machine 700MHz PIII with SB Live ! (same sound card) and GeForce 256. It crash in the first two times and machine hang completely. However, after I download the latest SB Live driver from: http://www.creative.com/support/files/download.asp

[JAVA3D] Slow as molasses

2001-04-02 Thread Jay Mak
Hello all, I was wondering if anyone knows how to optimize the Java3D Fly Through application downloadable from Java3d homepage. I ran the CGSD.j3f on a win2000 with 256MB memory, PIII 667, nVidia geForce256 32MB DDR, and to my surprise I can only get on average 15fps. I believe the hardware is

Re: [JAVA3D] Sun help! Applet freezes on Win98/ME machines

2001-04-02 Thread John Wright
Kelvin & Lee, I'm running the latest SB Live drivers. Yesterday I must have run Lee's test program over three dozen times without a crash. Yet this afternoon I ran it four or five times and BOOM... locked up again. I'm willing to believe it's a sound driver problem as all the lockup problems I

Re: [JAVA3D] Overlay example?

2001-04-02 Thread John Wright
Dave, I'm surprised at this response from you. Your screenshots have included some nice overlays (including what looks like a chat window). Are you saying that you are painting these as textures and placing them in your 3D scene??? - John Wright Starfire Research "Yazel, David J." wrote: > >

Re: [JAVA3D] BadTransform bug in j3d1.2? (Work-around)

2001-04-02 Thread Syrus Mesdaghi
Hello Josh, I saw Kelvin's post regarding the "bug", but I'm not sure if you have found a work-around yet. If you haven't, you can try the following. I've dealt with this problem many times and it all comes down to how much error accumulates in the transform above the view. You may have noticed

Re: [JAVA3D] Sun help! Applet freezes on Win98/ME machines

2001-04-02 Thread Kelvin Chung
Hi John, There is report that when the Canvas is move outside the desktop area under some ATI graphics cards, Java3D will crash. This is most likely cause by the driver itself, since it is the OpenGL driver handle the movement and resize (unlike DirectX version) of Canvas3D. You may need to ch