Marc Palmer wrote:
> Hi,
>
> My code seems to be behaving differently / not working under Java3D 1.3
> whereas it was previously OK with Java3d 1.2
>
> The problem I am seeing is:
>
> When trying to change the text of a Text2D from within a behaviour (my
> fps counter) I get:
>
> Exception occurred during Behaviour execution:
> java.lang.IllegalArgumentException: Texture: illegal image size
>    at java.media.j3d.TextureRetained.checkImageSize(
> TexureRetained.javaL389)
>    ... stack trace goes on ...
>
> Any idea why? I already had to update my setCapability calls to add new
> capabilities required in Java3d 1.3 (like APPEARANCE_READ and
> TEXTURE_READ)
>
> ...but then it dies with the above, which doesn't -look- like something
> that is my fault.
>
> Any clues?
>

Hi
   From the stack trace i would *guess* that your texture size is not a power of
2, which textures should be, maybe in 1.3 they fixed something that was not
checking this before?, anyway, like i said, thats just my guess from the stack
message, what size is the texture in reality?

Jeremy

--
________________________________________________________

PGP key is here -> http://www.computerbooth.com/pgp.html

* If debugging is the process of removing bugs, then programming must be
the process of putting them in.

===========================================================================
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