On Mon, 2 Jun 2003 14:48:31 +0100, Jeremy Booth <[EMAIL PROTECTED]> wrote:
>Hi > I'm still having troubles with multiple transparencies, but having spend 4 >days at it' I noticed the one difference to the code that works, and what I'm >doing, mine are buried under an ordered group, if I change this for a >branchgroup the transparencies work with each other, and I can see transparent >objects, through these new transparent ones, change it back to an ordered group, >and the new transparent objects block all the covered pixels of the transparent >object below. > >Any ideas > >Thanks > >Jeremy > >-- > >Homepage: http://www.computerbooth.com/ >Code page: http://www.newdawnsoftware.com/ > > ========================================================================== >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". Hi! If you use complex secluded transparency objects, OrderedGroup not help. OrderedGroup just make render objects one by one in compliance with childIndexOrder parameter. Try to use Universe options: u.getViewer().getView().setTransparencySortingPolicy(View.TRANSPARENCY_SORT_GEOMETRY); u.getViewer().getView().setDepthBufferFreezeTransparent(false); Set this options before u.addBranchGraph(scene); Unfortunately, still no distinct description how Z-buffer + renderer work. Object based Z-buffer management is in javax.media.j3d.RenderingAttributes: setDepthBufferWriteEnable(); setDepthBufferEnable(); It's really work. If you are interested, see testing WebStart application (~6,5 Mb): http://homepages.nsys.by:8101/~yvgtest/NewHouse/WebStart Good Luck! =========================================================================== 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".
