Thank you for helping me out :-)
I also found an other problem that made my geometry disapperar:
I have a background geometry which is a texture-mapped cube (with no top
or bottom) made using a trianglestrip with coordinates from -1 to 1 in
all directions.
Point3d bgCoords[] = { new Point3d(-1.0, 1.0, -1.0),
new Point3d(-1.0, -1.0, -1.0),
new Point3d( 1.0, 1.0, -1.0),
new Point3d( 1.0, -1.0, -1.0),
new Point3d( 1.0, 1.0, 1.0),
new Point3d( 1.0, -1.0, 1.0),
new Point3d(-1.0, 1.0, 1.0),
new Point3d(-1.0, -1.0, 1.0),
new Point3d(-1.0, 1.0, -1.0),
new Point3d(-1.0, -1.0, -1.0)};
Using 1.2B1 this background geometry appears very close to the camera
and acts a clipping box instead of a nice background image in the
distance as it was in Java3D 1.1.3.
Dag Magne
Daniel Selman wrote:
>
> Dag,
>
> Just pass in zero for the first parameter for the pre 1.2 behavior.
>
> Also check the README file for setting the shared display context property
> to false to get your textures working again. This will be set by default in
> subsequent releases.
>
> Sincerely,
>
> Daniel Selman
>
> [EMAIL PROTECTED]
> http://www.tornadolabs.com
>
> > -----Original Message-----
> > From: Discussion list for Java 3D API
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Dag Magne Ulvang
> > Sent: 25 January 2000 14:50
> > To: [EMAIL PROTECTED]
> > Subject: [JAVA3D] Texturing IndexedTriangleStripArray in 1.2B1
> >
> >
> > Hello.
> >
> > I have a application that textures a height-grid built using
> > IndexedTriangleStripArray.
> >
> > In 1.2B1 the method:
> >
> > setTextureCoordinateIndices(int index, int[] texCoordIndices)
> >
> > is deprecated and replaced by
> >
> > setTextureCoordinateIndex(int texCoordSet, int index, int texCoordIndex)
> >
> > I am a little confused by this first parameter texCoordSet, and also my
> > textured trianglestrips has disappeared!
> >
> > Can anyone explain what has changed?
> >
> > Dag Magne Ulvang
> >
> > ==================================================================
> > =========
> > 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".