Face Camera for groups of surfaces


I have been using the Face Camera script - found here for a while for billboards (tree pngs for example). Single surfaces work fine but is there a way for groups of surfaces to be orientated in the same manner?

See below for an example of the problem.

(Pascal Golay) #2

Hmm - I’ll have to think about that one - I suppose if the pieces are coplanar, and preferably grouped, it may be OK to rotate them together. I’ll take a look. For arbitrary selections though, it gets more complicated as there may not be am easily extractable plane from the objects so you’d need to ask the user or something…



i like…very cool script.

Thanks for sharing it!



Here is a version of @Pascal’s script modified to work with the groups. It will be up to you to make sure the objects in groups are coplanar and all of your billboards are grouped properly…

FaceCameraGroups.rvb (5.7 KB)

The easier way about it (and making the files lighter) would be to make your billboards into blocks and modify the script to work with blocks (and planar objects inside blocks) - if your libraries were prepared like that it could be a more elegant solution…



(Pascal Golay) #6

@Jarek - merci!



Amazing, thanks Jarek!

Would it be complex to adapt this script for blocks?



I made a version of the original @pascal’s script that will also allow you to use blocks (but not groups). It will use a random planar object from inside of your block for orientation, so again, up to you to use it with proper block instances. It is much faster and cleaner than groups. So with this one you can use a mix of surf, polysurf, meshes and blocks that contain any of the 3 (surf, polysurf and mesh).

FaceCameraBlocks.rvb (4.2 KB)




Also nice old scripts are this - one for defining “face me” objects and one for aligning to camera. Advantage: the align command can be used during rendering an animation per bong and _BongoBonusToolForEachFrame.

(Przemysław Doliwa) #11

@pascal Guys this is interesting why we couldn’t have auto facing picture to camera?

This is already done in Text. Horizontal to view checkbox launches exacly that behaviour why not to bring this option also for this kind of stuff?


Forgot to thank you for this script. Just dug it out again, very useful!


(Toh) #13

Hi Jarek and Pascal and everyone else :slight_smile:

This is a great script!

But is it possible to make this work with hatches and curves inside a group/block?
I would like to be able to insert 2D trees (as a block or group), orient them to the camera, and then create a make2d drawing.

And like Przemyslaw Doliwa is saying the text function “horisontal to view” is already working very well in rhino and is “live/auto”, and in Lands design, the elevation view of the vegetation let the objects face to camera automatic.

But (how) is this possible in Rhino?
Lands design is very nice plugin for planting, but this function could be useful for silluettes and other etourage in the drawing :slight_smile:



hi @toh,

I added support for curves (planar, closed) and hatches to the script, including curves and hatches inside block instances. Please note, if a block has some non-planar curves (like lines) it may not work properly. Groups are not supported.

A side note: over here Make2D doesn’t work with Hatches…

Here is the revised script: FaceCameraBlocks.rvb (4.9 KB)

1 Like
(Toh) #15

Hi Jarek

Thanks a lot for this, and for your fast reply.
Much appreciated!

This is great :slight_smile:

Oh yeah, I did’nt realise this, until now. I guess i have to apply hatches afterwards, or if it a simple task/hatch, explode the hatches.