Updated Motion Camouflage Script

This weekend I worked on developing the “dragonfly” POV-Ray script some more. There are more details behind this idea in an earlier post.

Here is the linear intercept video, without motion camouflage. You can see more movement against the background, especially in the early part. I think it helps to see this first for comparison to the motion camouflage animation.

Here is the updated motion camouflage video.

Here is the POV-Ray script

#include "colors.inc" 

light_source { <10, 10, -10> color White 
    area_light
    x y 10 10
    adaptive 1
    jitter
    circular orient}                                               

camera {      
  #declare viewx=2-clock*5 ;
  #declare viewz= -2-clock*2.5 ;
  location <viewx, 2, viewz>
// viewer trajectory
              
// motion camo look at fixed                    
   look_at <0-clock*2,1,0>  
   focal_point <0-clock*2,1,0>   
      

      aperture 0.1
      blur_samples 40
//
}                           

// intersect point <-30/7,2,20>                              
                                                            
  
    background { color Gray }       

  plane { <0, 1, 0>, -1
    pigment {
      checker color Copper, color Blue
    }
  }  
  
  
    plane { <0, 0, 1>, 20
    pigment {
      checker color Yellow, color ForestGreen   
      scale 3
    }
  }        
  

  sphere {
   <0,1,0>, 0.2 
   pigment{color Red}

  }  
  

    sphere {  // dragonfly   
    
    // motion camo sequence  
    #declare dfz= 20-clock*24;               
    // intercept point with wall
    #declare xint=-30/7;
    #declare zint=20;           
    // slope of line, rise over run
    #declare slopedf=(xint-viewx)/(zint-viewz); 
    // intercept of line, solve by algebra
    #declare intercept=viewx-viewz*slopedf;
    // x position from liner line equation 
    #declare dfx= dfz*slopedf+intercept;  
      
    <dfx,2,dfz>, 0.2

   // intercept course  
   // <-4.28571428571429+clock*1.26,2,20-clock*24>, 0.2

   pigment{color Orange}
   
  }

Here is the INI file

; POV-Ray animation ini file
Antialias=On
Antialias_Threshold=0.1
Antialias_Depth=2

+W1600 +H1200 ;Width=1920
;Height=1080

Input_File_Name="dragonfly-camo2.pov"

Initial_Frame=1
Final_Frame=200
Initial_Clock=0
Final_Clock=1

Cyclic_Animation=on
Pause_when_Done=off

Posted

in

by

Tags:

Comments

One response to “Updated Motion Camouflage Script”

  1. […] may update this post with some comparison videos of what the scene looks like without motion camouflage … […]

Leave a Reply

Your email address will not be published. Required fields are marked *