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
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
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
==
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
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
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
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
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
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
> 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
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
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
> 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
: 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
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
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
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
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
18 matches
Mail list logo