Mike Halliday
10-09-2007, 10:45 PM
Hiya,
Can someone please, please, please!!! have a look at the attached code?
I have been scratching my head so much over this I got splinters! :(
It should produce a nice landscape every time the screen is refreshed, and eventually reduce down to sea level.
My problem is that I dont seem to be able to get the height projection right. :(
The dots view kinda looks ok, but the line view it totally pants. :(
I'm so close yet so far.
This is code converted from QBASIC for dos - I know the basic code works as I have run it side by side (Using VMWARE and a DOS VM) - it looks sweet in Qbasic and really rubbish in PPL!
If you can tell me where I'm going wrong I have more of a chance of learning and understanding PPL and graphics coding in general. Reading books and notes gives me a headache! lmao.
I'm on VISTA too so can't use the debugger - It throws up an access violation error before I can debug any code! :(
Cheers guys
Thanks for all your help!
(If you don't ask, you never get!)[br]1191966308_671_FT0_3dlanscapegenerator.zip
Can someone please, please, please!!! have a look at the attached code?
I have been scratching my head so much over this I got splinters! :(
It should produce a nice landscape every time the screen is refreshed, and eventually reduce down to sea level.
My problem is that I dont seem to be able to get the height projection right. :(
The dots view kinda looks ok, but the line view it totally pants. :(
I'm so close yet so far.
This is code converted from QBASIC for dos - I know the basic code works as I have run it side by side (Using VMWARE and a DOS VM) - it looks sweet in Qbasic and really rubbish in PPL!
If you can tell me where I'm going wrong I have more of a chance of learning and understanding PPL and graphics coding in general. Reading books and notes gives me a headache! lmao.
I'm on VISTA too so can't use the debugger - It throws up an access violation error before I can debug any code! :(
Cheers guys
Thanks for all your help!
(If you don't ask, you never get!)[br]1191966308_671_FT0_3dlanscapegenerator.zip