XNA Creators Club Online
Page 1 of 1 (3 items)
Sort Posts: Previous Next

Normal Mapping Sample - Opaque Data - Cinema 4D

Last post 05-05-2008 3:46 PM by cycore. 2 replies.
  • 04-29-2008 3:29 PM

    Normal Mapping Sample - Opaque Data - Cinema 4D

    Hi,
    in the NormalMappingEffectPipeline sample they use a parameter stored in the so called opaque data to tell the content processor what texture to use as normal map.
    How do you set this "opaque data" parameter in Cinema 4d? I tried using the "user data" in the attribute manager, but that data does not seem to get exported to the .x or .fbx file.
    Is there any other way to set those custom parameters?
  • 04-30-2008 4:12 AM In reply to

    Re: Normal Mapping Sample - Opaque Data - Cinema 4D

    Well I believe only the FBX file format is going to support opaque data, so if you have an FBX exporter in Cinema 4D, you would need to check the docs for the exporter or contact the maker of the exporter to determine if the exporter supports creating the opaque data. If the exporter does not support it, then I would think you could write your own tool to insert the data using the free FBX Software Development Kit from Autodesk:

    http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=6839916

    You would have to develop your tool in C++ however. Otherwise you could consider switching to a content creation tool that does support it such as Maya or 3DS Max. A third option would be to alter the NormalMappingModelProcessor so that it gets the texture filename from another source.

  • 05-05-2008 3:46 PM In reply to

    opaque data

    I'm not very experienced with Cinema 4D. But maybe the "User Data" attribute ist not the right way to go and there is some other way to edit the "opaque data" in C4D. The "user data" doesn't get exported, but maybe something else will... I just don't know where to look.

    I don't think I will be able to code my own exporter from the SDK.
    But maybe I'll just use fixed texturenames, like RegularTextureName + "NormalMap"



Page 1 of 1 (3 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG