Results 1 to 2 of 2

Thread: 3dsmax exporter v1.3 bug

  1. #1
    Junior Member
    Join Date
    May 2005
    Posts
    2

    3dsmax exporter v1.3 bug

    Hi ,

    I've discovered a bug in the max exporter v1.3 involving the export of
    bone nodes when the names are 'unclean'. The biped default node
    names are a good example (spaces in the names).

    I've temporarily fixed the problem:

    (fn write_DAE_SkinModifier max_obj max_skin file_ptr =)
    Code :
    	for i=1 to num_bones do
    	(
    		-- WARNING: Name of bones must be unique within the scene
    		-- THIS IS A BUG !! TRYING TO GRAB NODE FROM MAX WITH CLEAN VERSION NAME !! (KY - 2005.05.26)
    		bone_name = skinOps.GetBoneName max_skin i 1
    		--bone_name = DAE_Clean_String (skinOps.GetBoneName max_skin i 1)
    		bone_obj = getNodeByName bone_name exact:true
    		format "\t\t\t\t\t\t%\n" (DAE_INode_Name bone_obj) to:file_ptr
    	)

    This seems to work and it fixed my problem.
    (Easily reproducible using the standard names for a biped)
    Can the max folks fix this for the next version ?

    Thanks

  2. #2
    Junior Member
    Join Date
    Aug 2004
    Location
    Autodesk, San Francisco
    Posts
    19
    Thanks KY for spotting this.
    It did not make sense to clean the string.

    Look in the 3DS Max forum to grab the latest version.

    Take care.
    Jean-Luc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •