Exciting News: Chaos acquires EvolveLAB = AI-Powered Design. To learn more, please visit this page!
Hi,Are you referring to Scanline Standard (legacy) material?If yes, they should be converted by Corona Converter, but they also should render with Corona.If you can, share the scene (or simplified version) so we can check.
( -- Function to recursively replace Arnold Image and other textures with standard Bitmap or Corona Bitmap fn ConvertToBitmap texmap parentMat slotIndex useCorona = ( if (texmap != undefined and classof texmap != CoronaBitmap and classof texmap != BitmapTexture) then ( local texturePath = "" -- Handle Arnold Image maps if (classof texmap == ArnoldImage) then ( if (isProperty texmap #filename and texmap.filename != undefined) then ( texturePath = texmap.filename ) ) -- Handle standard Bitmap textures else if (hasProperty texmap #filename and texmap.filename != undefined) then ( texturePath = texmap.filename ) -- Convert if a valid path is found if (texturePath != "" and doesFileExist texturePath) then ( local newBitmap if (useCorona) then ( newBitmap = CoronaBitmap() -- Create an empty Corona Bitmap ) else ( newBitmap = BitmapTexture() -- Create an empty Standard Bitmap ) newBitmap.filename = texturePath -- Assign the filename separately -- Debugging output format "Replacing texture: % with %\n" texturePath (if useCorona then "Corona Bitmap" else "Standard Bitmap") -- Replace the original map with the chosen Bitmap setSubTexmap parentMat slotIndex newBitmap ) -- Recursively check nested maps for i = 1 to getNumSubTexmaps texmap do ( ConvertToBitmap (getSubTexmap texmap i) texmap i useCorona ) ) ) -- Process all scene materials for mat in scenematerials do ( if (mat != undefined) then ( for i = 1 to getNumSubTexmaps mat do ( ConvertToBitmap (getSubTexmap mat i) mat i true -- Change to 'false' for standard Bitmap ) ) ) -- Process Multi/Sub materials for obj in objects do ( if (obj.material != undefined) then ( if (classof obj.material == Multimaterial) then ( for j = 1 to obj.material.numsubs do ( for i = 1 to getNumSubTexmaps obj.material.materialList[j] do ( ConvertToBitmap (getSubTexmap obj.material.materialList[j] i) obj.material.materialList[j] i true -- Change to 'false' for standard Bitmap ) ) ) else ( for i = 1 to getNumSubTexmaps obj.material do ( ConvertToBitmap (getSubTexmap obj.material i) obj.material i true -- Change to 'false' for standard Bitmap ) ) ) ) messageBox "Conversion Completed! Check MaxScript Listener for details." title:"Success")