Hello Andrew,

 Your program works fine on my system:  450Mhz Pentium II,  192M SDRAM, 
WinNT4.0 SP5 with 16-bit color, 1280x1024 screen res.  I have an 8M STB nVidia 
ZX card (supplied by Dell).    I tried just maximizing the window, then 
resizing it manually and both worked flawlessly.  I DID notice the flicker in 
the 2-D border and text however.  I compiled with JDK 1.2 and J3d 1.1 (OpenGL 
version).

-Gary





Andrew Phelps <[EMAIL PROTECTED]> on 06/04/99 02:27:21 PM
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED] (bcc: Gary Moss/arl)
Subject: [java3d] WinNT4.0 bug?





I have been using J3D on a Win9x machine for some time, with very few
problems.  However, I am aware of a problem with WinNT...and would be
grateful for some help.

When I run most applications on WinNT (including the J3D examples) the J3D
renderer runs into problems.

The attached example demonstrates these problems when running WinNT4 SP 3 &
4 with 16-bit colour.  (If the display is set to 256 colours the problems do
not occur - however the colours are nasty!) .

When I run the application it starts correctly and I see a cube on the
screen.  A border is also drawn around the screen (drawn in the over-ridden
postSwap method of the canvas).  The cube can be manoeuvred around the scene
using the mouse buttons.
When I resize the window with one of the following occurs:
1) - the scenegraph is not rendered to the screen - this happens when the
window is resized by a large amount...however the border is drawn.
2) - the scenegraph is rendered, but does not use the full screen.  If I
move the cube down the canvas, it disappears someway down the screen.  (i.e.
It is as though the canvas does not occupy the whole screen) ...however the
border is drawn around the canvas bounds.

This also happens when I try the example HelloUniverse.
Initially I thought there may be a problem with the layout manager on NT
machines.  However, the attached example draws the boundary of the canvas
correctly (regardless of the window size).

I have tested this problem on four NT machines (3 with SP4 and 1 with SP3)
with the same error on each.

Am I doing something wrong, or is this a bug?

Can anyone shed any light on this?

(Also - how do I double- buffer the border so it doesn't flicker?)


Much appreciated,

Andy Phelps



===============================================================
WS Atkins Engineering Software
Woodcote Grove
Ashley Road                   Tel:  +44 (0)1372 726 140
Epsom                         Fax: +44 (0)1372 740 055
Surrey                        URL:
http://www.wsatkins.co.uk/wsa/core-pages/software.htm
KT18 5BW                      E-mail: [EMAIL PROTECTED]
England
===============================================================

date sent: 04/06/99 11:53 (QA purposes)




[File attachment: test35b.java]




unknown file type

Reply via email to