# Soya 3D tutorial # Copyright (C) 2001-2004 Jean-Baptiste LAMY # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA import soya, balazar, balazar.globdef for i in soya.Material.availables(): print ' "%s",' % i for i in [ "a-echassien-1", "arbre_feuille_pompon", "arbre_wood", "bache_bleue", "bache_bleue_roi", "bache_brune", "bache_rouge", "bache_verte", "balazar", "barque", "beuglaz", "camera", "champignon", "champignon_pourri", "chaume", "chef_morkul", "clef", "coffre1", "coffre2", "column2a", "column2a_plante", "column2b", "column2c", "couteau", "dalle", "dent", "dome", "eau", "eclat", "epee", "epee_maudite", "epee_rayon", "epee_turyle", "fasme", "ferme", "feuillesmortes", "fleur", "fx_photo", "grass", "grass2", "grass3", "grass4", "grille", "grille0", "grille2", "grille3", "ground", "haute_chimney", "haute_roof", "haute_walls", "heal", "ice", "item_map", "item_map_foret_pompon", "life", "maison_cheminee1", "maison_fenetre1", "maison_mur1", "maison_mur2", "maison_mur3", "maison_mur4", "maison_porte1", "maison_toit1", "marchee1", "nageoire", "p-dodd-1", "pas", "paysan_brun", "paysan_rouge", "paysan_vert", "petale_blanc", "pilier", "plateau", "platefleche", "rock", "sable", "sage", "shader", "snow", "soustoit", "splash", "star", "status_bar", "sun", "tour", "tour2", "tour3", "tour4", "tour_plancher", "white", "widget_arrow", "x_brume_1", "x_cristal_1", "x_geser_1", "x_lumiere_1", "x_pulsar_1", "x_solar_1", "x_solar_2", "x_vortex_1", ]: m = soya.Material.get(i) m.mip_map = 1 m.save() for i in [ "herse", "herse0", "herse2", "herse3", ]: m = soya.Material.get(i) m.mip_map = 0 m.save()