"KarlSims 2014-03-06"의 두 판 사이의 차이

jjuiddong
이동: 둘러보기, 찾기
(새 문서: * Graphic Edit System (orientation edit) 400px 400px [[File:Graphic_edit_orient3.png|cent...)
 
(Graphic Edit System (orientation edit))
 
(한 사용자의 중간의 편집 1개 숨겨짐)
1번째 줄: 1번째 줄:
* Graphic Edit System (orientation edit)
+
=== Graphic Edit System (Orientation Edit) ===
 
[[File:Graphic_edit_orient1.png|center|thumb|400px]]
 
[[File:Graphic_edit_orient1.png|center|thumb|400px]]
 
[[File:Graphic_edit_orient2.png|center|thumb|400px]]
 
[[File:Graphic_edit_orient2.png|center|thumb|400px]]
 
[[File:Graphic_edit_orient3.png|center|thumb|400px]]
 
[[File:Graphic_edit_orient3.png|center|thumb|400px]]
 
[[File:Graphic_edit_orient4.png|center|thumb|400px]]
 
[[File:Graphic_edit_orient4.png|center|thumb|400px]]
 +
 +
=== Genotype Script ===
 +
 +
Arm1( box, vec3(0.7,0.2,0.1), material(red), mass(1) )
 +
 +
Arm2( box, vec3(0.7,0.2,0.1), material(blue), mass(1) )
 +
 +
Arm3( box, vec3(0.3,0.3,0.3), material(blue), mass(1) )
 +
 +
Fin( box, vec3(0.2,0.2,1), material(green), mass(1) )
 +
 +
Sensor( vision, vec3(0.05,0.2,0.05), material(blue), mass(1) )
 +
 +
body( box, vec3(1.3,0.5,0.1), material(yellow), mass(1),
 +
 +
joint( fixed, quat(), quat(),
 +
vec3(0,0,1),
 +
limit(-0.785375, 0.785375, 0.1),
 +
velocity(10),
 +
period(10),
 +
Fin
 +
),
 +
 +
joint( revolute,
 +
quat(1.57075,vec3(0,0,1)), quat(1.57075,vec3(0,0,1)),
 +
vec3(0,2,0),
 +
limit(-0.785375, 0.785375, 0.1),
 +
velocity(10),
 +
period(10),
 +
Arm1
 +
  ),
 +
 +
  joint( revolute,
 +
quat(1.57075,vec3(0,0,1)), quat(1.57075,vec3(0,0,1)),
 +
vec3(0,-2,0),
 +
limit(-0.785375, 0.785375, 0.1),
 +
  velocity(15),
 +
period(20),
 +
  Arm2
 +
),
 +
 +
  joint( revolute, quat(), quat(), vec3(0,-1.1,0),
 +
limit(-0.385375, 0.385375, 0.1),
 +
velocity(1),
 +
  period(5),
 +
body
 +
  )
 +
)
 +
 +
main( sphere, vec3(0.2,0.2,0.2), material(yellow), mass(1),
 +
 +
sensor( vision, quat(), quat(), vec3(0,0.3,0),
 +
limit(-0.385375, 0.385375, 0.1),
 +
velocity(1),
 +
period(1),
 +
Sensor
 +
),
 +
 +
joint( fixed, quat(), quat(), vec3(0,-1.1,0),
 +
limit(-0.385375, 0.385375, 0.1),
 +
velocity(1),
 +
period(5),
 +
body
 +
)
 +
)

2014년 3월 6일 (목) 12:16 기준 최신판

[편집] Graphic Edit System (Orientation Edit)

Graphic edit orient1.png
Graphic edit orient2.png
Graphic edit orient3.png
Graphic edit orient4.png

[편집] Genotype Script

Arm1( box, vec3(0.7,0.2,0.1), material(red), mass(1) )

Arm2( box, vec3(0.7,0.2,0.1), material(blue), mass(1) ) 

Arm3( box, vec3(0.3,0.3,0.3), material(blue), mass(1) ) 

Fin( box, vec3(0.2,0.2,1), material(green), mass(1) ) 

Sensor( vision, vec3(0.05,0.2,0.05), material(blue), mass(1) ) 

body( box, vec3(1.3,0.5,0.1), material(yellow), mass(1),

	joint( fixed, quat(), quat(), 
		vec3(0,0,1), 
		limit(-0.785375, 0.785375, 0.1),
		velocity(10),
		period(10),
		Fin
	),

	joint( revolute, 
		quat(1.57075,vec3(0,0,1)), quat(1.57075,vec3(0,0,1)), 
		vec3(0,2,0), 
		limit(-0.785375, 0.785375, 0.1),
		velocity(10),
		period(10),
		Arm1
 	),

 	joint( revolute, 
		quat(1.57075,vec3(0,0,1)), quat(1.57075,vec3(0,0,1)), 
		vec3(0,-2,0), 
		limit(-0.785375, 0.785375, 0.1),
 		velocity(15),
		period(20),
 		Arm2
	),

 	joint( revolute, quat(), quat(), vec3(0,-1.1,0), 
		limit(-0.385375, 0.385375, 0.1),
		velocity(1),
 		period(5),
		body
 	)
) 

main( sphere, vec3(0.2,0.2,0.2), material(yellow), mass(1),
	
	sensor( vision, quat(), quat(), vec3(0,0.3,0), 
		limit(-0.385375, 0.385375, 0.1),
		velocity(1),
		period(1),
		Sensor
	),

	joint( fixed, quat(), quat(), vec3(0,-1.1,0), 
		limit(-0.385375, 0.385375, 0.1),
		velocity(1),
		period(5),
		body
	)
)
개인 도구
이름공간

변수
행위
둘러보기
도구모음