instarobe_support
KINET_support

wygenabled

ASIO

View unanswered posts | View active topics It is currently Fri May 18, 2012 5:14 am



Post new topic Reply to topic  [ 2 posts ] 
 Static Layer maps 
Author Message

Joined: Sun Oct 10, 2010 6:37 pm
Posts: 25
Post Static Layer maps
I want to be able to store my matrix map elements for easier use in layers

I have a number of display elements (matrix, megatree, lightpoles) that I have mapped my elements of various sizes onto 150 x 100 matrix, how do I store the elements as seperate areas on the master map so that I can easily select the element on that layer without having to hand select the individual areas every time.

So rather than selecting the area for the layer I would like to click on the area where say my matrix lives and control click on other areas to add other areas if I need to have that layer across multiple areas.


Thu Sep 29, 2011 3:22 pm
Profile
User avatar

Joined: Tue Aug 19, 2008 3:47 pm
Posts: 83
Post Re: Static Layer maps
Hi,

I have same problem 1 year ago. I have use a macro which defined my area. I copy the macro to all layers by used the storage copy window, before build effects. And now I only using the defined number for my mapped area.

My macro view here.
Change the first lines for your area and ready.
Code:
@scriptname="";
@author="dieter";
@version="";
@description="macro map preset";

// problem: is map window open, do not refresh the window, close and open help
//
//const int MAP_PRESET=0;// no mapping
//const int MAP_PRESET=1;// top
//const int MAP_PRESET=2;// right
//const int MAP_PRESET=3;// left
const int MAP_PRESET=4;// right bottom
//const int MAP_PRESET=9;// do nothing

void InitEffect(){
   switch(MAP_PRESET){
   case 0:     MapEffectVector(0.0,0.0,1.0,1.0);break;
   case 1:     MapEffectVector(0.0,0.0,1.0,0.5);break;
   case 2:     MapEffectVector(0.5,0.0,1.0,1.0);break;
   case 3:     MapEffectVector(0.0,0.0,0.5,1.0);break;
   case 4:     MapEffectVector(0.5,0.5,1.0,1.0);break;
   case 9:break;
   default:break;
   }
}

void PreRenderEffect(){}
void PostRenderEffect(){}
void MatrixSizeChanged(){
   InitEffect();
}


Sun Oct 02, 2011 6:09 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.