9.26 Page Curl
On this page:
9.26.1 Examples
9.26.1.1 The Page Curl transition
9.26.1.2 The Roll transition

9.26 PageCurl

Treats its input textures as components of a page and “turns” them by curling their geometry. You can also cause the pages to roll instead, simulating a scroll.

 

Parameters

 

Default

 

Range    

 

Description

 

Angle

 

135.0

 

[0.0,360.0]

 

The angle at which we start the curl. Below are four examples:
  • 45: Curl Top Right

  • 135: Curl Bottom Right

  • 225: Curl Bottom Left

  • 315: Curl Top Left

 

 

 

 

 

Mode

 

0

 

{0,1}

 

PageCurl can operate in two distinct modes
  • 0: PageCurl mode

  • 1: Roll mode

 

 

 

 

 

Curl

 

1.5

 

> 1.0

 

The degree of the curl. High values will cause the curl to be smaller and vice versa. You can think of it as the radius of the curl, expressed in the units of the scene’s geometry.

Input pattern: (A)

9.26.1 Examples
9.26.1.1 The PageCurl transition
; muSE v2
; 
; My head-banging earth-shaking style
; This style has a PageCurl transition.
 
(style-parameters)
 
(segment-durations 8.0)
 
(define muvee-global-effect (effect-stack
                                (effect "CropMedia" (A))
                                (effect "Perspective" (A))))
 
 
(define muvee-transition
  (layers ( A B)
          B
          (effect "PageCurl" ()
                  (input 0 A))))

This style creates a PageCurl effect. In the muvee-transition, we create a layers with inputs A and B. We display B as it is because no effects are applied to it. For A, we display it in front of B and apply the "PageCurl" effect to it. We have not modified any parameter but you are free to do so if the need arises.

9.26.1.2 The Roll transition
; muSE v2
; 
; My head-banging earth-shaking style
; This style has a Roll transition.
 
(style-parameters)
 
(segment-durations 8.0)
 
(define muvee-global-effect (effect-stack
                                (effect "CropMedia" (A))
                                (effect "Perspective" (A))))
 
 
(define muvee-transition
  (layers ( A B)
          B
          (effect "PageCurl" ()
                  (input 0 A)
                  (param "Mode" 1)
                  (param "Curl" 1.0))))

This style creates a roll effect. The code layout is rather similar to the first example. The only difference is that we have set the Mode parameter to 1 and decreased the Curl parameter to 1.0.