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

2001-05-17 Thread Joachim Diepstraten
Ehlo Chris >From memory in the triangle trip array the first three vertices make up the I think you mean strip instead of trip. Thanks for you answer unfortunately I was not talking about a strip but about the TriangleArray. I'm aware how a strip is normally defined EOF, J.D. -- A tribute to D

Re: [JAVA3D] spotLight, ambientLight and textures

2001-05-17 Thread Joachim Diepstraten
Ehlo PLUG > 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 Hmm do you mean by shine highlights? If yes maybe the specular term isn't computed on textures this is o

Re: [JAVA3D] Picking

2001-05-17 Thread Adriano Cavalcanti Silva
Hi, Get a look in Eric's Tutorial, it's extremely practical: http://www.sigda.acm.org/Eric/ Rgds, |:0), Adriano "Jonathan Albert C. Vallar" schrieb: > Hello! > > I am planning to create my own picking behavior. Should I implement all the >methods:initialize(),processtimulus(),updatescene(

Re: [JAVA3D] Mouse Controls

2001-05-17 Thread Joachim Diepstraten
Ehlo Karsten > is there a possibility to get around this? Yep IIRC you can get from the MouseEvent-Object the clickCount just check if it's below or equal 2 EOF, J.D. -- A tribute to Douglas Adams (http://www.antiflash.net/raytrace/douglasadams.html) ==

[JAVA3D] How to change the capabilities of the viewingplatform

2001-05-17 Thread Kris Korstjens
Hello   Does anyone know how or when to get the ViewingPlatform from the SimpleUniverse so that i can change the capabilities of the ViewingPlatform.  I always get a RestrictedAccessException because you can't change the capabilities of al live or compiled object...   Or can anyone explain me

Re: [JAVA3D] How to change the capabilities of the viewingplatform

2001-05-17 Thread Justin Couch
> Kris Korstjens wrote: > Or can anyone explain me how to construct a Universe yourself instead > of using the SimpleUniverse-class. http://www.j3d.org/tutorials/raw_j3d/chapter1/ -- Justin Couch http://www.vlc.com.au/~justin/ Freelance Java Consultant

Re: [JAVA3D] How to change the capabilities of the viewingplatform

2001-05-17 Thread Joachim Diepstraten
Ehlo > Does anyone know how or when to get the ViewingPlatform from the SimpleUniverse so >that i can change the capabilities of the ViewingPlatform. I always get a >RestrictedAccessException because you can't change the capabilities of al live or >compiled object... Hmm that's interesting no

[JAVA3D]

2001-05-17 Thread Lan Wu-Cavener
I have a n by m grids, each grid is devided into 2 triangles. I used the TriangleStripArray(int vertexCount, int vertexFormat, int[] stripVertexCounts). vertexCount = n * m vertexFormat = GeometryArray.COORDINATES | GeometryArray.NORMALS, stripVertexCounts = {(m-1)*2, (m-1)*2, } (this array

[JAVA3D] VerifyError problems

2001-05-17 Thread Justin Couch
Folks, This is a really odd one that I just can't work out. I've got a bunch of geometry classes that extend Shape3D. I can compile and create the classes no problems. However, when I attempt to add an instance of *some* of them to a Group node I get the verify error. Unfortunately there isn't ev

Re: [JAVA3D] Grafic card question

2001-05-17 Thread Desiree Hilbring
Hi, I just set the front clipping plane very far. That helped, but to examine the viewer needs to zoom into the scene, I am using the MouseZoom Behavior for that. During zooming the objects is clipped very to early. Can I adjust the front and back clipping planes during zooming? Tanks for your h

Re: [JAVA3D] Grafic card question

2001-05-17 Thread Desiree Hilbring
Hi, currently I try to reset my clipping planes. Until now I am calculating the necessary back clip distance (distance to see entire scene + 1/4*distance to see entire scene) and then calculating the front clip distance with a ratio somewhere between 500 and 3000 ( I tried some of them with no su

Re: [JAVA3D] 3D rendering

2001-05-17 Thread Doug Gehringer
> From: Johhny S <[EMAIL PROTECTED]> > >I am working on volume rendering. I started > with extracting 2D slices from a dataset 0f 512 > slices. Now I want to render the dataset into 3D > image. I wanted to use texture mapping to do this. There is an example of how to do this at http://ww

[JAVA3D] Big problem with Triangulator

2001-05-17 Thread Rajamiyer Ravichandran
I don't like about that is when I triangulate a trimmed NURBS surface with holes in it, the triangulation is correct but all the normals generated are in the opposite direction of the NURBS surface. In my case the BURBS surface has a normal (0,0,1.0) but the normals generated by the triangulator

[JAVA3D] Query on the design of the KeyNavigator package!

2001-05-17 Thread Markus Poltorp
HI, I'm writing a game using Java3D for my final year project at South BankUniversity in London.   I've found the KeyNavigator convenience package of immense use, but I'm curious about a simple detail. The calculation of the new position of the view port and the following update of the view por

Re: [JAVA3D] Level-Of-Detail.

2001-05-17 Thread Enylton Machado Coelho
I think most of the people use SimpleUniverse. We don't really use SimpleUniverse, but I think it provides methods to project points onto the view plane. I took a brief look at the documentation and I think getVworldToImagePlate sets a Transform3D that can be used to project the points. (please co

[JAVA3D] Fog (Linear) Differing Results

2001-05-17 Thread Mark Ferneau
All - I have fog working beautifully on some machines and not at all on others. Even on the same machines with different OS's I get different results. Clearly this tells me that the problems are likely driver problems, but I saw this and wondered if it might be a related problem. > You're rig

Re: [JAVA3D] Fog (Linear) Differing Results

2001-05-17 Thread Kelvin Chung
Hi Mark, Which version OpenGL/DirectX of Java3D are you using ? This bug is only relevant if you are using DirectX version and is already fixed in latest release. If you are using DirectX version, I believe what you see is due to different fog implementation by driver. Note that DirectX vers

Re: [JAVA3D] Fog (Linear) Differing Results

2001-05-17 Thread Mark Ferneau
Kelvin, In the body of the email I indicated J3D (Java3D) 1.2.1_01 for both OGL and D3D. I think, therefore, that this is a driver issue--although I see it across different machines, boards, and operating systems. So essentially I should probably not rely on fog looking reasonably consistent ac

Re: [JAVA3D] Fog (Linear) Differing Results

2001-05-17 Thread Kelvin Chung
>X-Sender: [EMAIL PROTECTED] >Date: Thu, 17 May 2001 17:49:32 -0400 >To: Kelvin Chung <[EMAIL PROTECTED]> >From: Mark Ferneau <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] Fog (Linear) Differing Results >Cc: [EMAIL PROTECTED] >Mime-Version: 1.0 > >Kelvin, > >In the body of the email I indicated J3D (

Re: [JAVA3D] Big problem with Triangulator

2001-05-17 Thread Paul Pantera
> MIME-Version: 1.0 > Date: Thu, 17 May 2001 11:54:47 -0700 > From: Rajamiyer Ravichandran <[EMAIL PROTECTED]> > Subject: [JAVA3D] Big problem with Triangulator > Comments: To: Dan Petersen <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > > I don't like about that is when I triangulate a > trimmed NU

[JAVA3D] Java 1.3.1 and Java 3D 1.2.1

2001-05-17 Thread Mauricio Vives
Hey folks,   Now that Java 1.3.1 has been released, are there any new issues (positive -or- negative) between Java 1.3.1 and Java 3D 1.2.1 that Java 3D developers should be aware of?  For example, new bugs, new fixes, performance changes, etc.   Thanks for any information.   - Mauricio

Re: [JAVA3D] Java 1.3.1 and Java 3D 1.2.1

2001-05-17 Thread John Sutter
Did you do all the usual cache clearing and forced reloading/refreshing of pages stuff? If you're using a forward proxy it might have the old pages cached as well. I downloaded the files with no problems at 14:06 PST -j ==

Re: [JAVA3D] Java 1.3.1 and Java 3D 1.2.1

2001-05-17 Thread Ahmed Shakil
First of all sun download center has to fix there link for 1.3.1 (windows verions) becuase its still taking me to Version 1.3.0_02 -Original Message-From: Mauricio Vives [mailto:[EMAIL PROTECTED]]Sent: Thursday, May 17, 2001 4:35 PMTo: [EMAIL PROTECTED]Subject: [JAVA3D] Java 1.3

Re: [JAVA3D] Fog (Linear) Differing Results

2001-05-17 Thread Philip Taylor
there are two important bits here: 1) report all driver bugs 2) D3D fog 1) report all driver bugs. this is SO important. if all ISVs dont report driver bugs they find, the quality of the drivers never gets better. please take the time to report these. Most IHVs do have helpful d

Re: [JAVA3D] Fog (Linear) Differing Results

2001-05-17 Thread Kelvin Chung
Hi Philip, Great summary. The problem of non W-Friendly projection matrix is fixed in v1.2.1 beta2 and later (that's bug 4402941 which we use -1 instead of 1 in _m34). Java3D only set D3DRENDERSTATE_FOGVERTEXMODE and corresponding values. Do you mean (1) If the driver did not support it, Dir

Re: [JAVA3D] Fog (Linear) Differing Results

2001-05-17 Thread Philip Taylor
Hi Kelvin. glad you thought the post useful. I erred on the side of sending more data rather than less. Usually a good thing :-). no, D3D doesnt automatically fallback. I meant 2, as you indicate below - that a smart application would examine the local configuration and attempt to use the featur