I really don't have much to offer other than that I've noticed and reported over the months some rather odd things that occur when you try to use more than one view at a time. If I understand you correctly you are saying that the problem only occurs in the second and third views? All the problems that I've seen up to now occur in the second (and presumably higher) view. The problems that I've seen generally involve things hopping around and winking out. Some got fixed with 1.1.2. My particular Waterloo was with Switch nodes in the second view. It seems that yours may be QuadArrays. What I've done in the past to confirm my sanity is to leave all the code alone and just change the order that the Canvas3Ds are added to the frame. Also, I've tried to avoid the Sun classes. No particular reason other than they add an extra layer of potential problems and there are already enough of those. ...Java 3D 1.1.2 is sure wearing thin. 1.2 better be one helluva release. good luck --jon > Date: Sat, 18 Sep 1999 11:45:35 -0300 > From: Daniel Selman <[EMAIL PROTECTED]> > Subject: All QuadArrays disappear [Update 1] > > All, > > Things just got even stranger! I modified the initial size of the Frame from: > > new MainFrame( new PlatformTest(), m_kWidth, m_kHeight ); > > to > > new MainFrame( new PlatformTest(), (int) (m_kWidth * 3.5), (int) (m_kHeight * 1.1) > ); > > Where: > > static final int m_kWidth = 256; > static final int m_kHeight = 256; > > [Yes, this really was the *ONLY* change]. > > Now the QuadArray tiles do not disappear when 0,0,0 is not in view but flash ON and > OFF horribly instead! I'm starting to doubt my sanity... What on earth has the > initial Frame size got to do with anything!! > > Sincerely, > > Daniel Selman > > > [EMAIL PROTECTED] > http://www.tornadolabs.com > > ------------------------------ > > Date: Sat, 18 Sep 1999 11:44:11 -0300 > From: Daniel Selman <[EMAIL PROTECTED]> > Subject: All QuadArrays disappear when 0,0,0 not in view? > > All, > > [apologies for a long post] > > I have come up against a very strange rendering problem using QuadArrays. I hope > I've just missed something, but I've beaten my head against this for a few hours > now and can't make head nor tail of it. > > I have run into problems writing an example for my forthcoming book "Java 3D > Programming". The example uses SimpleUniverse and defines 3 Viewers. The first > (default) Viewer is a top down view of a space within which the other two Viewers > can move ("Dan" and "Jim"). The space is created by defining "walls" using > ColorCubes "tiled" around the edge of the space and a floor using tiled 2 x 2 > QuadArrays. I.e. we end up with a square space with walls that are 2 units high, > and has a floor positioned at -1. > > Both the "Jim" and "Dan" Viewers have PlatformGeometry and a ViewerAvatar assigned > so that as they are moved around (using a KeyNavigator) they can see and identify > each other. The KeyNavigators modify one of the TransformGroups in the > ViewingPlatforms MultiTransformGroup in order to move the Viewers. The first view > is therefore a top-down view of the overall space, the second is "Dan's" view and > the third is "Jim's" view. > > Again, everything *almost* works... tantalizingly so. The problem appears to be > that when either "Jim" or "Dan" do not have the center of the square space (0,0) > within their field of view *ALL* of the tiled QuadArrays that compose the floor of > the space disappear (in their view). They will reappear as soon as the Viewer is > rotated again such that the center of the space is again their view. > > I initially thought it was a clipping problem and fiddled with the clipping planes, > but no luck. Then I though it was a Normal problem on the QuadArray, so I ran > everything through the NormalGenerator, again no luck. > > Then it dawned on me that *only* the tiled QuadArrays disappear, not all the walls. > So I replaced the tiled QuadArrays with tiled ColorCubes for the floor also, and > sure enough the ColorCubes stay put, even when (0,0) is not in view. > > Is there a rational explanation for this behavior? > > I now have the example with the tiled QuadArrays (which are textured incidentally) > slightly above the tiled ColorCubes for the floor. As soon as the center of the > space is no longer in view (for a viewer) the textured tiles disappear to reveal > the (shocking pink!) underlying ColorCubes! > > Any and all advice gratefully accepted. I really don't want *another* of my > examples to turn into a lesson in: "this is how you would do this if it weren't for > this bug in Java 3D"... > > Incidentally, it occurred to me that this might be related to Bob Gray's problems > of last week (Transparency Problems (Still!)). > > Sincerely, > > Daniel Selman > > [EMAIL PROTECTED] > http://www.tornadolabs.com -- ____________________ Peculiar Technologies ____________________ Jon Barrilleaux 3800 Lake Shore Ave. Purveyors of [EMAIL PROTECTED] Oakland, CA 94610 Alternate Reality 510.444.4370 voc Augmented Simulation 510.444.0231 fax www.augsim.com and 3D Solutions =========================================================================== 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".
