I have found my fault, I dind 't set the colorindices array
Mohammed Akacem schrieb:
> to show back and front faces of a cube I am using two Shape3D objects
> and two GeometryInfo objects.
> I am reversing the coordinatindices array to show the back face.(I
> checked that the array is right reversed)
>
> I tried the whole afternoon but I have no idea why I got the following
> exception
>
> java.lang.NullPointerException
>
> at
> com.sun.j3d.utils.geometry.GeometryInfo.checkForBadData(GeometryInfo.java:1280)
>
> at
> com.sun.j3d.utils.geometry.NormalGenerator.generateNormals(NormalGenerator.java:753)
>
> thanks for any hint
>
> Mohammed
>
> ===========================================================================
> 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".