Skip to content
arm2.scn 1.09 KiB
Newer Older
Luiz Velho's avatar
Luiz Velho committed
scene{
  camera = view{ from = {0, 0.2, -1.2},
                  at = {0, 0, 0},
                  up = {0,1,0},
                  fov = 60,
		  imgw=512, imgh=512 },
	
  light = dist_light{ direction = {0, 0, -1} },

  object = group {
              transform = param { rts = {0, 0, 0, 0, 0, 0, 1, 1, 1}},
	      child = group {
	      	    transform = mouse { assign = {-1, -1, 0, -1, -1, -1, -1, -1, -1}},
              	    child = group {
			 transform =  affine { translation = {.1, 0, 0},
				               scaling = {1, .4, .4}},
                         child = primobj{ shape = sphere{radius = .1 }}
                        },
		    child = group {	
                        transform =  affine { translation = {.2, 0, 0},},
			child = group {
			      transform = mouse { assign = {-1, -1, 1, -1, -1, -1, -1, -1, -1}},
			      child = group {
			      	    transform =  affine { translation = {.2, 0, 0},
			            	                   scaling = {2, .4, .4}},
	                            child = primobj{ shape = sphere{radius = .1}}
                      },
		 },
            },
       },
   },
};