home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!dog.ee.lbl.gov!network.ucsd.edu!pitstop.ucsd.edu!spl
- From: spl@pitstop.ucsd.edu (Steve Lamont)
- Newsgroups: comp.graphics
- Subject: Re: Wavefront .obj colors?
- Date: 31 Dec 1992 22:31:46 GMT
- Organization: University of Calif., San Diego/Microscopy and Imaging Resource
- Lines: 25
- Message-ID: <1hvsciINNhan@network.ucsd.edu>
- References: <1992Dec31.205939.6578@newssrv.edvz.univie.ac.at>
- NNTP-Posting-Host: pitstop.ucsd.edu
-
- In article <1992Dec31.205939.6578@newssrv.edvz.univie.ac.at> R5321GAB@vm.univie.ac.at writes:
- > as far as I know Wavefront are not too keen on giving the texture
- >info away. I know people who have looked for the same information and they
- >were not able to get it.
-
- Actually, unless it's changed since I worked with Wavefront stuff a
- few years ago, it's pretty straightforward. It's basically just a
- header and a series of copies of the image at increasing resolution. For
- instance, if you start out with a 256x256 image, the first copy is a
- 1x1 average of the image, the next is a 2x2, then a 4x4, and so forth
- on to a 256x256. It's not run length encoded, just a straight image.
-
- I don't remember how I succeeded in figuring this out... probably by
- fiddling with hex dumps.
-
- If anyone wants a piece of code to work from, drop me email and I'll
- send it out (if there are enough requests, I'll post it to alt.sources
- or something).
-
- spl
- --
- Steve Lamont, SciViGuy -- (619) 534-7968 -- spl@szechuan.ucsd.edu
- UCSD Microscopy and Imaging Resource/UCSD Med School/La Jolla, CA 92093-0608
- "Living alone is living in perpetual irony and thinking, more and more
- frequently, Why not." - Joyce Carol Oates, "The Boyfriend"
-