NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Vijay, > I continue my over-use of this list... Not at all. > So my current bug deals with planes in a 3d display. I'm putting in > planes by creating a linear2dset, a flatfield with my values in it and a > FunctionType to tie two of the axes in my DisplayImplJ3D to a ScalarMap > (a color map). So the plane gets added and displayed, and it works fine. > The problem occurs when I try adding any more of these planes. Sometimes > (say, 95 percent of the time) the first plane will become greyed out. > The 5 percent of the time the plane doesn't become greyed out, if I try > to move the display, the vm crashes: > > # # An unexpected exception has been detected in native code outside the > VM.# Program counter=0x404ada90 > # > # Problematic Thread: prio=5 tid=0x81b52e0 nid=0x39f runnable > # > > Any ideas? thanks I assume your planes are semi-transparent. There are problems with transparency, so that the planes must be sorted in the correct depth order. You can control order by putting each plane (i.e., FlatField) in its own addReference() to the display. The planes will be rendered in the same order as their addReference() calls, so you can experiment with order. The problem is that if you rotate 180 degress, then the order needs to be reversed. A future release of Java3D will do the sort for us automatically. I have seen the same native code exception (rarely) and assume it is a bug in Java or OpenGL. 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
visad
archives: