[Bf-committers] Blender tangent space calculation

f.paglia.80 at gmail.com f.paglia.80 at gmail.com
Tue Nov 15 19:47:12 CET 2011

Chiamami domani verso ora di pranzo al 3777074625 ora sono molto impegnato sto lavorando su una Correzione Colore
E-Mail Sent via BlackBerry from BT Mobile

-----Original Message-----
From: Eugene Minov <minov.eug at gmail.com>
Sender: bf-committers-bounces at blender.org
Date: Tue, 15 Nov 2011 21:43:12 
To: bf-blender developers<bf-committers at blender.org>
Reply-To: bf-blender developers <bf-committers at blender.org>
Subject: Re: [Bf-committers] Blender tangent space calculation

Yes, I absolutely agree, hard faces obviously must be exported in the same
way how they seen in render.
I think they can welds along with tangents.

On Tue, Nov 15, 2011 at 9:01 PM, Morten Mikkelsen <mikkelsen7 at gmail.com>wrote:

> There is no point in doing this unless you export the correct tangents and
> normals. That is the ones
> that were used to bake the normal map.
> I realize it blows that there is no API function to get the render normal.
> So what you have to do is produce it yourself
> like is done in
> DerivedMesh.c<
> https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/blender/blenkernel/intern/DerivedMesh.c
> >
> and
> many other places as well.
> An example in this file is the static function GetNormal() which is used as
>  a call-back function by mikktspace.c
> and you can see how it uses the averaged normal if the face is set to
> smooth and it uses
> the face normal which it calculates itself if the face is set to flat.
> If you are going to make an api to export tangents I for one cannot
> emphasize enough
> that I prefer an all or nothing solution. Either do it right or don't do it
> at all.
> The last thing we need is to introduce a new tangent space standard within
> blender.
> Either export the correct basis that was used for baking (this includes the
> normal)
> or don't try to do it at all.
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
Bf-committers mailing list
Bf-committers at blender.org

More information about the Bf-committers mailing list