SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-29-09, 04:29 PM   #12
gutted
The Old Man
 
Join Date: Apr 2005
Location: New Orleans, LA.
Posts: 1,379
Downloads: 487
Uploads: 11
Default

Quote:
Originally Posted by Hitman View Post
Excellent that would allow the users to create "skins" with their preferred templates
Only requirment is that the dials need to be circular in nature. .ie no odd shapes hanging out the sides, or overlapping of the dials themselves. The program does not know anything about the dial istelf other than its radius (dervied from the width of the graphic itself)

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.
gutted is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.