Re: [JAVA3D] Overlaying text and 2D graphics on top of a Canvas3D....

2001-06-12 Thread Joachim Diepstraten
Hi Jonathan > Any help would be most appreciated. Well I would say just follow the Overlay Library discussion here. It sounds it's just the thing you need. EOF, J.D. -- Realtime Raytracer in JAVA (http://www.antiflash.net/raytrace) =

Re: [JAVA3D] Cross section view problem

2001-06-12 Thread Renoir Sewjee
Hi ManChoon, This is probably because you are using perspective projection. Use parallel projection: View view = universe.getViewer().getView(); view.setProjectionPolicy(View.PARALLEL_PROJECTION); --Renoir ManChoon wrote: > I have a 3D coordinate system. > I draw the 0.5f scale's grid lin

Re: [JAVA3D] Cross section view problem

2001-06-12 Thread Dipl. Ing. Paul Szawlowski
I think the behavior you desire can be obtained by using the View.setProjectionPolicy( View . PARALLEL_PROJECTION ) method. regards Paul ManChoon schrieb: > I have a 3D coordinate system. > I draw the 0.5f scale's grid lines at the XY plane. > I set the camera at Vector3f(0.0f, 0.0f, 2.0f); > >

[JAVA3D] how to print text in 3D window

2001-06-12 Thread Alexandre Delepo
Hi all, What is the best way to print text in a java3D Window. It is just for debug and stats informations, I know that I can use Text2D but there is perhaps a better and much more performant way to do that, is it possible to use overlays ? Alex.

[JAVA3D] Converting VRML to STL ?

2001-06-12 Thread Bo, Jianquan, myview
Hallo, I have a question which is not direct related to J3D. I need a convertor for converting VRML files to STL or other 3D formats (SAT, IGES, STEP). It would be excutable on a command line. Could anyone please give me some guide? Regards, Bo ---

Re: [JAVA3D] Converting VRML to STL ?

2001-06-12 Thread Joachim Diepstraten
Hi Bo > I need a convertor for converting VRML files to STL or other 3D formats > (SAT, IGES, STEP). It would be excutable on a command line. Hmm Polytrans comes to mind. (It can handle about 30 formats and IGES and SAT, STL are one of them) But I'm not sure if it can be operated by command line.

Re: [JAVA3D] flickering cursor

2001-06-12 Thread Alvaro Zabala
We get then same problem when a behavior consumes 100% of CPU We solved the problem making all you say. > -Mensaje original- > De: Discussion list for Java 3D API > [mailto:[EMAIL PROTECTED]]En nombre de J. Lee Dixon > Enviado el: martes 12 de junio de 2001 13:37 > Para: [EMAIL PROTECTED]

Re: [JAVA3D] Overlay Library

2001-06-12 Thread Yazel, David J.
Well the way we are going will allow you to deal with the overlay in a way similar to a JWindow. Basically you create the overlay at a certain size, and you can position it anywhere you want. You can change its position any time. The position is same as AWT, which puts 0,0 as the upper left han

Re: [JAVA3D] Cross section view problem

2001-06-12 Thread Dipl. Ing. Paul Szawlowski
from the View class API: -- Screen scale policy - specifies where the screen scale comes from. There are two screen scale policies: SCALE_SCREEN_SIZE - specifies that the scale is derived from the physical screen according to the following formula (this is the

Re: [JAVA3D] Overlay Library

2001-06-12 Thread Joachim Diepstraten
Hi Yazel > never tried using them to put an object into the scene. I don't know > anything about them. How are they implemented in DirectX and OpenGL? Hmm hard to tell but in my experience so far they are very slow in DirectX compared to OpenGL seems to me it's not an accelerated support for it

[JAVA3D] Clipping 3D-Scene

2001-06-12 Thread Desiree Hilbring
Hello, I have a relative small box which is intersected by several bigger layers. The user wants to examine the part near the box. So by now, it is possible to zoom to the box. The layers are spreading out in the zoomed view. I want to clip them, so that I can see the box and a small part of each

Re: [JAVA3D] Clipping 3D-Scene

2001-06-12 Thread Dipl. Ing. Paul Szawlowski
Have you ever tried the ModelClip class. It allows you to specify up to 6 clipping planes. It allows you also to scope the clipping functionality to certain parts of the scene graph. regards Paul Desiree Hilbring schrieb: > Hello, > > I have a relative small box which is intersected by several

Re: [JAVA3D] Overlaying text and 2D graphics on top of a Canvas3D....

2001-06-12 Thread Corysia Taware
If you don't want to wait for the Overlay Library that David's offering, you can look at the archives for some source he sent me on April 2nd. With a little bit of work, I was able to incorporate it into my scene and it looks great. - Original Message - From: "Jonathan Kelly" <[EMAIL PRO

Re: [JAVA3D] Clipping 3D-Scene

2001-06-12 Thread Desiree Hilbring
Thanks Paul, I just did not come across it yet. It sounds good. Is there somewhere an example, how to use it? Desiree > Have you ever tried the ModelClip class. It allows you to specify up to 6 > clipping planes. It allows you also to scope the clipping functionality to > certain parts of the

Re: [JAVA3D] how to print text in 3D window

2001-06-12 Thread Corysia Taware
My experiences with printing debug text within the 3d scene haven't been good. I've tried several different methods, including Text2D, overriding Canvas3D.postSwap(), and finally using a textured quad just in front of the forward clipping plane. So far, the textured quad has been the fastest and

[JAVA3D] Master Control

2001-06-12 Thread Ben Arbel
Hi Guys   When iconnising / deiconising a frame which contains my canvas3d my gui refreshing mechanism gets stuck .. this is true for Frame or JFrame.. i noticed that the gui refreshing mechanism is stuck while holding on MasterControl.postRequest(int,Object).   sometimes when trying this

Re: [JAVA3D] Master Control

2001-06-12 Thread Kelvin Chung
Hi Ben, >Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >X-Priority: 3 (Normal) >X-MSMail-Priority: Normal >Importance: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 >Date: Wed, 13 Jun 2001 00:14:47 -0400 >From: Ben Arbel <[EMAIL PROTECTED]> >Subject: [JAVA3D] Master Contro

Re: [JAVA3D] Overlay Library: Implemented

2001-06-12 Thread Yazel, David J.
Yes. Thank you for the code. A very thorough set of calculations for the pixel width using the various policies in your Canvas3d implementation. Dave -Original Message- From: Kasparian, Raffi J. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 12, 2001 1:47 PM To: [EMAIL PROTECTED] Subjec

[JAVA3D] Bug in mixed rendering mode on certain cards

2001-06-12 Thread Yuri Nikishkov
Title: Bug in mixed rendering mode on certain cards Hi Kelvin, I finally isolated the textures problem that we were having in our applet. Basically the problem was that textured geometries (with texture coordinates as a part of vertex data) would not display textures in immediate mode on NVI

Re: [JAVA3D] Overlay Library: Implemented

2001-06-12 Thread Blaine Alex Bell
Thanks for your responses. There has been some discussion on 'which way is the best way to implement overlays'. I think there is no 'perfect' way to do it, and it definately depends on what you are trying to accomplish. This is why I have just provided the mechanism to do as you please, whether

Re: [JAVA3D] Bug in mixed rendering mode on certain cards

2001-06-12 Thread Kelvin Chung
Hi Yuri, Great test program ! Bug 4468945 is filed for investigation. Thanks for your bug report. - Kelvin --- Java 3D Team Sun Microsystems Inc. >Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Date: Tue, 12 Jun 2001 15:41:33 -0400 >From: Yuri Nikishkov <[EMAIL PROTECTED]

[JAVA3D] How to print 3d images

2001-06-12 Thread gaoming fu
Hi, all:       I have a Java Applet running java3d class. I included the link "Print" in my html file because I want to print the 3d images from my computer. In NetScape 4.7, I did not get any error message, but it will print only the background for me, not the 3d image. In I.E.5.5, if I click the

Re: [JAVA3D] Question on Rasters

2001-06-12 Thread Kelvin Chung
Hi David, >From: "David Yazel" <[EMAIL PROTECTED]> >To: "Kelvin Chung" <[EMAIL PROTECTED]> >Subject: Question on Rasters >Date: Tue, 12 Jun 2001 19:09:05 -0400 >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >X-Priority: 3 >X-MSMail-Priority: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V

Re: [JAVA3D] Question on Rasters

2001-06-12 Thread Doug Twilleager
Also note that until very recently, most consumer level cards did not optimize glDrawPixels very well. So using a texture mapped quad is still currently the most reliable method to do overlays. Doug Twilleager Java 3D Team Sun Microsystems >Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >C

Re: [JAVA3D] Question on Rasters

2001-06-12 Thread Yuri Nikishkov
Title: RE: [JAVA3D] Question on Rasters As far as I know the problem with doing rasters as textures is that textures must have size that is a power of 2. It means that actual picture will have to be scaled and therefore will be imperfect, filtered or not. However, the purpose of raster is to l

Re: [JAVA3D] Question on Rasters

2001-06-12 Thread Kelvin Chung
>Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Date: Tue, 12 Jun 2001 19:47:38 -0400 >From: Yuri Nikishkov <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] Question on Rasters >To: [EMAIL PROTECTED] > >As far as I know the problem with doing rasters as textures is that textures >must have size tha

Re: [JAVA3D] flickering cursor

2001-06-12 Thread Xiang Xu
Yes, I solve this problem in this method. Thanks, Xiang X -Original Message- From: J. Lee Dixon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 12, 2001 7:37 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] flickering cursor Actually, I think I have fixed this problem on several compute

[JAVA3D] help for demo j3d

2001-06-12 Thread Guang Bin Liu
Hi Every One: Could you please tell me the web address where I can download the Java3D demo which when unzipped, can generate 37 subdirectories under demo/java3d. I obtained them previously but for some reason they have gone. I did not keep the address. Thank you in advance! Best, Guang Bi

[JAVA3D] Overlay discussion continued

2001-06-12 Thread David Yazel
I posted my design idea to javagaming.org and got this response: Pepio said: Overlays are often used for text, as you know. for a console, the scheme is often a rectangular zone with text, and a border all around. Balancing memory consumption and texture loading/memory fragmentation is often har

Re: [JAVA3D] How to print 3d images

2001-06-12 Thread Amit Jindal
Hi Goaming,   Hey u have to convert the visualization in to an image and then u can use the java.awt.print package to print that. Because u can not use the browser's print button for printing..If u need any help then install java3d, and then see the demo programs, in that there i

Re: [JAVA3D] Non-OGL Support for Texture By Reference

2001-06-12 Thread Juergen Kreileder
On Mon, 11 Jun 2001, Mark Ferneau wrote: > Everything I've read about using texture by reference indicates what > to do for Solaris OpenGL and Win32 OpenGL. How about other > platforms: > > Direct3D No idea. > Linux / Blackdown JVM/J3D Use the same code as on Solaris. Juergen -- Ju

Re: [JAVA3D] Linux for PlayStation1...

2001-06-12 Thread Juergen Kreileder
On Sat, 2 Jun 2001, Leyland Needham wrote: > I wonder if Blackdown could port Java2 and Java3D. That would > definetly be interesting... [...] > > Its mentioned that Sony may not be using Linux but a custom version > of Unix, but AOL was able to port their Linux software to it. I don't whether

[JAVA3D] ViewBranch concept

2001-06-12 Thread ishwari
Hi all,   I have only one view now in my application. I wish to know whether I need to add a view branch to the Locale object and do the view related things like zoom etc. Can I use the SimpleUniverse view member to do the above things? Which way is better and why? Can anyone help me on this

[JAVA3D] View Platform FOV Direction

2001-06-12 Thread Quoc Huynh
Hi all, I'm trying to retrieve a value from the viewing platform that will tell me in which direction the viewing platform is looking. I have a viewing platform moving through a terrain, the position of the viewing platform is mapped to a 2D image of the terrain, updated with the translat

Re: [JAVA3D] View Platform FOV Direction

2001-06-12 Thread Dipl. Ing. Paul Szawlowski
use the Viewplatform . getLocalToVworldTransform( ) method and transform e.g. the vector (0,0,-1) the you get a vector you are looking for in 3d space. Set Capability bits to read the above mentioned transformation. regards Paul Quoc Huynh schrieb: > Hi all, > > I'm trying to retrieve a

[JAVA3D] Cross section view problem

2001-06-12 Thread ManChoon
I have a 3D coordinate system. I draw the 0.5f scale's grid lines at the XY plane. I set the camera at Vector3f(0.0f, 0.0f, 2.0f); I found the data Point3f(-0.5f, -0.5f, 0.0f) sit on the grid line perfectly. but, not for this data Point3f(-0.5f, -0.5f, 1.0f). I understand it is nearer to camera.

Re: [JAVA3D] Cross section view problem

2001-06-12 Thread ManChoon
Thanks Renoir & Paul, it works now as expected. However, the zooming effect was disabled. view.setFieldOfView(some double number) is not working anymore. Any idea, to have it work together? === To unsubscribe, send email to