[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57433] trunk/blender/release/scripts/ modules/bpy_extras/object_utils.py: handy function for getting the 2d camera coords for a worldspace location.
Antony Riakiotakis
kalast at gmail.com
Thu Jun 13 18:56:30 CEST 2013
On 13 June 2013 19:47, Brecht Van Lommel <brechtvanlommel at pandora.be> wrote:
> Pixel space implies 0..width and ..height range instead of normalized,
> so I don't think that's right either
Ah, indeed I missed the division in the code.
> Orthographic cameras don't need a division, maybe there's some code
> that does one but the w component would always be 1.
>
OK, I guess people who know that much about transform pipelines and
homogenous coordinates can do their own calculation anyway.
More information about the Bf-committers
mailing list