home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / IBPalettes / WW3DKit / WW3DHeightField.h < prev    next >
Encoding:
Text File  |  1995-03-22  |  599 b   |  24 lines

  1.  
  2. #import <appkit/appkit.h>
  3. #import "RIBCommandList.h"
  4. #import "Protocol_WWRenderable.h"
  5.  
  6. @interface WW3DHeightField:Object  < WWRenderable >
  7. {
  8.   const 
  9.       char  *imageName, *filename;
  10.   id        image;
  11.   RIBCommandList  *ribCommandList;
  12.   RtBound         boundingBox;
  13.   BOOL            dirtyBoundingBox;
  14.   id              myShape;
  15.   RtFloat         radius, zMin, zMax, thetaMax;
  16.   RtFloat         xScale, yScale, zScale; // note: xScale == zScale == 1/sqrt(yScale)
  17. }
  18.  
  19.  
  20. @end
  21.  
  22. // A WW3DHeightField takes an image and generates a patch mesh from
  23. // it.  The patch mesh can be bilinear or bicubic, 
  24.