![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#12 | |
The Old Man
![]() Join Date: Apr 2005
Location: New Orleans, LA.
Posts: 1,379
Downloads: 487
Uploads: 11
|
![]() Quote:
What this means is that if it has odd shapes hanging out the sides, the area you'll be able to grab it from will be the entire width of the graphic .ie clicking in blank space will be valid. Initially, the program DID use pixel perfect tests.. but using .NET/GDI+ it was considerably slower. I actally made a version with the Is-Was wheels.. with the ship nose and tail hanging out the sides of the bottom wheell... and it had the transparent Persicope dial ontop.. but it was considerably slower in response. So i scrapped it and went with a radius based appraoch. Scaling and rotating high-res images in realtime is not what GDI+ is good at. Using C++/DirectX would cancel this performance problem out however. Last edited by gutted; 09-29-09 at 04:41 PM. |
|
![]() |
![]() |
|
|