Re: [JAVA3D] Cone with 2 radius

2003-06-19 Thread á͹´ÃÙÇì à´ÇÔÊѹ (Andrew Davison)
There is a truncated cone class as part of the Java 3D plant growing example at: http://www.hta-bi.bfh.ch/~swc/DemoJ3D/VirtualPlants/ - Andrew - Dr. Andrew Davison E-mail: [EMAIL PROTECTED] Dept. of Computer

[JAVA3D] Java 3D, GL4Java, JOGL, GLUT

2003-06-19 Thread á͹´ÃÙÇì à´ÇÔÊѹ (Andrew Davison)
Florin, > You know that I've played with GL4java, which is pretty much like jogl. My > experience was terrible. Apart from good performance, the lack of a high > level API stopped me to continue in that direction. I thought Gl4Java did have GLUT libraries? But I notice that the reference to them

Re: [JAVA3D] projection coordinates

2003-06-19 Thread Mark Hood
> Date: Thu, 19 Jun 2003 18:17:36 -0400 > From: "Young, Jason" <[EMAIL PROTECTED]> > > This is a general graphics question but there really is a J3D aspect to it: > Namely how does _JAVA3D_ convert the point??? This is something I'm > investigating right now. Here is what I've come up with,

Re: [JAVA3D] problem in angle setting in java 3D using Transform3D

2003-06-19 Thread Chet Urata
Greetings, Naveen, Just to save the big guns from sending this out, I'll offer that one problem right off the bat is that your series of rotations Rot.rotX(angleX); Rot.rotY(angleY); Rot.rotZ(angleZ); results in only Rot.rotZ(angleZ) being the net effect.

[JAVA3D] problem in angle setting in java 3D using Transform3D

2003-06-19 Thread Naveen Babu Chikkala
hello i am facing some problem like angle seting with x y z planes . my basic problem is "I NEED TO PLOTE A CYLINDER IN X Y Z PLANE with some dynamic anggles " i am using below code Transform3D t3d = new Transform3D(); this t3d set to mid point of cylinder Transform3D R

Re: [JAVA3D] Cone with 2 radius

2003-06-19 Thread Γιάννης
Title: Message Could you give your frustrum class you created? - Original Message - From: Jack Bowie To: [EMAIL PROTECTED] Sent: Friday, June 20, 2003 1:40 AM Subject: Re: [JAVA3D] Cone with 2 radius I found Quadrics by going through the source for Cone. W

Re: [JAVA3D] Cone with 2 radius

2003-06-19 Thread Jack Bowie
Title: Message I found Quadrics by going through the source for Cone. Wanted to see what it was doing. The Quadrics methods do seem to support double radii. No other documentation apparently. Quadrics might offer some insights as to algorithms, however. All I wanted to do was make a simple s

Re: [JAVA3D] projection coordinates

2003-06-19 Thread Young, Jason
This is a general graphics question but there really is a J3D aspect to it: Namely how does _JAVA3D_ convert the point??? This is something I'm investigating right now. Here is what I've come up with, take it with a grain of salt as I'm still working out the code. I'm eager to hear other people's r

Re: [JAVA3D] Cone with 2 radius

2003-06-19 Thread Γιάννης
Title: Message If you look at forums of java.sun.com and Java3d particularly you will notice that someone is talking about j3d.org which pontentially may contain relevant class. I cannot find anything in j3d.org - Original Message - From: Allan Ash To: [EMAIL PROTECTED]

Re: [JAVA3D] Cone with 2 radius

2003-06-19 Thread Allan Ash
Title: Message Jack,   Whew! It took a while to locate that stuff (I'm still a J3D novice)! Is there any documentation about what's in there, or do you just have to crawl around in the source for a while? How would you ever find a thing called "Quadrics"? (not that you could use it, because i

Re: [JAVA3D] creating a building

2003-06-19 Thread Mark Young
> I was just wondering, say you want to create a building > in which you can walk around... > what ways are there to create this geometry? > Could you use for example 3D Studio Max > to design the entire building and then just load it > into your J3D program? > Or is it better create the walls, an

Re: [JAVA3D] Stress testing and 'buildGA' cost.

2003-06-19 Thread Kelvin Chung
Rob Nugent wrote: I'm deliberately coding a scene to act as a stress test to see how much geometry I can load into a scene graph and still get good performance. The scene is one of a landscape through which the ViewPlatform moves. I'm deliberately using a distant back clip plane, so that I can see

Re: [JAVA3D] Cone with 2 radius

2003-06-19 Thread Γιάννης
Title: Message Any reference? - Original Message - From: Jack Bowie To: [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 8:35 PM Subject: Re: [JAVA3D] Cone with 2 radius That's where it is. You should be able to decipher the calling sequences from the Con

Re: [JAVA3D] Cone with 2 radius

2003-06-19 Thread Jack Bowie
Title: Message That's where it is. You should be able to decipher the calling sequences from the Cone and Quadrics sources.   Jack -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 1:20 PMTo: [EMAIL PROTECTED]Subject: Re: [

Re: [JAVA3D] Cone with 2 radius

2003-06-19 Thread Γιάννης
Title: Message Do you mean com.sun.j3d.utils.geometry? Otherwise, what is the correct class? ANd what about the constructor in order to generate the shape. - Original Message - From: Jack Bowie To: [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 7:41 PM Subject:

Re: [JAVA3D] Cone with 2 radius

2003-06-19 Thread Jack Bowie
Title: Message BTW, I've never used it, but there's a Cone primitive (with two radii) in the Quadrics class of the Sun geometry utilities. This is the class called by Cone. -Original Message-From: Allan Ash [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 11:25 AMTo

Re: [JAVA3D] Cone with 2 radius

2003-06-19 Thread Allan Ash
I'll probably just add a TriangleFanArray to the top and bottom. You can probably do that temporarily until I get around to it.   -Allan AshSoftware Arts, Inc. - the Information Visualization Companywww.infoviz.biz - Original Message - From: Γιάννης To: [EMAIL PROTECTED]

Re: [JAVA3D] AW: [JAVA3D] Stress testing and 'buildGA' cost.

2003-06-19 Thread James Black
Florin Herinean wrote: You know that I've played with GL4java, which is pretty much like jogl. My experience was terrible. Apart from good performance, the lack of a high level API stopped me to continue in that direction. Of course, if java3d will be dropped, then I'll have to go over to jogl, bu

Re: [JAVA3D] Cone with 2 radius

2003-06-19 Thread Γιάννης
I would appreciate if you deal with making the frustrum solid. - Original Message - From: Allan Ash To: [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 5:12 PM Subject: Re: [JAVA3D] Cone with 2 radius Well, actually I just didn't need it for what I was doi

Re: [JAVA3D] AW: [JAVA3D] Stress testing and 'buildGA' cost.

2003-06-19 Thread Ian M Nieves
agreed. I can tell you that there would be a race to port the thing to MacOS X. THATS when java3D would really take off. When people can actually use use it cross platform. ian On Thu, 19 Jun 2003, Florin Herinean wrote: > Rob, > > If they'll make java3d open source and move it to games.dev.

Re: [JAVA3D] Cone with 2 radius

2003-06-19 Thread Allan Ash
Well, actually I just didn't need it for what I was doing. I used two of them to build something that looked like the nozzle of a fire hose for an Information Visualization demo I was doing (see the Emergencies Demo on my web site). If I get a chance, maybe I'll add top and bottom caps as an

[JAVA3D] AW: [JAVA3D] Stress testing and 'buildGA' cost.

2003-06-19 Thread Florin Herinean
Rob, If they'll make java3d open source and move it to games.dev.java.net, let's say in the games-middleware category, there'll be lots of enthusiast peoples (like me) which will gladly contribute on making java3d to stay on top of the games-core api's. Cheers, Florin -Ursprüngliche Nachr

Re: [JAVA3D] Stress testing and 'buildGA' cost.

2003-06-19 Thread Rob Nugent
Florin, I think I understand your proposal now. This seems a lot more reasonable. This approach, as I'm sure you are aware, has lots of synergy with approaches elsewhere in Java, such as the various SPIs (Service Provider Interfaces) in things like JNDI and ImageIO. Anyhow, this might all be acade

[JAVA3D] AW: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] Stress testing and 'buildG A' cost.

2003-06-19 Thread Florin Herinean
-Ursprüngliche Nachricht- Von: Rob Nugent [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 19. Juni 2003 15:32 An: [EMAIL PROTECTED] Betreff: Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] Stress testing and 'buildGA' cost. >I think that my point was that the *API* of Java3D is currently independe

Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] Stress testing and 'buildGA' cost.

2003-06-19 Thread Rob Nugent
Florin, Florin Herinean wrote: Rob, Well, right now there are two versions of java3d, totaly incompatible at the level of implementation. When installing java3d, the user *must* choose I think that my point was that the *API* of Java3D is currently independent of the use of OpenGL or Direct3D. Yo

[JAVA3D] AW: [JAVA3D] AW: [JAVA3D] Stress testing and 'buildGA' cost.

2003-06-19 Thread Florin Herinean
Rob, Well, right now there are two versions of java3d, totaly incompatible at the level of implementation. When installing java3d, the user *must* choose between java3d ogl and java3d directx. That means that it is feasible to have jogl support *only* in java3d ogl. Then the jogl ideea is to have

Re: [JAVA3D] AW: [JAVA3D] Stress testing and 'buildGA' cost.

2003-06-19 Thread Rob Nugent
Florin, Florin Herinean wrote: Hi Rob, You know that I've played with GL4java, which is pretty much like jogl. My experience was terrible. Apart from good performance, the lack of a high level API stopped me to continue in that direction. Of course, if java3d will be dropped, then I'll have to go

[JAVA3D] AW: [JAVA3D] Stress testing and 'buildGA' cost.

2003-06-19 Thread Florin Herinean
Hi Rob, You know that I've played with GL4java, which is pretty much like jogl. My experience was terrible. Apart from good performance, the lack of a high level API stopped me to continue in that direction. Of course, if java3d will be dropped, then I'll have to go over to jogl, but I do hope tha

Re: [JAVA3D] Stress testing and 'buildGA' cost.

2003-06-19 Thread Rob Nugent
Florin, I fear you are right about the RFE nature of this. I'm hoping that maybe there's some undocumented run-time flag that the j3d folks might be able to share with us to force the building of the geometry arrays. I can probably force this behaviour myself by starting my app with the camera ini

Re: [JAVA3D] Adding content to the graph after compilation

2003-06-19 Thread Vladimir Vernikovski
I can't see any obstacles... Just apply need capabilities to branchgroups. Something like this:   -- objRoot = new BranchGroup(); objRoot.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND); lightGroup = new BranchGroup(); lightGro

[JAVA3D] AW: [JAVA3D] Stress testing and 'buildGA' cost.

2003-06-19 Thread Florin Herinean
Well, that looks like a RFE for me, and I totaly agree with it. We (developers) need more fine grained control over how the geometries/display lists are created/sent to the underlying API. >From my point of view, it would be nice to allow low level operations on display lists, like creation/deleti

[JAVA3D] Stress testing and 'buildGA' cost.

2003-06-19 Thread Rob Nugent
I'm deliberately coding a scene to act as a stress test to see how much geometry I can load into a scene graph and still get good performance. The scene is one of a landscape through which the ViewPlatform moves. I'm deliberately using a distant back clip plane, so that I can see objects from a lon

Re: [JAVA3D] Material shininess value - how do I make it work?

2003-06-19 Thread Nikolai V. Chr.
Stone, Michael C wrote: Ok, here's the problem now. I'm building a PointLight in the world, and it's shading everything correctly. But when I go and change the shininess values of the materials I have for certain objects, it makes no difference. They all have the same amount of shininess (the whit

[JAVA3D] Re: [JAVA3D] Rιf. : [JAVA3D] Unfixed Error, please your help [analysι par anti-virus CCAMA : OK]

2003-06-19 Thread Γιάννης
Thank you very much. It worked as i expected! - Original Message - From: Jacky Rymasz <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 19, 2003 11:26 AM Subject: [JAVA3D] Rιf. : [JAVA3D] Unfixed Error, please your help [analysι par anti-virus CCAMA : OK] > > Theproblem

[JAVA3D] Réf. : [JAVA3D] Unfixed Error, please your help [analysé par anti-virus CCAMA : OK]

2003-06-19 Thread Jacky Rymasz
Theproblem comes from this piece of code in your class Texttest: Polyhedron polyhedron[]=new Polyhedron[Vertices.length]; //Exception in thread "main" java.lang.NullPointerException //ADD THE POLYHEDRON(s) for(int i=0;iPour :[EMAIL PROTECTED]

[JAVA3D] Unfixed Error, please your help

2003-06-19 Thread Γιάννης
I cannot fix my error, my error is Exception in thread "main" java.lang.NullPointerException   Could you test my Testtest class? And enlighten me.   The Testtest parses the solid4.txt which consists of 3 polyhedrons. The parsing is correct but something goes wrong when i put the variables in

Re: [JAVA3D] Cone with 2 radius

2003-06-19 Thread Γιάννης
That's better, but the shape is not solid, why that? - Original Message - From: Allan Ash To: [EMAIL PROTECTED] Sent: Thursday, June 19, 2003 4:16 AM Subject: Re: [JAVA3D] Cone with 2 radius Oh, sorry. I didn't notice that your 4th parameter (the number of

[JAVA3D] projection coordinates

2003-06-19 Thread Dola Woolfe
Hi, Can I find the (i, j) coordinates on the screen of a point with (x, y, z) coordinates in real space? Thanks! Dola __ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com ===