Ops !!!

The "bug" as it appear at my machine could be fixed as with only one comment
out:

  View view = universe.getViewer().getView();
  view.setFrontClipPolicy(View.VIRTUAL_EYE);
  view.setBackClipPolicy(View.VIRTUAL_EYE);
  view.setBackClipDistance(4 * (m_viewWidth + m_viewHeight + m_viewDepth));
 // view.setFrontClipDistance(1.0e-5);

To see it : http://www.cpm2002.hpg.ig.com.br/Ming_bug.html

Alessandro


----- Original Message -----
From: "Alessandro Borges" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 29, 2002 8:51 AM
Subject: Re: [JAVA3D] Again on "Geometry looks transparent"


> Hi !!
>
> I could reproduce your bug. The green ball is always visible doesnot
matter
> the position it is.
> I could fix it, but I am not sure how it will impact your application.
> I just comment out some lines of your view:
>
>
>   View view = universe.getViewer().getView();
>  // view.setFrontClipPolicy(View.VIRTUAL_EYE);
>  // view.setBackClipPolicy(View.VIRTUAL_EYE);
>   view.setBackClipDistance(4 * (m_viewWidth + m_viewHeight +
m_viewDepth));
>  // view.setFrontClipDistance(1.0e-5);
>
> I am using J3D 1.3 D3D on Win2k/Savage4
>
> Alessandro
>
>
> ----- Original Message -----
> From: "Mingtian Ni" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 29, 2002 12:23 AM
> Subject: Re: [JAVA3D] Again on "Geometry looks transparent"
>
>
> > The outputs looks right. Please rotate the scenegraph such that
> > the ball and the cylinder overlay from you point of view. Then
> > you will see one them looks transparent!
> > Sorry for any confusing in the previous explanation.
> >
> > Thanks
> >
> > Mingtian
> >
> > On Mon, 28 Oct 2002, Alejandro Allievi wrote:
> >
> > > Your program compiles only if I remove the line
> > > import com.sun.j3d.utils.*,
> > >
> > > Including objRoot.compile() both ball and arm
> > > are visible, the output and your code are attached.
> > >
> > > Alejandro
> > >
> > > -----Original Message-----
> > > From: Discussion list for Java 3D API
> > > [mailto:JAVA3D-INTEREST@;JAVA.SUN.COM]On Behalf Of Mingtian Ni
> > > Sent: Monday, October 28, 2002 8:58 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [JAVA3D] Again on "Geometry looks transparent"
> > >
> > >
> > > Hi all,
> > > To continue with this talk, I wrote a j3d program which is much
simpler
> > > than the
> > > previous "J3DAxis.java". I attached the program "BallCylinder.java"
with
> > > this email. It compiles and runs directly. As its name says, this
> program
> > > creates a ball and cylinder. Also OrbitBehavior is added for
> convenience.
> > > When I played with it, I found 2 interesting phenomina:
> > > 1. The ouput was different when compiled with jdk1.4 or jdk1.3.
> > > 2. If I compiled the scenegraph, the cylinder looked transparent. If I
> > > don't compile, the ball looked transparent.
> > >
> > > I strongly suspect that it is a java3d bug. I hope I am wrong.
> > >
> > > Thanks.
> > >
> > >
> > > Mingtian
> > >
> > >
> > >
> >
> >
>
===========================================================================
> > 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".
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.391 / Virus Database: 222 - Release Date: 19/9/2002
>
> _______________________________________________________________________
> Yahoo! GeoCities
> Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e
acessórios.
> http://br.geocities.yahoo.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".


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.391 / Virus Database: 222 - Release Date: 19/9/2002

_______________________________________________________________________
Yahoo! Encontros
O lugar certo para encontrar a sua alma gêmea.
http://br.encontros.yahoo.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".

Reply via email to