Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- singleton TSShapeConstructor(DiceCubeDts)
- {
- baseShape = "./DiceCube.dts";
- };
- function DiceCubeDts::onLoad(%this)
- {
- %this.setDetailLevelSize("1", "500");
- %this.setDetailLevelSize("2", "200");
- %this.setDetailLevelSize("3", "100");
- %this.setDetailLevelSize("4", "50");
- %this.setDetailLevelSize("5", "25");
- %this.setDetailLevelSize("6", "10");
- %this.addMesh("DiceCube200", "DiceCube2.dts", "DiceCube2");
- %this.addMesh("DiceCube100", "DiceCube3.dts", "DiceCube3");
- %this.addMesh("DiceCube50", "DiceCube4.dts", "DiceCube4");
- %this.addMesh("DiceCube25", "DiceCube5.dts", "DiceCube5");
- %this.addMesh("DiceCube10", "DiceCube6.dts", "DiceCube6");
- %this.saveShape("./DiceCube_Full.dts");
- }
Advertisement