I'm writing an exporter to write c4d files from an application using melange. I'm missing the function MakeVariableTag to generate a Tnormal tag. My first thought was, that you could use MakeTag for all tags in melange. But the newly created tag doesn't allocate any normals. What is the right way in melange to generate a normals tag?

I'm using the newest melange sdk: Build #36137 - Nov 25 2010

Cheers
Frank

]]>https://plugincafe.maxon.net/topic/5364/5372_normals-when-exporting-using-melangeRSS for NodeSun, 07 Jun 2020 09:01:25 GMTWed, 09 May 2018 17:49:34 GMT60THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

I'm writing an exporter to write c4d files from an application using melange. I'm missing the function MakeVariableTag to generate a Tnormal tag. My first thought was, that you could use MakeTag for all tags in melange. But the newly created tag doesn't allocate any normals. What is the right way in melange to generate a normals tag?

I'm using the newest melange sdk: Build #36137 - Nov 25 2010

Cheers
Frank

]]>https://plugincafe.maxon.net/post/24934https://plugincafe.maxon.net/post/24934Wed, 09 May 2018 17:49:34 GMTTHE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 03/12/2010 at 09:46, xxxxxxxx wrote:

I haven't really looked into Melange yet, but most of the MakeVariableTag() variants were replaced by explicit new tag-types in the regular SDK... see if there's a NormalTag::Alloc() that you can use.

]]>https://plugincafe.maxon.net/post/24935https://plugincafe.maxon.net/post/24935Wed, 09 May 2018 17:49:34 GMTTHE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

]]>https://plugincafe.maxon.net/post/24936https://plugincafe.maxon.net/post/24936Wed, 09 May 2018 17:49:34 GMTTHE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 06/12/2010 at 01:02, xxxxxxxx wrote:

Thanks for the infos. Unfortunately NormalTag doesn't have an Alloc function in melange, but after looking at the header (instead of only looking at the docs ;-) ), I found, that there is a Resize function:

]]>https://plugincafe.maxon.net/post/24937https://plugincafe.maxon.net/post/24937Wed, 09 May 2018 17:49:34 GMTTHE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 06/12/2010 at 12:31, xxxxxxxx wrote:

Surely, you can use the Alloc() method found in the base classes that NormalTag is derived from? (BaseTag, BaseList2D, etc...)