Hi,
Transparency in 3D is hard task. So, be welcome ;-)
 
Tip 1) is cool. Set your transparency half-way between 0 and 1. You will find the best value at runtime, later.
Tip 2)   how did build your external blob ? I guess it came from somewhere, so you have the data to break it up, if needed.
But before you break-up your blobs try  OrderedGroup.
Put your internal opaque shapes as the first one to be rendered and the transparent objects as the at last ones. I did not test it yet, but I seens the a good approach to solve your problem. Read the Javadocs about how to use OrderedGroup.
You still has to set the sort transparency policy to avoid bad issues with the shapes in other groups, not belonging  the OrderedGroup
 
I did a opaque sphere inside a transparent one, and it  works fine:
www.cpm2002.hpg.com.br/alessandro/bumps/bump2.html
I did not use OrderedGroup on this example. The sequence of rendering was luckly correct.
 
Please give some feedback. In a week or two another developer will appear with the same problem...
Alessandro
 
 
BLENDED is trick one transparency
> Two hings to consider:
>
> 1. Your blending is currently setting them to compltely opaque. Of course you could be using vertex colors with alphas, so I am not sure. But if you are depending on the transparency attributes then you should set this to something less than 1.
>
> > Tried NO EFFECT
>
> 2. The lowest granularity of transparency sorting in Java3d is the geometry array. So if you are putting all your geometry into one array then it will not be sorted.
>
> >WHAT?? i have n-dimensional polygons should I make each face a different greometry array ??? Ouch
>
> 3. If you are overriding the bounds on the objects such that all the bounds are the same then there will be no effective sorting.
>
> > I have not set object bounds, nor do I know how ?
>
> ===========================================================================
> 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".

Reply via email to