Hires Graphics
Moderator: Moderators
- Mike
- Herr VC
- Posts: 4842
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
Earth globe
Hi,
This program displays an Earth globe. You specify the longitude, and latitude, that is centered. The north pole is always facing up.
In line 11, R1 can be adapted for different aspect ratios: R1=57 is correct for PAL; NTSC, and VICE should use R1=71, and R1=47, respectively. Line 11 also contains a {PI} symbol. That noted, any tokenizer should work.
Cheers,
Michael
Edit: type-in listing removed. It is contained in the MG batch suite.
This program displays an Earth globe. You specify the longitude, and latitude, that is centered. The north pole is always facing up.
In line 11, R1 can be adapted for different aspect ratios: R1=57 is correct for PAL; NTSC, and VICE should use R1=71, and R1=47, respectively. Line 11 also contains a {PI} symbol. That noted, any tokenizer should work.
Cheers,
Michael
Edit: type-in listing removed. It is contained in the MG batch suite.
Last edited by Mike on Sat Jul 28, 2012 10:22 am, edited 1 time in total.
- orion70
- VICtalian
- Posts: 4341
- Joined: Thu Feb 02, 2006 4:45 am
- Location: Piacenza, Italy
- Occupation: Biologist
Another wonder to show to my C64 friends .
Here's a screenshot of the new desktop, after a bit of GIMPing on the image:
I'm working on the animated gif of the revolving globe now - it will take a while, but the result will be the first 3D animation made with a Commodore VIC-20 (well, with a little help from other tools, but... ).
Here's a screenshot of the new desktop, after a bit of GIMPing on the image:
I'm working on the animated gif of the revolving globe now - it will take a while, but the result will be the first 3D animation made with a Commodore VIC-20 (well, with a little help from other tools, but... ).
- Mike
- Herr VC
- Posts: 4842
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
A perfect candidate to include in the Denial home page images.Jeff-20 wrote:
Alessandro, you've had a great idea. Could you make a GIF animation with 24 phases (one for each hour)?
Michael
Last edited by Mike on Thu Dec 04, 2008 1:58 am, edited 1 time in total.
- Mike
- Herr VC
- Posts: 4842
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
Hi, Legacy,
cut and paste are quite a recent addition to VICE. Short that facility being available in VICE before, there were already other tokenizers around, like Schlowski's BasEdit, which can handle upper-case letters. BasEdit produces *.prg files.
Listings without control chars, or special symbols can be transferred with a small 4-line program.
Michael
cut and paste are quite a recent addition to VICE. Short that facility being available in VICE before, there were already other tokenizers around, like Schlowski's BasEdit, which can handle upper-case letters. BasEdit produces *.prg files.
Listings without control chars, or special symbols can be transferred with a small 4-line program.
Michael