Will,
        If you've followed what is stated in the doc, and it still doesn't
work. Please, do send us a test program.


By Reference: A new set of methods in Java 3D version 1.2 allows data to be
              accessed by reference, directly from the user's arrays. To use
              this feature, set the BY_REFERENCE bit in the vertexFormat field
              of the constructor for this GeometryArray. In this mode, the
              various set methods for coordinates, normals, colors, and
              texture coordinates are not used. Instead, new methods are used
              to set a reference to user-supplied coordinate, color, normal,
              and texture coordinate arrays (e.g., setCoordRefFloat,
              setColorRefFloat, etc.). Data in any array that is referenced by
              a live or compiled GeometryArray object may only be modified via
              the updateData method (subject to the ALLOW_REF_DATA_WRITE
              capability bit). Applications must exercise care not to violate
              this rule. If any referenced geometry data is modified outside of
              the updateData method, the results are undefined.


thanks,
        Chien Yang
        Java 3D Team.


> MIME-Version: 1.0
> Date: Wed, 9 Aug 2000 11:43:50 -0400
> From: Will <[EMAIL PROTECTED]>
> Subject: [JAVA3D] Referenced geometry with texture mapping help
> Comments: To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
>
> Hi, I'm trying to have a texture mapped quad using geometry by reference.
> But it is never drawn. When I turn off the texture and just paint the quad
> white, it shows up. And when I turn off geometry by reference, the texture
> works. So i'm thinking it's some kind of bug. Please help! Any ideas?
>
> Will
>
> ===========================================================================
> 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