Re: [JAVA3D] Help loaders.vrml97

2001-05-16 Thread Juan Antonio
Thanks for your answer. Can you say me a link about vrml97 examples? or Can you lend me an example about it? Thanks for your attention. - Original Message - From: "Ahmed Shakil" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 15, 2001 11:19 PM Subject: Re: [JAVA3D] Help lo

Re: [JAVA3D] How to get the topology from Geometry?

2001-05-16 Thread Joachim Diepstraten
Hi Justin > > a GeometryArray? I know you can get the VertexCoordinates, > > TextureCoordinates and Colors but how can you get the topology? > > For example which Vertex are connected with an edge with each > > other? > > Well, apart from what you can infer from the different geometry types > (ie

Re: [JAVA3D] How to get the topology from Geometry?

2001-05-16 Thread Chris Thorne
>From memory in the triangle trip array the first three vertices make up the first triangle. The next vetex makes a triangle using itself and the previous two vertices. and so on... Chris ---

[JAVA3D] Influence of Transform3D on quaternions

2001-05-16 Thread Bruno Janvier
Hi,   I am using this code to move and rotate a satellite :      Matrix3f transyz = new Matrix3f( 0, 1, 0,    0, 0, 1,    1, 0, 0);    Transform3D te = new Transform3D (transyz, new Vec

[JAVA3D] spotLight, ambientLight and textures

2001-05-16 Thread PLUG
Hi, All!   Face the following problems:   1. spotLifgt does not shine on objects with textures.2. When add in scene spotLight, ambientLight don't shine.   If anyone will help in these questions, shall be very grateful       -

Re: [JAVA3D] Influence of Transform3D on quaternions

2001-05-16 Thread Bruno Janvier
by a look at the documentation, it seems that the answer of my question is yes.   It is boring. The physics looks really OK. The values look good. The spin axis of the satellite is supposed with the values I got to orientate itself towards the sun, but

Re: [JAVA3D] Install Java 3D

2001-05-16 Thread Daniel Moscoso
All installation information is in http://www.j3d.org/installing.html Hope this helps Dani If someone could help me, i'd like to install the Java 3D API. What file should i download ? Where do i install the file ? I got in the sun's homepage these files: java3d-1_2_1_01-win32-directx-sdk ja

[JAVA3D] Fit to the Panel

2001-05-16 Thread K.R.Karthikeyan
Hai ,     I want a function which should make my Shape3D fully visible on the Canvas3D.   In my Application i can  Zoomin or Zoomout my Graphics by Clicking the Corresponding buttons. Like this i want a function to make a full view of my Shape3D. ( the shape will be of any width and height )

[JAVA3D] ANN: code.j3d.org

2001-05-16 Thread Justin Couch
In the never ending chase to do New Stuff(TM) here's the latest. Too many people asking about collision detection and these two projects are somewhat intertwined so I'm announcing this a little earlier that I really want to, so please mind the ladders and buckets of paint still lying around

[JAVA3D] ANN: Collision Detection/Terrain tutorial

2001-05-16 Thread Justin Couch
In response to popular demand, I've created a tutorial on how to implement real collision avoidance and terrain following in Java 3D. The new tutorial details the code to write a generalised collision detection system for navigation. We also detail how to write a generalised terrain following nav

Re: [JAVA3D] Fit to the Panel

2001-05-16 Thread Crossley, Allistair
I use a simplistic approach...   I take the maximum value of the maxX and maxY extents of the Shape3D and then multiply that by 2 and set the Z to the negative of this value.   Cheers,Allistair CrossleyWeb/New Media ConsultantLogica UK LtdTel: 02074 463267Mob: 07884 056274 -Original Message

[JAVA3D] Trying to find old j3d.org code

2001-05-16 Thread Justin Couch
Folks, Does anyone have an older copy of the CVS code floating around? With all the stuffing around with the servers, CVS seems to have been really naughty and deleted a few files on me because the backups were from before the files were added. I don't know why it's done this, and is certainly a

Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial

2001-05-16 Thread Justin Couch
"Yazel, David J." wrote: > A quite excellent tutorial! I think you have inspired me to pick a topic > and try something similar. Perhaps on transparency or particle systems or > some such thing. Please send this way! > Some quick comments: > > 1. End of chapter 2 (Collision Detection) does no

Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial

2001-05-16 Thread alvaro zabala
We use an easier terrain navigator than this. We have a "Terrain" class, which has a property called geometry which is a double[ ] [ ] array. the same array which we use to create a QuadArray with the terrain. The terrain class has a method which get a Point3d (or Vector3d) with de ViewingPlatfo

[JAVA3D] GeometryInfo, Triangulator and Stripifier

2001-05-16 Thread alvaro zabala
When I pass a mass of Point3d to a GeometryInfo, and I call the getGeometry method, I get a exception asking for a stripCounts. ¿ May I order the points of the mass? ¿Doesn´t it implements a Delaunay / Voronoi triangulation? What is the principle of GeometryInfo?? ===

Re: [JAVA3D] Install Java 3D, Where ?

2001-05-16 Thread Luis Fabio Magalhães
I have already installed jdk1.3.0 in my computer. Should i install the files java3d-1_2_1_01-win32-opengl-rt.exe and java3d-1_2_1_01-win32-opengl-sdk.exe in c:\jdk1.3.0_02 or c:\Programs File Thanks, Luis Fábio S. M. _

[JAVA3D] GeometryInfo

2001-05-16 Thread alvaro zabala
I forgot the error's message.   java.lang.IllegalArgumentException: StripCounts inconsistent with primitive   I created a stripVertexCount of size 1.  

Re: [JAVA3D] Install Java 3D, Where ?

2001-05-16 Thread Crossley, Allistair
God man. READ THE Java3D INSTALL INSTRUCTIONS! JDK is NOT Java3D..it is the Java platform. Double click your java3d-1_2_1_01-win32-opengl-sdk.exe and follow the INSTRUCTIONS!. You need to point it at jdk1.x folder. Cheers, Allistair Crossley Web/New Media Consultant Logica UK Ltd Tel: 02074 4632

Re: [JAVA3D] Fit to the Panel

2001-05-16 Thread Paul Byrne
HI Karthiks, Check out the source of Java 3D Fly Through, it contains a method in Controller.java that will move the viewer so that a Bounded volume is visible, taking into acount the View Frustum size. Rgds Paul >MIME-Version: 1.0 >X-Priority: 3 >X-MSMail-Priority: Normal >X-MIMEOLE: Produced

Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial

2001-05-16 Thread Yazel, David J.
Justin: A quite excellent tutorial! I think you have inspired me to pick a topic and try something similar. Perhaps on transparency or particle systems or some such thing. Some quick comments: 1. End of chapter 2 (Collision Detection) does not have "next step" links like are at the end of cha

Re: [JAVA3D] Level-Of-Detail.

2001-05-16 Thread Enylton Machado Coelho
If I understood the original question right, what you want is a behavior similar to LOD ( and you know how to use LOD). But this behavior should not simply use the distance to set the appropriate value on the switch. What I did was to extend LOD and implement the processStimulus method to project

[JAVA3D] Different rasterization and multiview ?

2001-05-16 Thread Steven Gay
Hello, Is it possible to view the same SceneGraph in two different views, one with the Rasterization mode of the polygones set to POLYGON_FILL and the other with the mode POLYGON_LINE? Or do you need to copy the entire SceneGraph? Of course, a little source code exemple would be greatly apprec

Re: [JAVA3D] Memory or performance

2001-05-16 Thread Pedro Estrada
You might want to look at the SharedGroup object in the Java3D API. You could have a collection of SharedGroups, one for each tree type, and use these to create your forest. The advantage here is that you get to reuse the Shape3D for each tree by sharing a single instance, instead of creating a n

[JAVA3D] Mouse Controls

2001-05-16 Thread Karsten Fries
hi there, i have two behaviors, one reacting on a mouse click, the other one reacting on mouse double-click. if the user double-clicks the canvas both behaviors are triggered. why??? is there a possibility to get around this? how is this actually specified in the AWT? i suppose, a double-click

[JAVA3D] Triangulator is useful????

2001-05-16 Thread alvaro zabala
Java3D's documentation is VERY POOR.   When I`m going to review the Triangulator class documentation, I find this:     Triangulator   public Triangulator(int earOrder)    Method Detail   triangulate   public void triangulate(GeometryInfo gi)   This routine converts the GeometryInfo objec

[JAVA3D] Memory or performance

2001-05-16 Thread Lan Wu-Cavener
Hi, all: I am working on a Virtual Forest Java3D system for forestry management. I have a rather strategic question. Since the system will represent huge numbers of trees for thousands of acres of forest, currently the tree 3D shapes are generated on fly. The system should feature choices of show

[JAVA3D] ANN: 2002 Web3D Symposium Call For Papers

2001-05-16 Thread Justin Couch
== CALL FOR PAPERS Web3D 2002 Conference 7th International Conference on 3D Web Technology http://Web3DSymposium.org February 2

Re: [JAVA3D] Help loaders.vrml97

2001-05-16 Thread Ahmed Shakil
goto: http://www.manning.com/Barrilleaux/ and download the source code or sample chapters. you will find some examples using vrml97. Ahmed -Original Message- From: Juan Antonio [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 12:27 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D

Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial

2001-05-16 Thread Yazel, David J.
Wow I had no idea. For some reason I just assumed they were accessing the data directly, since they have access to the geometry. You mean they are pulling the geometry out into an short lived array every time I do a pick with GEOMETRY_INTERSECTION? What good is that! I don't understand why they

[JAVA3D] ANN: Japanese FAQ Translation

2001-05-16 Thread Justin Couch
Another translation to add to the list. This time Yukio Andoh has provided us with a Japanese translation of the FAQ at: http://www.nk-exa.co.jp/~andoh/java/3d/faq/index.html We have links from the main page currently, but nowhere else. BTW, I have to add the links to the weekly emails too. --

Re: [JAVA3D] Exception on exiting applet

2001-05-16 Thread Yuri Nikishkov
Title: RE: [JAVA3D] Exception on exiting applet Hi Kelvin, thank you for a quick reply. Unfortunately, it is not easy for us to send you our applet since it needs a connection to server to load examples. We are currently preparing the local application to send you for evaluation, so that sho

Re: [JAVA3D] Exception on exiting applet

2001-05-16 Thread Kelvin Chung
Hi Yuri, I've submit a bug for the first problem: 4458891- MasterControl throw NullPointerException sometimes when exit from applet as a record before receiving your test application. For the second problem, I believe it is same as bug 4457394 - NullPointerException when unregi

Re: [JAVA3D] Memory or performance

2001-05-16 Thread Lan Wu-Cavener
Thanks for your advice. I probably didn't describe my problem clearly. Each individual tree has distinct property and is shown in different color scheme according to certain characteristics, such as species, diameter, etc. For instance, when user clicks to see trees in species, the same type of

Re: [JAVA3D] install problem

2001-05-16 Thread Paul Pantera
There are problems with our installers on Windows ME with Java 1.3.1. Downgrade to 1.3.0_02 and it should work. -Paul > From: "Navin Daryanani" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: install problem > Date: Wed, 16 May 2001 15:14:06 +1000 > MIME-Version: 1.0 > Content-Transfe

Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial

2001-05-16 Thread Doug Twilleager
Moving some of the picking utility functionality into the core is one of the things being looked at for 1.4. Doug Twilleager Java 3D Team Sun Microsystems >MIME-Version: 1.0 >Subject: Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial >To: [EMAIL PROTECTED] > >Wow I had no idea. For some re

Re: [JAVA3D] Triangulator is useful????

2001-05-16 Thread Dan Petersen
The Triangulator (and NormalGenerator) should be used via GeometryInfo. Please see the Javadocs for GeometryInfo for more information. The Triangulator constructor was not supposed to be public and will be deprecated in the 1.3 release of Java 3D. Dan Petersen Java 3D Team Sun Microsystems > MI

Re: [JAVA3D] Mouse Controls

2001-05-16 Thread Eric Reiss
I have an odd workaround but it may lead you in the right direction. I used the picking behaviors as a model and created two new behaviors, one for selecting an object using the pickingcallback method and the other to fire off a dialog box when someone doubleclicks. The double click method also

[JAVA3D]

2001-05-16 Thread Malguy, Eric G.
Hi all, Does anyone know how to run the appletviewer from an html file? I'll appreciate it if you have sample code. Thanks, Eric \\\|/// \\ ~ ~ // ( @ @ ) --oOOo-(_)-oOOo

[JAVA3D] Transparency

2001-05-16 Thread Vidya Sagar
Hi all, I used two gif images in texture mapping and mapped them one after the other parallelly. Using the BufferedImage class and ColorModel class I have set the Alpha component of all the black pixels in the two images to 255. Since I mapped the two images, one behind the other, I should

Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial

2001-05-16 Thread Ahmed Shakil
Where is that "Terrain" class? Can we get it? -Original Message- From: alvaro zabala [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 8:11 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial We use an easier terrain navigator than this. We h

Re: [JAVA3D] Trying to find old j3d.org code

2001-05-16 Thread Leyland Needham
I checked out the code a quite a few of weeks ago (im not sure the exact date but the latest file date is 3/21), before you were having trouble with your server, and I dont have those files. About when were they added? Leyland Needham =

[JAVA3D] preserving image during window resizing

2001-05-16 Thread Roy Duffy
I need to preserve the image (but just see more or less of it) when my application window resizes. Calling "view.setWindowResizePolicy(View.VIRTUAL_WORLD);" would be exactly what I need, but it is a documented bug that this doesn't work yet. I tried manually calculating a new FOV but couldn't ge

[JAVA3D] Copying objects...

2001-05-16 Thread Leyland Needham
What is the best way to copy objects for Java3D BranchGroups (I want to copy the entire branch group hopefully no referencing)? Normally I would look this up myself but I am busy preparing for E3. BTW I am getting slower performance now, when a fuller view of my scene is shown (it seems rather dr

Re: [JAVA3D] preserving image during window resizing

2001-05-16 Thread Roy Duffy
Nevermind. I think I can use the frustum or perspective functions in Transform3D and apply it to the ViewPlatformTransform. -Roy Roy Duffy wrote: > I need to preserve the image (but just see more or less of it) when my > application window resizes. Calling > "view.setWindowResizePolicy(View

Re: [JAVA3D] Transparency

2001-05-16 Thread Leyland Needham
Its the ZBuffer, the whole poly is still being rendered to the zbuffer even though parts of it are transparent, but there is 2 situations (depending on what kind of transparency you are trying to do) with its own solution... What kind of transparency are you trying to do, blended/translucent/semi

Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial

2001-05-16 Thread Justin Couch
"Yazel, David J." wrote: > > Wow I had no idea. For some reason I just assumed they were accessing the > data directly, since they have access to the geometry. They aren't for the PickTool code. With the direct collision detection code they would have to be. > You mean they are > pulling the ge

Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial

2001-05-16 Thread Justin Couch
alvaro zabala wrote: > > We use an easier terrain navigator than this. > > We have a "Terrain" class, which has a property called geometry which is a > double[ ] [ ] array. > the same array which we use to create a QuadArray with the terrain. Yes, as I said at the top of the tutorial - this is a

Re: [JAVA3D] Copying objects...

2001-05-16 Thread Dan Petersen
Have you looked into the Node.cloneTree() methods? This might do what you want. Dan Petersen Java 3D Team Sun Microsystems > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Date: Wed, 16 May 2001 18:15:00 EDT > From: Leyland Needham <[EMAIL PROTECTED]> > Subject: [JAVA3D] Copying objects.

Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial

2001-05-16 Thread John Wright
Some readers here might get the wrong idea from your blunt comments Justin. I believe both Dave Yazel (Cosm) and myself (Pernica) run collision detection and terrain following (via the Picking utilities) in fairly large worlds at frame rates running up to 100 fps. So Sun's routines might be "poo

Re: [JAVA3D] preserving image during window resizing

2001-05-16 Thread Roy Duffy
I thought I had a solution with the frustum and/or perspective functions in Transform3D, but the documentation says those are "Compatability functions" which are "primarily intended to help jump-start porting of existing applications" and "limit the portability of Java 3D programs." It sounds lik

Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial

2001-05-16 Thread Justin Couch
John Wright wrote: > > Some readers here might get the wrong idea from your blunt comments > Justin. I believe both Dave Yazel (Cosm) and myself (Pernica) run > collision detection and terrain following (via the Picking utilities) in > fairly large worlds at frame rates running up to 100 fps. So

Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial

2001-05-16 Thread David Yazel
Well... its true that I actually do have the heightmap available to me, and for the first few months I used that with some code to calculate where the person's feet would be in mid-triangle. Then I started auto-optimizing my terrain from a regular grid to an irregular grid using edge collapsing.

[JAVA3D] Picking

2001-05-16 Thread Jonathan Albert C. Vallar
Hello! I am planning to create my own picking behavior. Should I implement all the methods:initialize(),processtimulus(),updatescene() methods? If not, what are the methods required? What happens to the other methods and what functions does these methods do since I did not define the methods?

Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial

2001-05-16 Thread Justin Couch
David Yazel wrote: > Soon we will be supporting layered terrain, like caves, overhangs, etc, so > moving away from actual picking will start causing some real problems. Exactly. The test code that I used for my code was a church - very lovely structure - rolling hills for geometry, sloping floor

Re: [JAVA3D] preserving image during window resizing

2001-05-16 Thread Mark Hood
> Date: Wed, 16 May 2001 20:31:27 -0400 > From: Roy Duffy <[EMAIL PROTECTED]> > > I need to preserve the image (but just see more or less of it) when my > application window resizes. Calling > "view.setWindowResizePolicy(View.VIRTUAL_WORLD);" would be exactly what I > need, but it is a do

[JAVA3D] java to ejb convertor tool

2001-05-16 Thread Jim Marshall
Hi Guys, check out this link http://www.futureach.com/solutions/advanced.html excellent "Java to EJB convertor" tool Jim Marshall === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "si

Re: [JAVA3D] Transparency

2001-05-16 Thread Vidya Sagar
Hi Needham, Thanks for your prompt reply. I have followed your suggestion(i.e., the code u have given) and I could able to view my images. As u suggested me to use GIMP etc to set transparency for my images, that will be a weird task bcos I am using around 50 images in texture m