top of page

Silhouette

MMM Compatible

Last updated: 11/07/2013

Silhouette creates a billboard greenscreen which can be used to display various media.

Silhouette

Click the image above to see it in full

Download

Tutorial

1. Go to 'accessory manipulation' and click 'load'. 

2. Select Silhouette.x and click 'OK'. Harigane recommends you load Silhouette as the last effect. You can change the effect drawing order by going to 'background' -> 'accessories edit'. 

3. Go to 'MMEffect' and click on 'Effect Mapping'. 

4. Go to the 'SilhouetteRT' tab and select the model you wish the effect to apply on top of. Click 'Set Effect'.

5. Select Silhouette_Obj.fx and click 'Open'. 

6. Click 'Apply', then 'OK'.



Accessory Parameter Values

-X and Y: Determines the speed and direction of the greenscreen's infinite scrolling. 

-Rx, Ry and Rz: Adjusts the RGB values of the greenscreen, respectively, within a range of 0~1. 

-Si: Adjusts the transition fade amount, within a range of 0~1. 0.0 means the effect is completely transparent, whereas 1.0 means the effect is completely visible. 

-Tr: Adjusts the transparency of the greenscreen.

Editing the Code Parameters

-Line 8: #define UseTex: Determines what is loaded onto the greenscreen effect via a set number value. 0 = solid color, 1 = image file, 2 = .apng or .gif file, 3 = screen or video. By default, this value is set to 2. 


-Line 9: #define TexFile: Determines what file is loaded onto the greenscreen when the above parameter is set to 1 or 2. By default, it is set to "sample.png". 


-Line 12: #define AlphaType: Determines how alpha values are calculated. 0 means that fully transparent sections will appear transparent, or not appear at all. 1 means that fully transparent sections will appear as white. 


-Line 14: #define MaskFile: Determines what file is referenced when using the effect's fade transition. By default, it is set to "sampleMask.png". 


-Line 15: float Threshold: Determines the section size of the effect's fade transition. A smaller value means the fade will be more precise and sharp, whereas a greater value means the fade will be elongated and smoother. By default, the fade progresses from the bottom of the effect to the top. Inverting this value will invert the direction of the fade. 


-Line 17: float TexWidthSize: Determines the width of the applied image or video on the greenscreen, designated to a ratio of 1. 1 means the file will take up the entire width of the greenscreen. 0.5 means the file will take up half of the greenscreen's width, repeating itself. 


-Line 18: float TexHeightSize: Determines the height of the applied image or video on the greenscreen, designated to a ratio of 1. 1 means the file will take up the entire height of the greenscreen. 0.5 means the file will take up half of the greenscreen's height, repeating itself.

Tips

-Silhouette has the ability to display a single color, an image, an animated .apng or .gif file, the screen setup in MMD, or an .avi video loaded through MMD.


-By default, all the models in your project will have Silhouette_Mask.fx applied to them in the SilhouetteRT tab. You can apply Silhouette_Mask.fx onto the models you wish to appear in front of the greenscreen. 


-Depending on what you wish to load onto the greenscreen, you may need to modify the Silhouette.fx file. Please see the Editing the Code Parameters section for more information.


-Silhouette is a modification of Dance Intervention's Mirror.fx.

bottom of page