Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.obj/.mtl loading for drake_visualizer in bowling ball contact simulation. #6352

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drake/examples/contact_model/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ filegroup(
srcs = [
"bowling_ball.urdf",
"pin.obj",
"pin.mtl",
"pin.urdf",
],
)
Expand Down
6 changes: 6 additions & 0 deletions drake/examples/contact_model/pin.mtl
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions drake/examples/contact_model/pin.obj
Original file line number Diff line number Diff line change
@@ -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
Expand Down