ivan Posted February 28, 2007 Share Posted February 28, 2007 ptransform() does not have correct help browser information. How is it used? Is there a function that returns the matrix of a particular space? I assume there is, and that's what would return the 4X4 that ptransform needs... matrix WT = otransform("WORLD"); vector Pw = ptransform(P,WT); you need an object called "WORLD" for this to work... ptransform() does not have correct help browser information.How is it used? Is there a function that returns the matrix of a particular space? I assume there is, and that's what would return the 4X4 that ptransform needs... Quote Link to comment Share on other sites More sharing options...
Mario Marengo Posted February 28, 2007 Share Posted February 28, 2007 How is it used?Is there a function that returns the matrix of a particular space? Hi Ivan, Yup, the help is wrong. Or rather, it may be correct for H9, but certainly not for H8 (assuming I can believe what a little bird told me ) You're basically stuck with matrix otransform(string path_to_obj) Usually the string argument is a null object with "Output transform as render space" toggled ON (in the Render tab of the null).... *and* displayed when rendering, else it won't make it to the ifd. But the good news is that we may FINALLY have a predefined world space (and others) in H9. Unfortunately it's not something they can back-port to H8. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.