TEXTURE8 |
THE BOX'S MAIN HELP: This function returns the color derived from the area in the texture map file MAP defined by the corners (S1,T1), (S2,T2), (S3,T3) and (S4,T4). refer to pages 320-321 in the RenderMan Companion. MAP (input): This must be a string. The default is empty. The name of the texture map file to be used. refer to pages 320-321 in the RenderMan Companion. CHN (input): This must be an integer. It represents which rgba channel from the map file is to be used to generate the texture. Where 0 is red; 1 is green; 2 is blue; 3 is the opacity and 4, the default, is rgb. refer to pages 320-321 in the RenderMan Companion. S1 (input): This must be a float. The default is s. This is the first coordinate of the lower left corner of the filter area in the texture map file MAP. refer to pages 320-321 in the RenderMan Companion. T1 (input): This must be a float. The default is t. This is the second coordinate of the lower left corner of the filter area in the texture map file MAP. refer to pages 320-321 in the RenderMan Companion. S2 (input): This must be a float. The default is s+abs(Du(s)*du)+abs(Dv(s)*dv). This is the first coordinate of the lower right corner of the filter area in the texture map file MAP. refer to pages 320-321 in the RenderMan Companion. T2 (input): This must be a float. The default is t. This is the second coordinate of the lower right corner of the filter area in the texture map file MAP. refer to pages 320-321 in the RenderMan Companion. S3 (input): This must be a float. The default is s+abs(Du(s)*du)+abs(Dv(s)*dv). This is the first coordinate of the upper right corner of the filter area in the texture map file MAP. refer to pages 320-321 in the RenderMan Companion. T3 (input): This must be a float. The default is t+abs(Dv(t)*dv)+abs(Du(t)*du). This is the second coordinate of the upper right corner of the filter area in the texture map file MAP. refer to pages 320-321 in the RenderMan Companion. S4 (input): This must be a float. The default is s. This is the first coordinate of the upper left corner of the filter area in the texture map file MAP. refer to pages 320-321 in the RenderMan Companion. T4 (input): This must be a float. The default is t+abs(Dv(t)*dv)+abs(Du(t)*du). This is the second coordinate of the upper left corner of the filter area in the texture map file MAP. refer to pages 320-321 in the RenderMan Companion. FLT (input): Selects the filter to be used when sampling the texture data. Possible filters are "box" and "gaussian". The default is "box". Use of "gaussian" should produce higher quality results but with a slight performance penalty. INT (input): Selects whether to interpolate between adjacent resolutions of a multi-resolution texture in order to smooth the transition between resolutions. Possible values are 0.0 to disable the interpolation and 1.0 to enable it. The default is 0.0 to not interpolate. TEX (output): This returns the color or float derived from the area in the texture map file MAP for the channel(s) CHN, defined by the corners (S1,T1), (S2,T2), (S3,T3) and (S4,T4). refer to pages 320-321 in the RenderMan Companion. TXOP (output): This returns the opacity color or float found in the alpha channel from the area in the texture map file MAP[3] defined by the corners (S1,T1), (S2,T2), (S3,T3) and (S4,T4). refer to pages 320-321 in the RenderMan Companion. |
© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.