This shows you the differences between two versions of the page.
rhino:pictureframes [2016/05/11] |
rhino:pictureframes [2020/08/14] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======How to use PictureFrames as a Background Reference Image====== | ||
+ | |||
+ | **PictureFrames** can be used to make a more flexible and powerful version of Rhino' | ||
+ | |||
+ | Some advantages to using PictureFrames: | ||
+ | |||
+ | * An unlimited number of images can be placed in the scene. View these in any and all viewports. | ||
+ | * Images can be scaled and rotated as needed, unlike BackgroundBitmap which aligns only with the cplane X and Y. | ||
+ | * Images can be dimmed and made more or less transparent. | ||
+ | A possible disadvantage is that there is no guarantee that the image will always be behind everything in space. PictureFrames are just objects in 3D space. | ||
+ | |||
+ | |||
+ | ===== To use PictureFrames as a background reference image===== | ||
+ | |||
+ | Start the **PictureFrame** command (Surface toolbar> | ||
+ | |||
+ | The plane is automatically assigned the image as a texture map, the image being mapped to the surface UV. You can see this texture assignment in the plane' | ||
+ | |||
+ | Since this is a material channel, it is only displayed in the viewport when in Rendered viewport mode or, in V4, some other display mode that shows material (Options> | ||
+ | |||
+ | <color white> | ||
+ | |||
+ | {{: | ||
+ | |||
+ | //Three PictureFrame planes set up to display reference images.// | ||
+ | |||
+ | <color white> | ||
+ | |||
+ | Once set up, the planes can be adjusted like any other object in Rhino with transform commands to align and rotate them as needed. The Orient command can be used to scale and align points on the image to known dimensions and locations. Adjust image intensity in the // | ||
+ | |||
+ | <color white> | ||
+ | |||
+ | {{: | ||
+ | |||
+ | //Material preset toolbars.// | ||
+ | |||
+ | <color white> | ||
+ | |||
+ | It may be useful to place picture frames on separate layers so they can be selected, locked, or hidden easily. It may also be useful to set up a special display mode in v4 with settings that are tweaked more than you would typically want them to be in a standard render mode. For example, turning off backfaces allows images to be placed on all sides of an object without obscuring the view. | ||
+ | |||
+ | Below is a command macro that can be added to a button or command alias to automate the process of applying the image and display modes to the planes in V4. Substitute any number between 0 and 100 for the 90 in the example to change the transparency of the planes. | ||
+ | |||
+ | |||
+ | ! // | ||
+ | _SelLast | ||
+ | // | ||
+ | //Enter //Object // | ||
+ | // | ||
+ | |||