🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #9101

Re: Need Globe Plot

#9101
From: Michael Peirce
Date: Fri, 08 Dec 1989 02:02
39 lines
2445 bytes
In article <1989Dec7.185640.15880@elroy.jpl.nasa.gov> eto@spacely.Jpl.Nasa.Gov (Edward Olsen) writes:
>I need an application which draws a globe with latitude and longitude circles
>as seen from a specified viewpoint.  EarthPlot 3.0 would be ideal if I could
>disable the drawing of the continents.  Does anybody know of such an
>application, or how to disable the continents in EarthPlot (using ResEdit)?
>
>						Ed Olsen

You said ResEdit would be OK, so here goes...

Open up a copy of Earthplot 3.0 with ResEdit.  Look at CODE resource #2.  
Use the FIND command to locate $6C8A, then change it to be $FFFF.
Do this twice (i.e. there are two instances of $6C8A).

This should elimate all landmass drawing.  Now if you turn on lat & long
lines you should get what you want.

[If you can't find $6C8A look for $0C47 followed by large integers (ignore
places with it followed by small numbers like 000B & 0012). Replace the
large integer following the $0C47 with $FFFF (twice).  I checked this
patch on a (unreleased)  post 3.0 version, but I think $6C8A should have 
stayed constant -- it's the number of coordinate triplets in the edat resource].

If you (or anyone else for that matter) is interested, the sources are in
the Public Domain and I can send them to you.  3.0 is written in Think C.
I haven't compiled it in ages so it may need some tweaking to work with the
latest greatest Think C.  It also uses a "programmer's helper" subroutine
library called TSkel from Paul DuBois.  Again, I haven't used TSkel in
years, but it should still work too without much trouble...]

 Claris Corp. | Michael R. Peirce (author of EarthPlot)
 -------------+--------------------------------------
              | 5201 Patrick Henry Drive MS-C4
              | Box 58168
              | Santa Clara, CA 95051-8168
              | (408) 987-7319
              | AppleLink: peirce1
              | Internet:  peirce@claris.com
              | uucp:      {ames,decwrl,apple,sun}!claris!peirce
Technical Details
Message-ID: <10725@claris.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!claris!peirce
References: <1989Dec7.185640.15880@elroy.jpl.nasa.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!claris!peirce
From: peirce@claris.com (Michael Peirce)
Newsgroups: comp.sys.mac
Subject: Re: Need Globe Plot
Message-ID: <10725@claris.com>
Date: 8 Dec 89 02:02:48 GMT
References: <1989Dec7.185640.15880@elroy.jpl.nasa.gov>
Reply-To: peirce@claris.com (Michael Peirce)
Distribution: usa
Organization: Claris Corporation, Santa Clara CA
Lines: 39