mcjAltTex




Introduction


This script will go through all the nodes in a scene, Through all materials, And switch the texture images to ones located in a folder of your choice.

So you could export a scene using the Daz Studio's "collect maps option" then in the Maps folder produced by Daz Studio, you could re-size the "heavyweight" texture images to something smaller ( ex to 1024x1024 )

Then use mcjAltTex to switch all the texture images in the scene to the ones found in the Maps folder


Now the scene that crashed Blender/Cycles doesn't

Due to Aiko 4's large ( 4000x4000 ) image textures, the scene shown here was refusing to render in Blender/Cucles
but using the smaller texture images ( 1024x1024) it rendered without problem, in the fast GPU mode

(  Daz Studio Scenes in Blender and its Cycles path-tracing renderer ... see my free script mcjTeleBlender for details )



History


April 2 2013 0:15 released



Installation


The zip package is found at the bottom of this page

unzip it in your daz content folder, typically C:\Program Files\DAZ\Studio\content\


once installed, it will appear in your content library, under Studio / Scripts / mcasual





Use


Click the "browse" button, browse to and selec the folder containing the lightweight ( or just different ) set of texture images

Click on the "Do it" button

Seconds later a report will appear.



License

//===================================================================
// by mCasual/Jacques
//===================================================================
// ( MIT License )
// Copyright (c) <2013> <mCasual/Jacques>
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
// OTHER DEALINGS IN THE SOFTWARE.
//===============================================================================================



ċ
mcjAltTex.zip
(13k)
mCasual Jacques,
Apr 1, 2013, 9:28 PM
Comments