Appendix F - Standard Basis Matrices

In this section the required RenderMan Interface  basis matrices (used for bicubic patches). 


RtBasis RiBezierBasis = 
{
    -1,  3, -3, 1,
     3, -6,  3, 0,
    -3,  3,  0, 0,
     1,  0,  0, 0
};
RtBasis RiBSplineBasis =
{ 
    -1/6.,  3/6., -3/6.,  1/6.,
     3/6., -6/6.,  3/6.,  0,
    -3/6.,  0,     3/6.,  0,
     1/6.,  4/6.,  1/6.,  0
};
RtBasis RiCatmullRomBasis =
{
    -1/2.,  3/2., -3/2.,  1/2.,
     2/2., -5/2.,  4/2., -1/2.,
    -1/2.,  0,     1/2.,  0,
     0,     2/2.,  0,     0
};
RtBasis RiHermiteBasis =
{
     2,  1, -2,  1,
    -3, -2,  3, -1,
     0,  1,  0,  0,
     1,  0,  0,  0
};
RtBasis RiPowerBasis =
{
     1,  0,  0,  0,
     0,  1,  0,  0,
     0,  0,  1,  0,
     0,  0,  0,  1
};

No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Pixar. The information in this publication is furnished for informational use only, is subject to change without notice and should not be construed as a commitment by Pixar. Pixar assumes no responsibility or liability for any errors or inaccuracies that may appear in this publication.

 

Pixar Animation Studios
(510) 752-3000 (voice)   (510) 752-3151 (fax)
Copyright © 1996- Pixar. All rights reserved.
RenderMan® is a registered trademark of Pixar.