Re: [JAVA3D] texture coords exception...

2004-01-06 Thread Flavius Alecu
MAIL PROTECTED] Subject: Re: [JAVA3D] texture coords exception... Date: Tue, 6 Jan 2004 17:07:27 - Flavius said: > Ok, I get an Illegal ArgumentException when I try tu run my app. It > says: 2D texture coordinates not specified... According to the javadoc that is thrown if :

Re: [JAVA3D] texture coords exception...

2004-01-06 Thread Jeremy Booth
Flavius said: > Ok, I get an Illegal ArgumentException when I try tu run my app. It > says: 2D texture coordinates not specified... According to the javadoc that is thrown if : if texCoordSet < 0 or texCoordSet >= texCoordSetCount, or the texture coordinate parameters were not previously set by ca

[JAVA3D] texture coords exception...

2004-01-06 Thread Flavius
Ok, I get an Illegal ArgumentException when I try tu run my app. It says: 2D texture coordinates not specified... here's my code: TexCoord2f tp1 = new TexCoord2f( 0.0f, 0.0f); TexCoord2f tp2 = new TexCoord2f(25.0f, 0.0f); TexCoord2f tp3 = new TexCoord2f(25.0f, 5.0f); TexCoord2f tp4 = new TexCoord