Hi Hannes,
> My application creates more than 32 DisplayImpl (in different windows). On
> creating the 32nd object an Exception occurs in the
> javax.media.j3d.MasterControl.getCanvasBit() method. I decompile this class.
> The source code is the following one:
>
> int getCanvasBit() {
> synchronized (canvasBitFreeList) {
> if (canvasBitFreeList.size() == 0) {
> if (canvasBitCount > 31)
> throw new InternalError();
> return 1 << canvasBitCount++;
> }
> return ((Integer) canvasBitFreeList.removeLastElement()).intValue();
> }
> }
>
> I know that this is not a visad class, but does anyone known the reason for
> this limitation (maybe a limit in the opengl API)
This would be a great question for java3d-interest@xxxxxxx. See:
http://java.sun.com/products/java-media/3D/forDevelopers/interest_group.html
for how to subscribe and post.
Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706
hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html