G'Day Folks,
Attached to this message is a new version of my perspective program.
Changes include:
+ added Form_info_panel and "Info Panel" checkbox.
+ removed scene filename edit box, replaced with "Open (hut)" button.
+ added "Open..." button (which uses the File-Open Dialog).
^^ uses paramstr(0) to set opendialog1.InitialDir
+ changed optimisation level from 3, down to 1
I still can't see why trev's Mac was having trouble drawing the scene!?
Also, I am unsure whether paramstr(0) works in non Windows' OSs!?
So, if you have issues with that, comment out that code - the first line in TForm1.Button_file_openClick().
The first button in the Info Panel is "Summary"; on my computer this gives:
Summary
--------------
Description: hut
Orig Eye Pt: 10.000 -10.000 5.000
Orig Target Pt: 3.500 2.000 2.000
Current Eye Pt: 10.000 -10.000 5.000
Current Target Pt: 3.500 2.000 2.000
Num Faces: 26
Num Points: 51
Num Screen Pts: 51
Paitnbox (w,h): 774,868
Once "hut.per" is opened all those values should be the same (except maybe the paintbox dimension - if the user has resized the application window or the OS makes the program form a different size etc).
All the points should range from (-3, -5, -0.2) - (10, 7, 3.7).
The "screen points" should range from (0,0) - (paintbox.width-1, paintbox.height-1).
If the program works ok, I'd suggest compiling with optimisation level 2 or 3.
I'd really like to hear from macOS folks, about their experiences.
cheers
S.
Edit: Corrected the points' extents.
[Deleted ZIP -author request]