Re: [JAVA3D] Java 3D on Sony PS2?

2001-07-20 Thread Justin Couch
James Robertson wrote: > > What about J3D on Sony PlayStation2? Sony announced at JavaOne > full Java support and running Linux by this fall. That sounds like it > opens up some intriguing possibilities. Anyone know any more? There is a JSR that has just started up that provides a "Java Gaming" A

Re: [JAVA3D] Transparency / J3D 1.2.1_01 D3D

2001-07-20 Thread Philip Taylor
as I recall screendoor was only used for the software rasterizer...although its possible a really, really old card/driver might do that. > -Original Message- > From: Kelvin Chung [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 20, 2001 10:38 AM > To: [EMAIL PROTECTED] > Subject: Re: [JAVA

Re: [JAVA3D] Java 3D on Sony PS2?

2001-07-20 Thread Kendall, Shawn
Go to www.JavaGaming.org for more discsussion on this topic from the guys behind it! James Robertson wrote: What about J3D on Sony PlayStation2? Sony announced at JavaOne full Java support and running Linux by this fall. That sounds like it opens up some intriguing possibilities. Anyone know any

[JAVA3D] Plz Explain!

2001-07-20 Thread Ashish Aggarwal
Hello All! How can I differentiate between two clicks, one after another, of left mouse button on same primitive. Like, on first click I want to execute some behavior and on another click I want to execute another behavior, which is using data from first behavior. Please give some tips about i

Re: [JAVA3D] the object disappear if i set a material.

2001-07-20 Thread Yazel, David J.
Hehe... Nope. I may regret taking such a strong stance, but while a face normal is *generally* calculated to be perpendicular to the plane formed by 3 points, it is *not* mandatory. Normals and windings have nothing to do with each other except when considering the standard face normals calcula

Re: [JAVA3D] Rotation

2001-07-20 Thread Mona Wong
You may want to pickup a C++ programming book in combination with looking at the following links: http://developer.java.sun.com/developer/onlineTraining/Programming/BasicJava1/ http://developer.java.sun.com/developer/onlineTraining/new2java/ http://developer.java.sun.com/developer/onlineT

Re: [JAVA3D] the object disappear if i set a material.

2001-07-20 Thread Joachim Diepstraten
Hi David > It's a common misconception that back face culling is done using normals. Aehm back face culling is most easly done by using the normals you actually multiply the normal.z with the eye.z and if it's < 0 than you can remove the surface. This only works with concave objects. > Backface

Re: [JAVA3D] the object disappear if i set a material.

2001-07-20 Thread Yazel, David J.
It's a common misconception that back face culling is done using normals. Backface culling is based on the "winding" of the vertices. I think the confusion comes when you auto build your normals and because the vertices are wound the wrong way, the normal is opposite of what you are expecting. Bu

Re: [JAVA3D] Running Java applications

2001-07-20 Thread Charles Bell
On Windows NT 4.0 you set your environment variables with START ==> Settings ==> Control Panel ==> System which brings up a Dialog, choose the Environment Tab, select the Classpath or path variable and enter any additions after placing a semicolon after the last entry on the value line Charles >

Re: [JAVA3D] Transparency / J3D 1.2.1_01 D3D

2001-07-20 Thread Kelvin Chung
Hi Mark, We use device->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_ONE); device->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_ONE); in this case. So how it is handle is up to the driver. I guess the driver may use screen door transparency for blending mode. - Kelvin --- Java 3D Team Su

Re: [JAVA3D] Hidden line problem, please help

2001-07-20 Thread Doug Gehringer
> From: Qiuli Sun <[EMAIL PROTECTED]> > > I got a serious problem about my Java 3D program, which was developed six > months ago. It was working fine. Now, I updated my computer and tried to run > the Java 3D program. It did not work properly due to the hidden line problem > if I used full hardwar

[JAVA3D] Hidden line problem, please help

2001-07-20 Thread Qiuli Sun
Hi, I got a serious problem about my Java 3D program, which was developed six months ago. It was working fine. Now, I updated my computer and tried to run the Java 3D program. It did not work properly due to the hidden line problem if I used full hardware acceleration. I used the method discusse

Re: [JAVA3D] Picking linestriparrays/linearrays

2001-07-20 Thread Doug Gehringer
> From: Tor Einar Kjørkleiv <[EMAIL PROTECTED]> > > When using "picktool.setMode(picktool.GEOMETRY)" I am not able to pick > linearrays/linestriparrays. Is there an explanation to this? It works fine > when I´m picking other objects like cubes, cylinders, and so on. > Please help me. I think thi

Re: [JAVA3D] the object disappear if i set a material.

2001-07-20 Thread Borja Marcos Suárez
Thanks for your answer. - Original Message - From: "Bob Dengle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 20, 2001 6:16 PM Subject: Re: [JAVA3D] the object disappear if i set a material. | Hi | | In case you're interested, normals are used for calculating lightin

Re: [JAVA3D] the object disappear if i set a material.

2001-07-20 Thread Joachim Diepstraten
Hi Bob > In case you're interested, normals are used for calculating lighting. A > shape without normals means that no lighting can be applied, so it appears > completely black. Well that's only right when the material of the Shape has no emitting. Another problem is that it might fall through th

Re: [JAVA3D] the object disappear if i set a material.

2001-07-20 Thread Bob Dengle
Hi In case you're interested, normals are used for calculating lighting. A shape without normals means that no lighting can be applied, so it appears completely black. B.D. >From: Borja Marcos Suárez <[EMAIL PROTECTED]> >Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> >To: [EMAIL

Re: [JAVA3D] Two questions. help PLZ

2001-07-20 Thread Corysia Taware
About all I can suggest is to search the archives. I remember this being discussed before. Also, doesn't the objloader demo app do this? Or am I mistaken? - Original Message - From: "Nikolaos Abatzis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 20, 2001 9:47 AM Subje

Re: [JAVA3D] Running Java applications

2001-07-20 Thread Corysia Taware
I'm not sure this is going to be much help. I'm doing application development and not applet. I always run without any sort of default classpath environment variable. By default, if no classpath environment variable is set, java will know to search the jdk (or jre) path and the current director

[JAVA3D] Running Java applications

2001-07-20 Thread Fergus Murray
Well, I managed to find out about the Java2 plugin HTML thing... I just needed to include 'Swing' in my search, even though I'm not actually using Swing. I've realised that specifying the -cp . option with java.exe allows me to run applications in the current directory (why does the correspo

[JAVA3D] Two questions. help PLZ

2001-07-20 Thread Nikolaos Abatzis
Good morning , Given an object's whose maximum and minimum coordinates you know, how do you: a. center it on the screen? b. Make sure that it is "contained" in the 3D canvas? Any help greatly appreciated!!! Nikolaos Abatzis cell703.626.5826 home 703.815.3646 fax 703.815.9550 =

[JAVA3D] Transparency / J3D 1.2.1_01 D3D

2001-07-20 Thread Mark Ferneau
It seems as if all of my transparent objects in J3D 1.2.1_01 *D3D* are using screen door transparency, but this line in the README seems to me to indicate it should be using blended: TransparencyAttributes.TransparencyMode values FASTEST, NICEST and SCREEN_DOOR are the same as BLENDED under

[JAVA3D] Java 3D on Sony PS2?

2001-07-20 Thread James Robertson
What about J3D on Sony PlayStation2? Sony announced at JavaOne full Java support and running Linux by this fall. That sounds like it opens up some intriguing possibilities. Anyone know any more? - Jim Robertson "P. Flavin" wrote: > Java is great for 3d animtion on the web & in mobile devices.

Re: [JAVA3D] Rotation

2001-07-20 Thread Frank Bellegarde
On Fri, 20 July 2001, Riana Karsten wrote: > > As I start with Java3D I have read the whole Tutorial from Sun, but it > doesn't help me much, because I have no skills in other programming > language. Maybe it would be everything much easier if I have knowledge in > Java or C++, but I haven't. So a

Re: [JAVA3D] the object disappear if i set a material.

2001-07-20 Thread Borja Marcos Suárez
Thanks for your answer, Joachim Diepstraten I have found the error. Im sure that is a newbie error. When I saved the scene I wrote in my file all the vertex of the object, but no the normals. All I have done is write the Normal for each vertex, and in the loader class, load the normal for each

Re: [JAVA3D] Running Java3D apps

2001-07-20 Thread matthias
hello, I also had suddenly problems like Exception in thread "main" java.lang.NoClassDefFoundError -- without reason i just reinstalled java3d and everything ran fine again maybe this helps? ps : also , don't forget to include the current dir (.) in your classpath mattie 7/20/01 2:24:30 PM, F

[JAVA3D] Running Java3D apps

2001-07-20 Thread Fergus Murray
Okay, I figured out that the HTML file was failing to specify Java2 for some reason, so by butchering an HTML file that did I was able to fix it and can now run the example applets in alright NS. I'm a bit surprised that the examples I'm working with came with HTML which doesn't do the job, thou

Re: [JAVA3D] Java 3D in Mobile Devices ?

2001-07-20 Thread P. Flavin
Java is great for 3d animtion on the web & in mobile devices. Yes, you can do 3d in mobile devices, I posted a "general interest" note for those might be interested about a month ago, just before JavaOne: "Join Us: 3d with Java in Mobile Devices, Java3d with VRML" --

[JAVA3D] shape3D rendering order

2001-07-20 Thread Saurabh Akhauri
hi Is is possible to force the renderer to render a shape3D which is actually behind another shape3D on top of it. basically i have two objects in my scenegraph, i want one of them to be always on top of other How is this possible ?? will be grateful for any help saurabh ===

[JAVA3D] maintaining constant framerate

2001-07-20 Thread Jens Briesofsky
I am trying to maintain a minimum framerate during the animation of potentially very complex structures. To do this animations I have to modify a lot of TransformGroups. My Idea was to mantain the visually most dominant components at the begin of an ordered group and the nodes that add more and

[JAVA3D] Running Java3D applets

2001-07-20 Thread Fergus Murray
Hello all, I seem to remember I had Java3D applets running alright a couple of weeks ago (before I was seriously considering using it myself), but now when I try to run one I get 'Applet Tennis1 class Tennis1 got a security violation: method verification error' in NS, or 'com.ms.security.Secur

Re: [JAVA3D] video card concept question

2001-07-20 Thread Alvaro Zabala
Hi, Juan Miguel, texel and pixel aren't the same.   A texel is the screen's representation of a texture pixel. So a texel could paint many screen pixels.   Regards, alvaro -Mensaje original-De: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]En nombre de Juan Miguel

Re: [JAVA3D] Interesting discovery with GeometryUpdater and GeombyRef

2001-07-20 Thread Joachim Diepstraten
Hi Well I think I've found the problem actually there was still a forced GC (I thought I had removed that) call in the Updater. This of course leads into extrem timing problems. EOF, J.D. -- Jmark2k+1 (http://www.antiflash.net/jmark) Test the performance of your PC online! ===

Re: [JAVA3D] the object disappear if i set a material.

2001-07-20 Thread Joachim Diepstraten
Hi Borja > I have written code for saving the scene to my own file format. In this file I save >all the vertex and the material of the shape3d. > > When I load the scene if I set a material to the shape3d appearance, the object >disappears. What is happening? > > I think all is working fine if

[JAVA3D] Picking linestriparrays/linearrays

2001-07-20 Thread Tor Einar Kjørkleiv
Hi again! When using "picktool.setMode(picktool.GEOMETRY)" I am not able to pick linearrays/linestriparrays. Is there an explanation to this? It works fine when I´m picking other objects like cubes, cylinders, and so on. Please help me. I think this a rather important question. Thanks Todda

[JAVA3D] pickIntersection.getPointCoordinates?

2001-07-20 Thread "Römer, Daniel"
Hi! Just wondering, what is the use of pickIntersection.getPointCoordinates()? pickIntersection.getPointCoordinatesVW() gives me the intersection point in world coordinates.I have tested it and it is working. But the other one tells me some coordinates which are located somewhere but not in the

Re: [JAVA3D] Rotation

2001-07-20 Thread Riana Karsten
As I start with Java3D I have read the whole Tutorial from Sun, but it doesn't help me much, because I have no skills in other programming language. Maybe it would be everything much easier if I have knowledge in Java or C++, but I haven't. So and this rotation is only just for fun, because I am a