when creating my application.. shall i install Directx9 on the users computer along with it, or allow him to select the most suitable driver?
what is the best practice.. thanks
shall i install direct9 or allow him to select the driver?
hi,
i tried this: (as u notice i am using .net)
this is not crashing but i am getting a grey screen
Try
If device Is Nothing Then
device = New IrrlichtDevice(Irrlicht.Video.DriverType.OPENGL, New Dimension2D(c.Width, c.Height), 32, False, False, False, True, c.Handle)
End If
Catch ex As Exception
End Try
Try
If device Is Nothing Then
device = New IrrlichtDevice(Irrlicht.Video.DriverType.DIRECT3D9, New Dimension2D(c.Width, c.Height), 32, False, False, False, True, c.Handle)
End If
Catch ex As Exception
End Try
Try
If device Is Nothing Then
device = New IrrlichtDevice(Irrlicht.Video.DriverType.DIRECT3D8, New Dimension2D(c.Width, c.Height), 32, False, False, False, True, c.Handle)
End If
Catch ex As Exception
End Try
----------------------------
on this machine when i use this directly the application works:
device = New IrrlichtDevice(Irrlicht.Video.DriverType.OPENGL, New Dimension2D(c.Width, c.Height), 32, False, False, False, True, c.Handle)
any idea why that is happening?
i tried this: (as u notice i am using .net)
this is not crashing but i am getting a grey screen
Try
If device Is Nothing Then
device = New IrrlichtDevice(Irrlicht.Video.DriverType.OPENGL, New Dimension2D(c.Width, c.Height), 32, False, False, False, True, c.Handle)
End If
Catch ex As Exception
End Try
Try
If device Is Nothing Then
device = New IrrlichtDevice(Irrlicht.Video.DriverType.DIRECT3D9, New Dimension2D(c.Width, c.Height), 32, False, False, False, True, c.Handle)
End If
Catch ex As Exception
End Try
Try
If device Is Nothing Then
device = New IrrlichtDevice(Irrlicht.Video.DriverType.DIRECT3D8, New Dimension2D(c.Width, c.Height), 32, False, False, False, True, c.Handle)
End If
Catch ex As Exception
End Try
----------------------------
on this machine when i use this directly the application works:
device = New IrrlichtDevice(Irrlicht.Video.DriverType.OPENGL, New Dimension2D(c.Width, c.Height), 32, False, False, False, True, c.Handle)
any idea why that is happening?