home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / graphics / 13300 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  1.7 KB

  1. 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
  2. From: spl@pitstop.ucsd.edu (Steve Lamont)
  3. Newsgroups: comp.graphics
  4. Subject: Re: Wavefront .obj colors?
  5. Date: 31 Dec 1992 22:31:46 GMT
  6. Organization: University of Calif., San Diego/Microscopy and Imaging Resource
  7. Lines: 25
  8. Message-ID: <1hvsciINNhan@network.ucsd.edu>
  9. References: <1992Dec31.205939.6578@newssrv.edvz.univie.ac.at>
  10. NNTP-Posting-Host: pitstop.ucsd.edu
  11.  
  12. In article <1992Dec31.205939.6578@newssrv.edvz.univie.ac.at> R5321GAB@vm.univie.ac.at writes:
  13. >     as far as I know Wavefront are not too keen on giving the texture
  14. >info away. I know people who have looked for the same information and they
  15. >were not able to get it. 
  16.  
  17. Actually, unless it's changed since I worked with Wavefront stuff a
  18. few years ago, it's pretty straightforward.  It's basically just a
  19. header and a series of copies of the image at increasing resolution.  For
  20. instance, if you start out with a 256x256 image, the first copy is a
  21. 1x1 average of the image, the next is a 2x2, then a 4x4, and so forth
  22. on to a 256x256.  It's not run length encoded, just a straight image.
  23.  
  24. I don't remember how I succeeded in figuring this out... probably by
  25. fiddling with hex dumps.
  26.  
  27. If anyone wants a piece of code to work from, drop me email and I'll
  28. send it out (if there are enough requests, I'll post it to alt.sources
  29. or something).
  30.  
  31.                             spl
  32. -- 
  33. Steve Lamont, SciViGuy -- (619) 534-7968 -- spl@szechuan.ucsd.edu
  34. UCSD Microscopy and Imaging Resource/UCSD Med School/La Jolla, CA 92093-0608
  35. "Living alone is living in perpetual irony and thinking, more and more
  36. frequently, Why not."   - Joyce Carol Oates, "The Boyfriend"
  37.