Jump to content
  • Advertisement
Sign in to follow this  
Coolshark86

Hi, problem in vb .net and Directx 9

This topic is 3083 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all,
i have a problem in my vb .net game... this game work whit a old pc but in my dual core pc whit integrated graphic card don't work ... are visualized in hardware definition only the nearest triangole but not all stage ... my trick for adaptable emission is:


If caps.DeviceCaps.SupportsHardwareTransformAndLight Then
createFlags = createFlags.HardwareVertexProcessing
Else
createFlags = createFlags.SoftwareVertexProcessing
End If

If caps.DeviceCaps.SupportsPureDevice Then
createFlags = createFlags.PureDevice
End If


If caps.DeviceCaps.SupportsHardwareTransformAndLight Then

'crea oggetto device
mdev = New Device(adapterOrdinal, DeviceType.Hardware, Handle, createFlags, PreParameters)
Else
'crea oggetto device
mdev = New Device(adapterOrdinal, DeviceType.Reference, Handle, createFlags, PreParameters)

End If


but it still don't work!!!

sorry for my bad english

sincerelly
Marco

Share this post


Link to post
Share on other sites
Advertisement
Update: whit this triks ... it work!!!! "in low" emission but but sketches most!!!! :( for velocize??


i share the source code of terrain stage ??? in zip format ?

pls help

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!