23 messages in com.googlegroups.sketchuprubyRe: 2D drafting ruby| From | Sent On | Attachments |
|---|---|---|
| brichins | 06 Jun 2007 10:15 | |
| TB | 06 Jun 2007 13:37 | |
| brichins | 06 Jun 2007 14:34 | |
| brichins | 06 Jun 2007 14:51 | |
| TB | 06 Jun 2007 15:16 | |
| TB | 06 Jun 2007 15:18 | |
| RickW | 06 Jun 2007 16:58 | |
| brichins | 07 Jun 2007 08:20 | |
| brichins | 07 Jun 2007 08:20 | |
| brichins | 07 Jun 2007 08:20 | |
| brichins | 07 Jun 2007 08:21 | |
| brichins | 07 Jun 2007 08:41 | |
| brichins | 07 Jun 2007 09:05 | |
| TB | 07 Jun 2007 13:56 | |
| brichins | 07 Jun 2007 15:17 | |
| brichins | 08 Jun 2007 09:00 | |
| TB | 08 Jun 2007 09:20 | |
| TB | 08 Jun 2007 09:22 | |
| brichins | 08 Jun 2007 09:33 | |
| brichins | 08 Jun 2007 10:30 | |
| TB | 08 Jun 2007 10:51 | |
| brichins | 08 Jun 2007 11:02 | |
| TB | 08 Jun 2007 11:31 |
| Subject: | Re: 2D drafting ruby![]() |
|---|---|
| From: | TB (mr.t...@gmail.com) |
| Date: | 06/08/2007 09:20:01 AM |
| List: | com.googlegroups.sketchupruby |
On Jun 7, 5:18 pm, brichins <bria...@gmail.com> wrote:
But which plane, at what distance from the camera?
Hey, this is your baby! You tell me! I would suspect that if you want to constrain drawing to a given plane, you would want to know what the plane is. Therefore, one technique you could use would be to pick a face (which always has at a minimum 3 points) to choose your plane. Otherwise, the user needs to tell you (through a series of mouse picks) where to form the virtual drawing plane.
Also, constraining drawing to 2D does not dictate that the camera vector be perpendicular to the plane.
As far as a distance... you have to pick that. Or, let the user pick it with a single left click, and you can use the camera's direction to derive your plane from that user-picked point (in which case the camera would be perpendicular to the plane).
I'll look at your code.
Todd




