Re: [JAVA3D] Always visible???

2002-10-02 Thread Brad Christiansen
Hi, Use: JPopupMenu.setDefaultLightWeightPopupEnabled(false); Also look at j3d.org for tips on combing J3D and swing. Cheers, Brad Gael wrote: > > Hi everyone, > > My question is about the canvas3d object. Everytime I added a popup menu or > a menu bar to my application using, in part, a canv

[JAVA3D] Always visible???

2002-10-02 Thread Gael
Hi everyone, My question is about the canvas3d object. Everytime I added a popup menu or a menu bar to my application using, in part, a canvas3d object, the different menu are hidden by it. does anyone know how to change this option, in order to be able to make something appeared over the canvas3

Re: [JAVA3D] Sphere question

2002-10-02 Thread Scholl, Ed
You can always use a triangle strip array for the bottom too, all with the same values if you really, really want to use one simple loop. Just loop through creating a strip at a time- I input radar data from files, so for testing I create a sphere by specifying elevation, azimuth, and magnitude v

[JAVA3D] Sphere question

2002-10-02 Thread Andy
Hello all, it's me again: Many of you are graphics genius, you use algorithm to generate points and connect them into a sphere. I was trying to use TriangleFanArray for top and bottom part for sphere, TriangleStripArray for body. However, I would like to know the algorithm of generating a spher

Re: [JAVA3D] Texture loading

2002-10-02 Thread Alan Hudson
John Wright wrote: >I was experimenting with this yesterday and only saw about a 25% >performance increase by using the image loading code from j3d.org vs >using Sun's "TextureLoader". So I wouldn't expect to see any large >changes. You could put in a lot of work, end up with something less >fl

Re: [JAVA3D] Texture loading

2002-10-02 Thread John Wright
I was experimenting with this yesterday and only saw about a 25% performance increase by using the image loading code from j3d.org vs using Sun's "TextureLoader". So I wouldn't expect to see any large changes. You could put in a lot of work, end up with something less flexible and only gain a mi

Re: [JAVA3D] Texture loading

2002-10-02 Thread Alan Hudson
John Wright wrote: >You could manually insure that your image is sized in powers of two and >rewrite the texture loader code to not resize your image as you load it. > > > Definately insure your using power of 2 texture sizes. That said, we found we had to move to using our own texture loading s

[JAVA3D] Pick multiple objects by drawing a window on the screen

2002-10-02 Thread White Morph
Hi All, I found several posts for this question, but no one has an answer. I tried to do it myself. Right now, I wrote a class to draw a rubber-wand like window on the graphics model, so I can get the 4 screen coordinates for the window, combined them with the eye point, I can construct a pyrami

Re: [JAVA3D] Texture loading

2002-10-02 Thread John Wright
You could manually insure that your image is sized in powers of two and rewrite the texture loader code to not resize your image as you load it. - John Wright Starfire Research "ZACZEK, MARIUSZ P. (JSC-DM) (NASA)" wrote: > > I find that if the texture image is smaller it will load fasterredu

Re: [JAVA3D] ? VRML ... binary or text ?

2002-10-02 Thread Justin Couch
ZACZEK, MARIUSZ P. (JSC-DM) (NASA) wrote: > Sorry for the VRML topic in the Java3D group but maybe someone knows... > are there binary VRML files??? I downloaded some .wrl files but when I > opened them they were binary Run them through a program capable of uncompressing GZip files. Winzip o

Re: [JAVA3D] Texture loading

2002-10-02 Thread ZACZEK, MARIUSZ P. (JSC-DM) (NASA)
I find that if the texture image is smaller it will load fasterreduce your image and it should be faster...not sure how else to improve load time...although others may know. Mario Mariusz Zaczek NASA - Johnson Space Center Automated Vehicles and Orbit Analysis / DM35 Flight Design and Dyn

[JAVA3D] Texture loading

2002-10-02 Thread Zak Nixon
BlankI have a globe with a texture wrapped around it. While the creation of the globe, it takes a long time to load the texture. Is there anyway to speed up the loading of a texture. I am currently have the code at the bottom of this message.. Thanks for your help. - Zak Code below: ---

[JAVA3D] ? VRML ... binary or text ?

2002-10-02 Thread ZACZEK, MARIUSZ P. (JSC-DM) (NASA)
Sorry for the VRML topic in the Java3D group but maybe someone knows... are there binary VRML files??? I downloaded some .wrl files but when I opened them they were binarythe only ones I know were text based which is all that I thought I could load with the VrmlLoader (vrml97)can someone

[JAVA3D] Java3d package for Script based install

2002-10-02 Thread Jon Hansen
Please tell me the best place to download the java3d tar.Z bundle. This would simplify multiple Solaris machine installs. I currently am installing the Java 1.3.1.06 and 1.4.1 packages with a simple shell script. I would like to add the java3d as another bundled component. Any suggestions? -Jo

Re: [JAVA3D] OBJ x VRML :: When I should use this or that one?

2002-10-02 Thread John Wright
As Justin pointed out this is going to depend on the loader and what interesting quirks we do when we load a model. Assuming the resultant model was identical then yes of course the speed once loaded should be identical. But as an example let me point out when we load a 3DS model with our loader

Re: [JAVA3D] Indexed geometry

2002-10-02 Thread Kelvin Chung
David Yazel wrote: > Hi all. I have a couple of questions regarding indexed geometry. > > 1. There seesm to be no way to define the indices and by-ref. Is that > correct? > So the only way to set the indices is either to pass in an array > using setCoordinateIndices(int index, int[]) or to set e

Re: [JAVA3D] OBJ x VRML :: When I should use this or that one?

2002-10-02 Thread Justin Couch
ZACZEK, MARIUSZ P. (JSC-DM) (NASA) wrote: > using 3DS format for loading is probably faster than say VRML ... but once > it gets loaded > into memory their should be no difference in terms of memory usage and > speed...right? Not necessarily. A lot has to do with the way the representations are t

Re: [JAVA3D] OBJ x VRML :: When I should use this or that one?

2002-10-02 Thread ZACZEK, MARIUSZ P. (JSC-DM) (NASA)
using 3DS format for loading is probably faster than say VRML ... but once it gets loaded into memory their should be no difference in terms of memory usage and speed...right? So, the best thing to do to increase in-program speed is to have a smaller 3D object that takes up less memory..?? Mar

Re: [JAVA3D] ? VRML Editors and VRML Reduction ?

2002-10-02 Thread ZACZEK, MARIUSZ P. (JSC-DM) (NASA)
I used the 3Dreducer and it did not work well at allit was not able to handle the files...mine are about 10mb.   thanks,    Mario Mariusz Zaczek NASA - Johnson Space Center Automated Vehicles and Orbit Analysis / DM35 Flight Design and Dynamics Division Mission Operations Directorate Bldg:

Re: [JAVA3D] OBJ x VRML :: When I should use this or that one?

2002-10-02 Thread John Wright
The issue of speed of loading hasn't been addressed. If you want faster loading models then a format like 3DS that uses binary values rather than text (that obviously needs to be parsed) can be faster to load. - John Wright Starfire Research Justin Couch wrote: > > Alessandro Borges wrote: > >

Re: [JAVA3D] ? VRML Editors and VRML Reduction ?

2002-10-02 Thread Marcelo Scotti
Hi Mario,   if by "you can modify VRML objects" you mean 'in-real-time', you may want to use CosmoWorlds (publicly unavailable for PC) from SGI, or the various softwares from ParallelGraphics http://www.parallelgraphics.com/products/ -VRMLPad (great VRML code editor - not real-time) -Internet

Re: [JAVA3D] ? VRML Editors and VRML Reduction ?

2002-10-02 Thread John Richardson
Title: Re: [JAVA3D] ? VRML Editors and VRML Reduction ? Hello, I use Spazz3D. It is inexpensive when licensed and fully functional for 30 days of trial. Get the latest drivers for your graphics card. This solves almost all the problems reported with Spazz and these problems may be out of Keith V

Re: [JAVA3D] ? VRML Editors and VRML Reduction ?

2002-10-02 Thread Alessandro Borges
I found 3DReducer free edition  www.3dReducer.com . Seen it grows to more sofisticated product. Alessandro - Original Message - From: ZACZEK, MARIUSZ P. (JSC-DM) (NASA) To: [EMAIL PROTECTED] Sent: Wednesday, October 02, 2002 1:37 PM Subject: [JAVA3D] ? VRML Edi

Re: [JAVA3D] OBJ x VRML :: When I should use this or that one?

2002-10-02 Thread Justin Couch
Alessandro Borges wrote: > > 1) Does your application only need geometry ? > For some simple 3D objects, yes. > Hierarchical structure within a complex 3D object is desirable, but not > mandatory. Material and Texture support is needed . For simple geometry, any format is fine. OBJ, DXF, VRML e

Re: [JAVA3D] 3D applets

2002-10-02 Thread Alessandro Borges
Hi Andy, Thanks ;) I guess it set  Spheres to  22 at low, 40 at med, and 100 at high.   Appearance looks different under different lighting. So you can test how your appearance will looks when lit by a  Point, a Spot or a Directional font light.   Alessandro - Original Message -

[JAVA3D] ? VRML Editors and VRML Reduction ?

2002-10-02 Thread ZACZEK, MARIUSZ P. (JSC-DM) (NASA)
Hi,   Does anyone know of FREE/INEXPENSIVE  VRML Editors...where you can modify VRML objects. I know some/most CAD programs   can export into VRML but how about once you have a VRML and you'd like to edit it.     Also, has anyone found any polygon reduction programs that actually work and are al

Re: [JAVA3D] 3D applets

2002-10-02 Thread Mark Kahrl
  I have several 3D Applets on my site, check 'em out, comments and feedback welcome!   [Mark Kahrl]  http://www.kahrlconsulting.com/3D-Applets.htm  

Re: [JAVA3D] 3D applets

2002-10-02 Thread Kevin J. Duling
I've a 3D applet that demos my Milkshape 3D Loader at http://home.earthlink.net/~kduling/Milkshape/  At the bottom of the page is the link to the applet.   I'm having trouble with it, currently.  It's causing IE to immediately crash and I can't figure out why. - Original Message -

Re: [JAVA3D] 3D applets

2002-10-02 Thread Andy
The AppearanceEditor applet is amazing.  I would like to know how many nodes(or segments) did you use for high resolution of the sphere?  128?  The applet even runs very smoothly on my machine when I set it to high, good job.  Also, I don't understand what's ambient light?   Many Thanks,   A

Re: [JAVA3D] Tutorial question

2002-10-02 Thread Carlos D Correa
Yes, strip is a set of points conforming a surface, such that contiguous points form "somehow" a face. That's the traditional concept of strip, and in the case of TriangleFans, the stripCount refers to the fans. Carlos Andy wrote: >Thank you very much, here is my new code which works. > >priv

Re: [JAVA3D] Tutorial question

2002-10-02 Thread Andy
Thank you very much, here is my new code which works. private BranchGroup createCone(){ BranchGroup root = new BranchGroup(); // CREATE ALL TRIANGLES // TriangleFanArray tfa; int s = 8; int v = s + 1;

[JAVA3D] Indexed geometry

2002-10-02 Thread David Yazel
Hi all. I have a couple of questions regarding indexed geometry. 1. There seesm to be no way to define the indices and by-ref. Is that correct? So the only way to set the indices is either to pass in an array using setCoordinateIndices(int index, int[]) or to set each one at a time with setCoor

Re: [JAVA3D] Tutorial question

2002-10-02 Thread Carlos D Correa
Hi, When you set the stripCounts Array, it specifies how many vertices are in each separate strip (or fan). So, the sum of values in stripCounts should be the same as the number of points. Instead of stripCounts of 17, use: int stripCounts[] = {10}; // your only strip has 10 vertices Als

Re: [JAVA3D] 3D applets

2002-10-02 Thread evolutie
I worked on a 3d data visualisation webapp which you can find here: http://datacloud2.v2.nl/ To go directly to the demo applet go here http://dbserver.v2.nl:7070/datacloud/prototype.html in case you try it.loading the cloud takes a while (only try it with a highbandwidth connection) I

Re: [JAVA3D] 3D applets

2002-10-02 Thread Alessandro Borges
Hi, I wrote some :   Java3D test -> http://www.cpm2002.hpg.ig.com.br/alessandro/J3D/index.html Appearance Editor OnLine -> http://www.cpm2002.hpg.ig.com.br/alessandro/AppearanceEditor/Applet1.html      this also genarates a small frame child, with a changing appearance sphere. Sometime this fr

Re: [JAVA3D] 3D applets

2002-10-02 Thread Asaf Dafner
Hi Dirk, http://cochise.mta.ac.il/~dune/labie.html .. BUT if you're looking for autoinstall, giveup. It can't be done. Asaf. "Dirk L. van Krimpen" wrote:  Hi all, Just wondering, is there anybody who presently has a 3D applet running on his website available to visitors through the web? If so,

[JAVA3D] 3D applets

2002-10-02 Thread Dirk L. van Krimpen
  Hi all,   Just wondering, is there anybody who presently has a 3D applet running on his website available to visitors through the web? If so, could you please, let us know where to find it? If you know of possible other sites showing 3D applets it would be very much appreciated to get the u