Re: [JAVA3D] Quadarray rotation

2004-04-13 Thread ROMIL D SHAH
Thanks for the help. The error was :: I created a QuadArray object and was trying to add that to the TransformGroup, instead of a Shape3D(QuadArray object). Sorry for this one.! -- Romil Justin Couch wrote: >ROMIL D SHAH wrote: > > >> Just getting started with J3D. I want to rotate a Quadarray

Re: [JAVA3D] Quadarray rotation

2004-04-13 Thread Justin Couch
ROMIL D SHAH wrote: Just getting started with J3D. I want to rotate a Quadarray, but was unsuccessful. When i try to add the QuadArray object to the TransformGroup( i.e. TG.addChild) , it does not allow me to do so. What was the error message? You can only add nodes before they are live, or if y

[JAVA3D] Quadarray rotation

2004-04-13 Thread ROMIL D SHAH
Hi guys, Just getting started with J3D. I want to rotate a Quadarray, but was unsuccessful. When i try to add the QuadArray object to the TransformGroup( i.e. TG.addChild) , it does not allow me to do so. Please help. --- Romil ==

Re: [JAVA3D] QuadArray and generating normals (for lighting)

2003-10-28 Thread Alessandro borges
Take a look to GeometryInfo javadoc. There is a simple example how to do it. Alessandro --- Ben Logan <[EMAIL PROTECTED]> escreveu: > Hi > Could somebody take a quick look at the code below > and explain how I > generate the normals - so that I can light these > walls that im creating. > I used

[JAVA3D] QuadArray and generating normals (for lighting)

2003-10-28 Thread Ben Logan
Hi Could somebody take a quick look at the code below and explain how I generate the normals - so that I can light these walls that im creating. I used to generate geomtery differently and then use a normal generator...but I don't know how to apply that to a quad array etc Any help would be appreci

Re: [JAVA3D] QuadArray Not Working

2001-08-23 Thread Dipl. Ing. Paul Szawlowski
Michael Franz schrieb: > I solved my problem. I changed the order I added the > coordinates from clockwise to counter clockwise and it > worked. Does it really make a difference what order I > put in my coordinates? Yes, it defines which side is the front side. Depending which sort of culling

Re: [JAVA3D] QuadArray Not Working

2001-08-23 Thread Michael Franz
I solved my problem. I changed the order I added the coordinates from clockwise to counter clockwise and it worked. Does it really make a difference what order I put in my coordinates? -Mike --- Michael Franz <[EMAIL PROTECTED]> wrote: > Hi, > > I have a sample program I put together to work wi

[JAVA3D] QuadArray Not Working

2001-08-23 Thread Michael Franz
Hi, I have a sample program I put together to work with QuadArray. However, I can't get it to work. Is there any reason why? I have included the source. Mike P.S. I was able to find how I subscribed to this list and search the archive. __ Do

Re: [JAVA3D] QuadArray class

2001-02-05 Thread John Wright
Monique, Combine your six textures into a single texture (simplest is probable a horizontal row/rectangle with each one sitting next to the previous one) and then set your u,v (s,t in Java terminology) coordinates appropriately to pick the right section of the texture for each face. I'm assuming

Re: [JAVA3D] QuadArray class

2001-02-05 Thread Doug Gehringer
> From: Monique Jeger <[EMAIL PROTECTED]> > Subject: [JAVA3D] QuadArray class > > I'd like to map a different texture on each face of a cube. To my disposal I > have > the 8 cube's vertices v1, ... ,v8 and I define the 6 faces of the cube with > an > array

[JAVA3D] QuadArray class

2001-02-05 Thread Monique Jeger
Hi everybody, I'd like to map a different texture on each face of a cube. To my disposal I have the 8 cube's vertices v1, ... ,v8 and I define the 6 faces of the cube with an array of 6 time 4 = 24 Point3f, I also have 6 different texture objects. To do that I'd like to use the the folloing const

Re: [JAVA3D] QuadArray

2000-02-19 Thread Janet Song
Re: [JAVA3D] QuadArray Hi i attach a simple quad array class for u to use it... instantiate this class...as FloorQuad floor = new FloorQuad(); Shape3D shapeFloor = new Shape3D(floor); root.addChild(shapeFloor); Bye -Original Message- From: Ian Phillips [SMT

Re: [JAVA3D] QuadArray

2000-02-19 Thread Eelco van den Berg
> Can someone give me some code that will show me how to make a QuadArray? I > want to see a working example if you can and can someone tell me how to use > a QuadArray properly? This function wille create a BranchGroup with a QuadArray in it. It is a plane on y=-1, hope that helps: public Branc

Re: [JAVA3D] QuadArray

2000-02-19 Thread Janet Song
: Saturday, February 19, 2000 1:22 PM To: [EMAIL PROTECTED] Subject:[JAVA3D] QuadArray Can someone give me some code that will show me how to make a QuadArray? I want to see a working example if you can and can someone tell me how to use a QuadArray properly? Thanks a Million... &q

[JAVA3D] QuadArray

2000-02-19 Thread Ian Phillips
Can someone give me some code that will show me how to make a QuadArray? I want to see a working example if you can and can someone tell me how to use a QuadArray properly? Thanks a Million... "A train station is where a train stops. A bus station is where a bus stops. On my desk there is a wo

Re: [JAVA3D] QuadArray shading?

1999-09-24 Thread Casteel, Don
PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] QuadArray shading? At 11:34 AM 9/24/99 -0400, Casteel, Don wrote: >I've applied an appearance object to the QuadArray, but what I get is a >single material layed over the box color. > >Is there any way to set up the material so it goes to

Re: [JAVA3D] QuadArray shading?

1999-09-24 Thread Tim Bray
At 11:34 AM 9/24/99 -0400, Casteel, Don wrote: >I've applied an appearance object to the QuadArray, but what I get is a >single material layed over the box color. > >Is there any way to set up the material so it goes to the geometry and picks >the ambient color from the surface which I can then sc

[JAVA3D] QuadArray shading?

1999-09-24 Thread Casteel, Don
I've built a QuadArray with per-vertex colors, however I can't figure out how to get it to do shading. The Quad array is a colection of boxes (the primitive Box() wasn't working for the application) each box is made a different color by setting the vertex colors. I've applied an appearance object