Melange: CreatePhongNormals - wrong results

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 24/10/2011 at 01:32, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   13 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hi!

Sorry to bring this up again. But when i do the following:

Create a Cube in C4D
Export it for Melange
Load it in my external Melange app

and do CreatePhongNormals (valid tag) the output is some values, but they're not the normals i should get.

As far as i understood this, they're all just per index, means i don't have a normal per vertex, but per polygon index coming out of this array.

e.g.: 8 vertices, 24 indices -> 24 normals.

Strange thing is, some are even 0/0/0.

This is really nagging me, any ideas?

Thanks for your help...

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 24/10/2011 at 05:23, xxxxxxxx wrote:

I can confirm this strange behaviour. The Cinema API version works fine though. I will report it as a bug.

cheers,
Matthias