I think I have narrowed down the problem. I have one part of my scene
that uses POLYGON_LINE mode for a set of polygons. It is only after
viewing these polys that the corruption occurs.
After commenting out the code that uses POLYGON_LINE mode, no corruption
occurs.
For clarification, I have tested on OpenGL and DirectX 1.2.1 beta 1.
OpenGL works fine, DirectX does not.
I have not extensively tested with DirectX 1.2. Setting the
"vertexbuffer" flag does not help.
-Lee
-----Original Message-----
From: Kelvin Chung [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 2:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] J3D DirectX 1.2.1 problems
Hi Dixon,
As you mention in the mail, both v1.2FCS
OpenGL and DirectX version works fine. But
v1.2.1 beta1 DirectX version didn't work.
Have you try v1.2.1 beta1 OpenGL release ?
We would like to know if this problem is specified
to the DirectX native layer or not.
Also, you may try to turn off vertex buffer
-Dj3d.vertexbuffer=false
to see if it helps.
Please give us an example program to reproduce
this.
Thanks.
- Kelvin
------------
Java 3D Team
Sun Microsystems Inc.
>X-Unix-From: [EMAIL PROTECTED] Thu Dec 7 06:43:32
2000
>MIME-Version: 1.0
>Date: Thu, 7 Dec 2000 09:25:30 -0500
>From: "J. Lee Dixon" <[EMAIL PROTECTED]>
>Subject: [JAVA3D] J3D DirectX 1.2.1 problems
>To: [EMAIL PROTECTED]
>
>I switched over to the current DirectX release of J3D and am having
some
>problems that do not show up in the previous version.
>
>Initially, the scene looks fine. After "walking" through my scene and
>returning to one of the original locations, funny things happen.
>Specifically, it looks as though light scoping goes haywire and
>materials begin swapping around on objects. Also, some objects are
just
>not "lit" at all.
>
>Attached are 3 snapshots. The "good" is a snapshot at the beginning of
>running my app. The "bad1" is after returning to the same point after
>walking around a bit. The "bad2" is just by turning my look angle 360
>degrees. Notice that in the "good" image, the colors are correct and
>all objects are lit correctly.
>
>These problems do not show up in the current OpenGL release of J3D.
>
> <<good.jpg>> <<bad1.jpg>> <<bad2.jpg>>
>My machine: Win2k, GeForce2 GTS
>
>J. Lee Dixon
>SAIC - Celebration, FL
>407-566-1438
>[EMAIL PROTECTED] AOL: LeeOrlando
>
========================================================================
===
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".