From d33945c9e81b25ec58c0eb47143d0623f6a09506 Mon Sep 17 00:00:00 2001 From: "Brandon D. Northcutt" Date: Thu, 15 Jun 2017 17:28:53 -0700 Subject: [PATCH] Bowling contact simulation .obj/.mtl handling for drake visualizer. --- drake/examples/contact_model/BUILD | 1 + drake/examples/contact_model/pin.mtl | 6 ++++++ drake/examples/contact_model/pin.obj | 1 + 3 files changed, 8 insertions(+) create mode 100644 drake/examples/contact_model/pin.mtl diff --git a/drake/examples/contact_model/BUILD b/drake/examples/contact_model/BUILD index bbcd4849fd15..be61ae908427 100644 --- a/drake/examples/contact_model/BUILD +++ b/drake/examples/contact_model/BUILD @@ -85,6 +85,7 @@ filegroup( srcs = [ "bowling_ball.urdf", "pin.obj", + "pin.mtl", "pin.urdf", ], ) diff --git a/drake/examples/contact_model/pin.mtl b/drake/examples/contact_model/pin.mtl new file mode 100644 index 000000000000..288c2c1c37ca --- /dev/null +++ b/drake/examples/contact_model/pin.mtl @@ -0,0 +1,6 @@ +newmtl pin +Ka 0.9000 0.9000 0.9000 +Kd 0.9000 0.9000 0.9000 +Ks 0.5000 0.5000 0.5000 +Ns 200.0000 +illum 2 diff --git a/drake/examples/contact_model/pin.obj b/drake/examples/contact_model/pin.obj index a4d369b05099..8841ab658cce 100644 --- a/drake/examples/contact_model/pin.obj +++ b/drake/examples/contact_model/pin.obj @@ -1,5 +1,6 @@ # This file uses centimeters as units for non-parametric coordinates. +mtllib pin.mtl v 0.058014 0.018850 0.016429 v 0.049350 0.035855 0.016429 v 0.035855 0.049350 0.016429