Exemplo n.º 1
0
    public Carro(string path,Interior interior)
    {
        car=load3ds(path);
        car.ComputeNormals();
        colores=new color_typeF[]{new color_typeF(0.5f,1.0f,0f),new color_typeF(1f,1f,0.4f),new color_typeF(1f,0.5f,1f),new color_typeF(0.5f,0.5f,1f),new color_typeF(0.7f,0f,0f)};
        InitMyMaterial();
        inter=interior;
        actList=new ArrayList();

        //	this.actList.Add("capo");
        //	this.actList.Add("maletero");

        this.Recompile();
    }
Exemplo n.º 2
0
    public Carro(string path, Interior interior)
    {
        car = load3ds(path);
        car.ComputeNormals();
        colores = new color_typeF[] { new color_typeF(0.5f, 1.0f, 0f), new color_typeF(1f, 1f, 0.4f), new color_typeF(1f, 0.5f, 1f), new color_typeF(0.5f, 0.5f, 1f), new color_typeF(0.7f, 0f, 0f) };
        InitMyMaterial();
        inter   = interior;
        actList = new ArrayList();

        //	this.actList.Add("capo");
        //	this.actList.Add("maletero");


        this.Recompile();
    }
Exemplo n.º 3
0
 public Sofa()
 {
     sof=this.load3ds("sofa.3ds");
     sof.ComputeNormals();
     this.Recompile();
 }
Exemplo n.º 4
0
 public Mata()
 {
     mat = this.load3ds("a3dplnt2.3ds");
     mat.ComputeNormals();
     this.Recompile();
 }
 public Sofa()
 {
     sof = this.load3ds("sofa.3ds");
     sof.ComputeNormals();
     this.Recompile();
 }
Exemplo n.º 6
0
 public Mata()
 {
     mat=this.load3ds("a3dplnt2.3ds");
     mat.ComputeNormals();
     this.Recompile();
 }