Thank you for the idea Kevin, but will it be that you or does anybody have
some reference or tutorial of use of BufferedImage and as I join several
BufferedImages in a texture?

[]'s

J.P.

----- Original Message -----
From: "Kevin J. Duling" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 12, 2001 2:18 PM
Subject: Re: [JAVA3D] chess board


> You could create a new BufferedImage and create a new texture from one
BLACK
> and one WHITE image, tiling them.  Then you can build your Texture from
the
> BufferedImage.
>
>
> ----- Original Message -----
> From: "Jo�o Paulo Menegatti" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, September 12, 2001 11:01 AM
> Subject: Re: [JAVA3D] chess board
>
>
> > Thanks Mark, but the problem is that I cannot create an image of the
type:
> >
> > WHITE BLACK
> > BLACK WHITE
> >
> > because the images are already ready and they will be variable the
> > combinations.
> >
> > J.P.
> >
> > ----- Original Message -----
> > From: "Mark Ferneau" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 12, 2001 11:20 AM
> > Subject: Re: [JAVA3D] chess board
> >
> >
> > > First generate a texture with four squares like this:
> > >
> > > BLACK  WHITE
> > > WHITE  BLACK
> > >
> > > Then create a quad and assign the texture coordinates as 0, 0 in the
> lower
> > > left corner and 4, 4 in the upper right corner.  This should have the
> > > effect of repeating (tiling) the texture four times in both the
vertical
> > > and the horizontal direction.  Of course the upper left texture
> > coordinates
> > > should be 0, 4 and the lower right should be 4, 0.
> > >
> > > I think that should do it.  You might want to put a small border
between
> > > the colors.  This will help with any mipmapping texture wrapping that
> > would
> > > occur on the edges of the polygon.
> > >
> > > --Mark
> > >
> > > At 09:49 AM 9/12/2001, you wrote:
> > > >How can I generate a texture for an object of the type chess board,
> using
> > > >two images to compose the texture? (Image white and image black)
> > > >
> > > >[]'s
> > > >
> > > >J.P.
> > >
> > >
> > > Mark Ferneau                    240-462-6262 (cell)
> > > Director of Adv. Technology             801-437-4608 (efax)
> > > Xtivia Technologies, Inc.               301-279-5703 (home office)
> > > [EMAIL PROTECTED]                      http://www.xtivia.com/
> > > [EMAIL PROTECTED] (wireless email)
> > >
> > >
> >
>
===========================================================================
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > > of the message "signoff JAVA3D-INTEREST".  For general help, send
email
> to
> > > [EMAIL PROTECTED] and include in the body of the message "help".
> > >
> >
> >
>
===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff JAVA3D-INTEREST".  For general help, send email
to
> > [EMAIL PROTECTED] and include in the body of the message "help".
> >
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to