Hello Daniel,

   I've been having a little closer look at the disappearing QuadArray and
have found an interesting item. My object does not disappear when I input
the geometry file from the command line. This means:

1.  when geometry is supplied at the command line, the Shape3D is created
with the geometry I want. When I do this, all runs normally - i.e. no
disappearing shape.

2.  If I run the GUI with no command line arguments, then a Shape3D is set
up with null Geometry ( with appropriate capability bits set). I then
change geometry via menu selections and set the geometry using the same
file as above. This time, after overwriting the original (null) geometry,
moving the origin out of field of view makes the shape disappear.
hmmmmmmmmmmm, most interesting.


 Any thoughts ( from anyone )?


B.
---------------------------------
Oceanic Consulting Corporation
PO Box 28009
St. John's , NF Canada
A1B 4J8
(709) 722-9060/9064 (Fax)       http://www.oceaniccorp.com
---------------------------------


-----Original Message-----
From:   Daniel Selman [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, September 20, 1999 12:22 PM
To:     [EMAIL PROTECTED]
Subject:        Re: [JAVA3D] All QuadArrays disappear [Update 1]

Barry,

[Any chance of a word from the mountain SUN? Give us a sign. I have a
relatively simple example if you need it.]

Thanks for verifying my sanity! It's good to at least know that I am not
alone! However, my scene does *not* use TransparencyAttributes on any of
the appearances. The QuadArray is created with Normals and texture coords.
only. The only appearance attributes is the assigned texture. Incidentally,
it still flashes/disappears without the texture.

I am going to try running the QuadArray through the Triangulator/Stripifier
to see if that fixes the problem. It's  bizarre as the ColorCube (which
works fine in my application) does not exhibit this behavior and is also
based on QuadArray.

So, if I am reading the posts right it would appear that we have eliminated
Transparency and multiple views as causes for the problem... That really
just leaves the QuadArray rendering itself! It looks a little like a case
of over-aggressive optimization doesn't it?

Sincerely,

Daniel Selman

[EMAIL PROTECTED]
http://www.tornadolabs.com

> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Barry Walsh
> Sent: 20 September 1999 08:37
> To: [EMAIL PROTECTED]
> Subject: Re: All QuadArrays disappear [Update 1]
>
>
> Daniel,
>
>   I've had the same problem for quite some time. When I rotate a
> scene such
> that 0,0,0 is outside the field of view, the object disappears. Rotating
> the scene, translating backwards, increasing field of view will make it
> reappear, but only because it moves the origin back inside the field of
> view. This all happens within a single view, so I don't think our problem
> lies in multiple views. I would not be surprised at all, however to see
> that it lies in the use of TransparencyAttributes. My problem didn't
exist
> until I added Transparency.
> I posted a couple of mails about the disappearing object some time back,
> but with no answer from the Sun people. I believe others have noticed
this
> problem also (David Halle had problems with terrain visibility).
>
>   I believe it is time for the Sun people to investigate this further.
>
>
> Cheers,
>
> B.
>
> ---------------------------------
> Oceanic Consulting Corporation
> PO Box 28009
> St. John's , NF Canada
> A1B 4J8
> (709) 722-9060/9064 (Fax)       http://www.oceaniccorp.com
> ---------------------------------
>
>
>
>
> -----Original Message-----
> From:   Daniel Selman [SMTP:[EMAIL PROTECTED]]
> Sent:   Monday, September 20, 1999 8:51 AM
> To:     [EMAIL PROTECTED]
> Subject:        [JAVA3D] 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
>
> ==================================================================
> =========
> 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".
>
> ==================================================================
> =========
> 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".
>

===========================================================================
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".

===========================================================================
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