DirectX 8.x interfaces dont like 24-bit mode display modes for windowed operation, 
iirc. its generally safer to stay with 16 or 32-bit modes.

using the debug runtime and capturing debug output ( either with a debugger or a tool 
like at sysinternals.com ) can help track things like this down.

the S3 Virge is widely known as a "3d decelerator", and is from 1997, so I would 
highly suggest getting a real 3d card.

further if a DX6-level DDI driver isnt available, then the DX8 interfaces wont work 
either. DXDiag displays the DDI level of the driver in its saved text file.

> -----Original Message-----
> From: Kelvin Chung [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 2002 10:21 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] DirectX
> 
> 
> Hi,
> 
>    Hardware acceleration is support in your graphics card. But I guess
> the display mode is not compatible with 3D in DirectX.
> Please switch to another display mode (16/24/32bit) to see which one
> works.
> 
> Also try install the latest driver from S3
> 
> http://www.s3graphics.com/   (375drv)
> 
> Thanks.
> 
> - Kelvin
> 
>    
> >Date: Thu, 25 Apr 2002 18:22:13 +0200
> >From: Raúl <[EMAIL PROTECTED]>
> >Subject: Re: [JAVA3D] DirectX
> >To: Kelvin Chung <[EMAIL PROTECTED]>
> >MIME-version: 1.0
> >Content-transfer-encoding: 8BIT
> >X-Accept-Language: es-es
> >User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; 
> rv:0.9.4) Gecko/20011128 Netscape6/6.2.1
> >
> >I executed that:
> >
> >D:\j2sdk1.4.0\demo\java3d\HelloUniverse>java 
> -Dj3d.debug=true HelloUniverse
> >Java 3D 1.3 beta1, Windows version is 4.10 Build: 2222, 
> Windows 95/98  A
> >[Display Driver] S3V.dll, S3 ViRGE-DX/GX PCI (375/385), Product 4
> >                  Version 10.0, Build 1681, VendorId 268690032
> >                  DeviceId 0x5333, SubSysId 0x8a01, Revision 
> 0x-1979624653
> >   [Desktop Mode] 800x600 , D3DFMT_R8G8B8
> >         [Device] Hardware Rasterizer
> >         [Device] Reference Rasterizer (AA)
> >
> >Use S3 ViRGE-DX/GX PCI (375/385), Reference Rasterizer
> >
> >Create device :
> >Window 256x256 D3DFMT_R8G8B8, handle=5f4, D3DMULTISAMPLE_NONE, 
> >D3DSWAPEFFECT_COP
> >Y, D3DFMT_D24S8
> >
> >
> >is it ok?
> >what happens?
> >
> >I'm going to try with DirectX 8.1.
> >
> >
> >Kelvin Chung wrote:
> >
> >>>Date: Wed, 24 Apr 2002 20:32:49 +0200
> >>>From: Raúl <[EMAIL PROTECTED]>
> >>>Subject: [JAVA3D] DirectX
> >>>To: [EMAIL PROTECTED]
> >>>MIME-version: 1.0
> >>>Content-transfer-encoding: 7bit
> >>>X-Accept-Language: es-es
> >>>Delivered-to: [EMAIL PROTECTED]
> >>>User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; 
> es-ES; rv:0.9.4) 
> >>>
> >> Gecko/20011128 Netscape6/6.2.1
> >> 
> >>>Hello,
> >>>
> >>>Im trying to view my Java 3D applet but I receive the next message:
> >>>
> >>>"Fail to create reference raterizer 3D Device
> >>>-D3DERR_INVALIDCALL"
> >>>
> >> 
> >> Try to use
> >> 
> >> java -Dj3d.debug=true yourapplication
> >> 
> >> to see if there is additonal information provided.
> >> 
> >> This error code is output when
> >> 
> >> d3d8->CreateDevice() fail
> >> 
> >> 
> >> What kind of graphics card/OS are you using ?
> >> Seems to me your legacy graphics card did not support
> >> DirectX 8 well.
> >> 
> >> 
> >>>My video card not support acceleration but is supported by 
> DirectX 8,
> >>>(I suppose this is the problem:) Confirm to me, please.
> >>>
> >>>Im using Java3D DirectX version (1.3b1).
> >>>
> >>>The problem dissapears when I use the OpenGL version.
> >>>
> >>>How can I use the DirectX version??
> >>>
> >>>
> >> You can try 
> >> 
> >> (1) Install DirectX 8.1 runtime (instead of using DirectX 8.0)
> >> http://www.microsoft.com/windows/directx/downloads/drx81.asp
> >> (2) Install the latest graphics driver.
> >> 
> >> Thanks.
> >> 
> >> - Kelvin
> >> -----------
> >> Java 3D Team
> >> Sun Microsystems Inc.
> >> 
> >> 
> >> 
> >> 
> >
> >
> 
> =========================
> 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