Grasshopper

algorithmic modeling for Rhino

Orient Surface to Camera Definition (ideal for entourage in architectural renderings)

I wrote this definition for the purpose of copying pictureframe
surfaces in architectural scenes (people, trees, cars, etc...), and
orienting them towards the camera for use with multiple views.

Now updated for use with build 0.6.0059

Views: 6796

Attachments:

Replies to This Discussion

Hey Guys,
I know this post is ancient, but it still comes up top of the list when you google "rhino grasshopper orient to camera", so I thought I'd contribute.
I found that the ladybug component OrientToCam directly tracks the camera so I made a version with that.

The definition uses the populate geometry component to generate random points on anything. It then moves the curves to theses points and orients them. I internalised a few outlines of people so it should run on any rhino file. There are a few more details to it, but I am in a rush and am sure you guys can figure it out so enjoy

Attachments:

There are some mistakes in your definition (for example, the data connected to the Vector 2Pt component won't match correctly).

I attached an improved version.

 (I don't have Ladybug so I substituted it with a scripted component. Also, the outlines of your file didn't internalize correctly so I sketched some shapes that might or might not resemble humans).

Attachments:

Don't know, it seams to work fine for me. Maybe the vector 2 points didn't work because of the corrupt internalised data or something. Anyway, thanks for sharing your version. Not needing ladybug is an improvement.

No, I saw the mistake from the screenshot. You are connecting to one input the base point of the list of referenced outlines (for example, 5 outlines) and in the other input the list of final positions (for example, 100 points).

Yeah that was on purpose. I grafted it and added jitter so that if I only have 5 people outlines it would randomly assign a one to every one of the hundred points, it's for fast large space population.

There is no grafting on the screenshot, only flattening. And if you graft and then jitter nothing will change since you have branches with only one item on each.

yes yes, I didn't graft, I repeated. Point taken and again thanks for the contribution.

For any one out there with ladybug installed, I believe my definition would work too, providing your have standing people curves. For the others, looks like Vicente's got you covered.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service