Click here to Skip to main content
15,913,055 members
Home / Discussions / C#
   

C#

 
GeneralRe: Please help as i cant remember how to do this..... Pin
stephen.darling6-Mar-10 11:35
stephen.darling6-Mar-10 11:35 
AnswerRe: Please help as i cant remember how to do this..... Pin
Alan N6-Mar-10 11:35
Alan N6-Mar-10 11:35 
GeneralRe: Please help as i cant remember how to do this..... Pin
stephen.darling7-Mar-10 8:56
stephen.darling7-Mar-10 8:56 
QuestionGDI+ P/Invoke Pin
StarBP6-Mar-10 10:15
StarBP6-Mar-10 10:15 
AnswerRe: GDI+ P/Invoke [modified] Pin
DaveyM696-Mar-10 10:21
professionalDaveyM696-Mar-10 10:21 
GeneralRe: GDI+ P/Invoke Pin
StarBP6-Mar-10 10:36
StarBP6-Mar-10 10:36 
GeneralRe: GDI+ P/Invoke Pin
DaveyM696-Mar-10 10:40
professionalDaveyM696-Mar-10 10:40 
GeneralRe: GDI+ P/Invoke Pin
StarBP6-Mar-10 10:50
StarBP6-Mar-10 10:50 
Here is the complete source code of the program. It may only be used under the provisions of the GPL. This is not Roger Alsing's original work; it has been very highly optimized. Further optimization of other sections is almost useless without optimization of the renderer. I tried Direct3D, which was very good, but it had WAY too many bugs to even attempt to continue on. The Render method is in the Renderer.cs file and is called by FitnessCalculator.cs, which is in turn called by MainForm.cs. The DnaPolygon.cs and DnaDrawing.cs files are used extensively.

Download Source Code


The two lines of the Render method that I mentioned in the original post together take more than 70% of the CPU time of the program.
QuestionCreating a web sniffer that will browse and get data from websites Pin
melquiades_is_alive6-Mar-10 8:23
melquiades_is_alive6-Mar-10 8:23 
AnswerRe: Creating a web sniffer that will browse and get data from websites Pin
Luc Pattyn6-Mar-10 8:56
sitebuilderLuc Pattyn6-Mar-10 8:56 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
melquiades_is_alive6-Mar-10 9:05
melquiades_is_alive6-Mar-10 9:05 
AnswerRe: Creating a web sniffer that will browse and get data from websites Pin
Luc Pattyn6-Mar-10 9:38
sitebuilderLuc Pattyn6-Mar-10 9:38 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
melquiades_is_alive6-Mar-10 9:55
melquiades_is_alive6-Mar-10 9:55 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
Luc Pattyn6-Mar-10 10:02
sitebuilderLuc Pattyn6-Mar-10 10:02 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
baranils24-May-10 5:07
baranils24-May-10 5:07 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
Luc Pattyn24-May-10 5:18
sitebuilderLuc Pattyn24-May-10 5:18 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
baranils24-May-10 5:32
baranils24-May-10 5:32 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
Luc Pattyn24-May-10 6:10
sitebuilderLuc Pattyn24-May-10 6:10 
GeneralRe: Creating a web sniffer that will browse and get data from websites Pin
baranils24-May-10 7:33
baranils24-May-10 7:33 
QuestionMac OS look Pin
Wamuti6-Mar-10 5:45
Wamuti6-Mar-10 5:45 
AnswerRe: Mac OS look Pin
OriginalGriff6-Mar-10 6:18
mveOriginalGriff6-Mar-10 6:18 
GeneralRe: Mac OS look Pin
Wamuti6-Mar-10 6:25
Wamuti6-Mar-10 6:25 
AnswerRe: Mac OS look Pin
Eddy Vluggen6-Mar-10 8:53
professionalEddy Vluggen6-Mar-10 8:53 
Questionrad controls Pin
pokiri6-Mar-10 1:03
pokiri6-Mar-10 1:03 
AnswerRe: rad controls Pin
pokiri6-Mar-10 1:17
pokiri6-Mar-10 1:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.