Robert Osfield
3fcba1bc51
From Jean-Sebastien Guay, "Some clients at my new job noticed that picking did not work with the
...
osg::Capsule subclass of osg::Shape in an osg::ShapeDrawable. Other
shapes worked fine. So I have fixed this. Code attached.
My modification is in the PrimitiveShapeVisitor, and is based on the
DrawShapeVisitor - I added methods called createCylinderBody and
createHalfSphere, and used them in apply(Cylinder&) and
apply(Capsule&). In my testing they work fine, tested even with
transforms and moving around the scene.
"
2007-12-16 17:57:19 +00:00
..
2006-07-18 15:21:48 +00:00
2007-12-10 17:30:18 +00:00
2007-12-10 17:30:18 +00:00
2007-09-19 15:29:57 +00:00
2007-12-04 14:44:21 +00:00
2007-02-26 14:36:43 +00:00
2006-10-14 21:47:13 +00:00
2007-09-10 15:19:23 +00:00
2007-09-10 15:19:23 +00:00
2007-09-10 15:19:23 +00:00
2006-07-18 15:21:48 +00:00
2007-01-25 10:02:20 +00:00
2007-09-10 15:19:23 +00:00
2007-09-07 15:03:56 +00:00
2006-07-18 15:21:48 +00:00
2007-09-10 15:19:23 +00:00
2006-07-18 15:21:48 +00:00
2007-12-11 11:55:15 +00:00
2007-12-08 13:29:31 +00:00
2007-03-28 15:05:49 +00:00
2007-09-07 11:21:02 +00:00
2007-02-21 13:48:01 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2007-02-16 17:34:34 +00:00
2007-04-06 15:13:02 +00:00
2006-07-18 15:21:48 +00:00
2007-06-13 13:41:23 +00:00
2007-04-06 15:13:02 +00:00
2006-07-18 15:21:48 +00:00
2007-12-10 17:30:18 +00:00
2007-08-10 17:44:54 +00:00
2007-08-10 17:44:54 +00:00
2007-12-10 17:30:18 +00:00
2006-07-18 15:21:48 +00:00
2007-12-10 10:16:13 +00:00
2007-12-10 17:30:18 +00:00
2007-12-10 17:30:18 +00:00
2007-12-10 17:30:18 +00:00
2005-05-16 15:51:57 +00:00
2006-07-18 15:21:48 +00:00
2007-09-10 15:19:23 +00:00
2007-12-10 17:30:18 +00:00
2007-08-22 09:42:27 +00:00
2006-07-18 15:21:48 +00:00
2007-12-10 17:30:18 +00:00
2007-12-11 15:55:02 +00:00
2007-01-17 14:40:03 +00:00
2007-07-06 13:08:51 +00:00
2007-12-10 17:30:18 +00:00
2007-12-10 17:30:18 +00:00
2007-01-04 16:49:58 +00:00
2007-12-08 13:29:31 +00:00
2007-12-10 10:16:13 +00:00
2006-07-18 15:21:48 +00:00
2007-12-08 13:29:31 +00:00
2007-07-28 10:44:03 +00:00
2007-01-07 10:00:50 +00:00
2006-09-12 12:35:20 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2006-12-15 17:27:18 +00:00
2006-07-18 15:21:48 +00:00
2007-12-10 20:33:22 +00:00
2007-08-27 10:00:09 +00:00
2006-12-19 17:06:59 +00:00
2007-02-10 18:01:37 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2007-09-10 15:19:23 +00:00
2007-12-10 17:30:18 +00:00
2006-07-18 15:21:48 +00:00
2007-07-11 16:06:04 +00:00
2007-08-22 09:42:27 +00:00
2006-07-18 15:21:48 +00:00
2007-04-06 15:13:02 +00:00
2006-07-18 15:21:48 +00:00
2007-12-10 17:30:18 +00:00
2007-09-03 09:56:30 +00:00
2007-09-10 15:19:23 +00:00
2007-06-29 17:01:37 +00:00
2006-07-18 15:21:48 +00:00
2007-12-10 17:30:18 +00:00
2007-12-10 17:30:18 +00:00
2006-07-18 15:21:48 +00:00
2007-05-01 18:03:32 +00:00
2007-12-11 11:21:13 +00:00
2006-07-18 15:21:48 +00:00
2006-12-05 16:45:27 +00:00
2006-07-31 17:31:21 +00:00
2007-12-10 17:30:18 +00:00
2006-07-18 15:21:48 +00:00
2007-05-09 11:11:19 +00:00
2007-04-05 16:12:10 +00:00
2007-12-11 11:21:13 +00:00
2007-02-21 13:48:01 +00:00
2007-03-29 19:42:07 +00:00
2007-12-16 17:57:19 +00:00
2007-12-11 11:57:32 +00:00
2007-08-22 10:34:11 +00:00
2007-12-11 11:42:02 +00:00
2007-02-14 16:24:49 +00:00
2006-07-18 15:21:48 +00:00
2007-06-27 20:36:16 +00:00
2006-10-30 12:14:00 +00:00
2006-07-18 15:21:48 +00:00
2007-07-11 15:51:17 +00:00
2006-07-18 15:21:48 +00:00
2006-11-28 16:00:52 +00:00
2007-02-21 15:15:55 +00:00
2006-09-04 12:46:49 +00:00
2007-12-10 17:30:18 +00:00
2007-12-10 17:30:18 +00:00
2007-12-10 17:30:18 +00:00
2007-12-10 17:30:18 +00:00
2007-12-10 17:30:18 +00:00
2007-10-01 08:50:58 +00:00
2007-12-10 17:30:18 +00:00
2006-12-26 17:37:06 +00:00
2007-04-02 13:06:59 +00:00
2007-02-07 16:32:14 +00:00
2007-09-07 11:21:02 +00:00
2007-09-11 10:10:43 +00:00
2007-06-27 20:36:16 +00:00
2007-12-10 17:30:18 +00:00
2007-01-01 18:20:10 +00:00