Hey there, That wouldn't be really easier than using the normal though.
@Hugo: What kind of normals pass do you have ? World or Cameraspace ? If the latter than you need to add the Camera data to properly derive orientation. Thorsten Kaufmann Technical Director MACKEVISION Medien Design GmbH, Stuttgart Forststrasse 7 70174 Stuttgart Tel: +49 (0) 711-933048-0 Fax: +49 (0) 711-933048-90 [email protected] www.mackevision.de Geschäftsführer: Armin Pohl, Joachim Lincke HRB 243735 Amtsgericht Stuttgart -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Stephen Newbold Gesendet: Freitag, 20. Mai 2011 16:57 An: Nuke Python discussion Betreff: Re: [Nuke-python] Got obj orientation from Normal pass Can you not just select 2 points from your position pass and work out the orientation from that with a bit of trigonometry? Steve Hugo Léveillé wrote: > I have made a quick tab in the Card panel to pick a color from the > position pass to place the card in the 3d space. Quite easy > > But Id like to also orient the object in the scene based on the normal > pass. Is there a gizmo already made for that? If not, any hint on how > this could be acheived? Seems like I will have to deal with matric witch > I have not played with yet :) > > > -- Stephen Newbold Compositing Lead - Film MPC 127 Wardour Street Soho, London, W1F 0NL Main - + 44 (0) 20 7434 3100 www.moving-picture.com _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
