Hi
I am using pearl for 2-3 years. I make my personalities as peer my convinience
Now I need to edit some shape because so many times I use victory scans in which dimmer 1.1 or other dimmer shapes are not much excited .. can somebody help me to read out and edit SG.dat file
Thank you
How to read and create SG.dat file
Moderator: Moderators
There is already much information in the forum. Please have a search - try 'shapefile' or 'shapes'.
It's fairly easy to understand. Shapes are made from Patterns. A shape can only contain use one pattern but can apply to more than one attribute with different phase offsets - for example Sine pattern applied to Pan + Tilt with offset = Circle.
Patterns range from -128 to + 127 in hex (negative represented by ff prefix). If amplitude (size) is at maximum the specified attribute(s) value will be adjusted by this amount.
It's fairly easy to understand. Shapes are made from Patterns. A shape can only contain use one pattern but can apply to more than one attribute with different phase offsets - for example Sine pattern applied to Pan + Tilt with offset = Circle.
Patterns range from -128 to + 127 in hex (negative represented by ff prefix). If amplitude (size) is at maximum the specified attribute(s) value will be adjusted by this amount.
Thank you Nic.. I tried and found so many post. But frankly speaking I didn get anything.. Can you please explain me with following pattern and follwing shape
PATTERN "SAW"
ff80 ff90 ffa0 ffb0 ffc0 ffd0 ffe0 fff0
0 10 20 30 40 50 60 70
7f 70 60 50 40 30 20 10
0 fff0 ffe0 ffd0 ffc0 ffb0 ffa0 ff90
PEND
SHAPE "Circle 1" "SIN"
5 75 7 0 0 1 0 0
6 75 7 0 0 1 90 0
SEND
PATTERN "SAW"
ff80 ff90 ffa0 ffb0 ffc0 ffd0 ffe0 fff0
0 10 20 30 40 50 60 70
7f 70 60 50 40 30 20 10
0 fff0 ffe0 ffd0 ffc0 ffb0 ffa0 ff90
PEND
SHAPE "Circle 1" "SIN"
5 75 7 0 0 1 0 0
6 75 7 0 0 1 90 0
SEND
It's difficult to explain much better than I did in the previous post. But I'll try...
In the SAW pattern you see values that begin at -128, increase linearly through up to 127 and then back down again. If you plotted these values on a graph you would see a triangle (SAW is incorrect description IMO, but hey!)
Further, these values should be considered as a cycle starting at zero degrees phase and ending at 360. At any given point in the cycle the attribute(s) (defined in SHAPE) will be offset by the associated value (scaled by size).
The shape 'circle 1' uses SIN (sine wave) pattern and applies to attributes 5 & 6 (Pan and Tilt) with default size 75, speed 7. Crucially Pan starts 0 degrees into the cycle but Tilt starts at 90 degrees.
In the SAW pattern you see values that begin at -128, increase linearly through up to 127 and then back down again. If you plotted these values on a graph you would see a triangle (SAW is incorrect description IMO, but hey!)
Further, these values should be considered as a cycle starting at zero degrees phase and ending at 360. At any given point in the cycle the attribute(s) (defined in SHAPE) will be offset by the associated value (scaled by size).
The shape 'circle 1' uses SIN (sine wave) pattern and applies to attributes 5 & 6 (Pan and Tilt) with default size 75, speed 7. Crucially Pan starts 0 degrees into the cycle but Tilt starts at 90 degrees.
Thak you Nic
Thank yo nic can you please clarify following term for me.
<rate, 512/(rate*16)=seconds>
;<ramp 0=Off 1=ON>
;<repeat-repeats pattern after repeat number of fixtures>
;<spread-how the instruments are spread across the pattern, 0=even spread>
;<offset-base position for the channel 0..255)>
<rate, 512/(rate*16)=seconds>
;<ramp 0=Off 1=ON>
;<repeat-repeats pattern after repeat number of fixtures>
;<spread-how the instruments are spread across the pattern, 0=even spread>
;<offset-base position for the channel 0..255)>
Rate is just the default speed and Spread is the default 'coarse' value. As far as I can see there is no particular need for shapes defined as 'even' or 'odd/even' etc. other than to make it slightly quicker to access.
Offset base position determines whether a shape is relative or absolute. At zero the pattern offsets are relative to the original attribute value. This is normally what you would want for the majority of shapes.
If the value is above zero then this value becomes the 'base' value for the pattern instead. This is useful for intensity & colour mixing shapes where the origin should be 50% to work properly and it is inconvenient to manually set this. It also ensures these values are only temporary to running the shape, restoring the original values when the shape is killed.
The shapes named with the suffix 'user' or 'usr' are simply relative versions.
I've never found a purpose for ramp or repeat. They're either legacy functions or I've missed something.
Offset base position determines whether a shape is relative or absolute. At zero the pattern offsets are relative to the original attribute value. This is normally what you would want for the majority of shapes.
If the value is above zero then this value becomes the 'base' value for the pattern instead. This is useful for intensity & colour mixing shapes where the origin should be 50% to work properly and it is inconvenient to manually set this. It also ensures these values are only temporary to running the shape, restoring the original values when the shape is killed.
The shapes named with the suffix 'user' or 'usr' are simply relative versions.
I've never found a purpose for ramp or repeat. They're either legacy functions or I've missed something.
Thanx Nic now I am ablle to create and read the shape.. ow can u help me to read out pattern.
for example these two shapes
;PATTERN "SIN"
; 0 c7f 18df 2502 30ca 3c1a 46d5 50e2
;5a27 628f 6a03 7071 75cb 7a02 7d0c 7ee2
;7fff 7ee2 7d0c 7a02 75cb 7071 6a03 628f
;5a27 50e2 46d5 3c1a 30ca 2502 18df c7f
; 0 f381 e721 dafe cf36 c3e6 b92b af1e
;a5d9 9d71 95fd 8f8f 8a35 85fe 82f4 811e
;8000 811e 82f4 85fe 8a35 8f8f 95fd 9d71
;a5d9 af1e b92b c3e6 cf36 dafe e721 f381
;PEND16
PATTERN "SIN"
0 18 30 47 5a 6a 76 7d
7f 7d 76 6a 5a 47 30 18
0 ffe8 ffd0 ffb9 ffa6 ff96 ff8a ff83
ff80 ff83 ff8a ff96 ffa6 ffb9 ffd0 ffe8
PEND
for example these two shapes
;PATTERN "SIN"
; 0 c7f 18df 2502 30ca 3c1a 46d5 50e2
;5a27 628f 6a03 7071 75cb 7a02 7d0c 7ee2
;7fff 7ee2 7d0c 7a02 75cb 7071 6a03 628f
;5a27 50e2 46d5 3c1a 30ca 2502 18df c7f
; 0 f381 e721 dafe cf36 c3e6 b92b af1e
;a5d9 9d71 95fd 8f8f 8a35 85fe 82f4 811e
;8000 811e 82f4 85fe 8a35 8f8f 95fd 9d71
;a5d9 af1e b92b c3e6 cf36 dafe e721 f381
;PEND16
PATTERN "SIN"
0 18 30 47 5a 6a 76 7d
7f 7d 76 6a 5a 47 30 18
0 ffe8 ffd0 ffb9 ffa6 ff96 ff8a ff83
ff80 ff83 ff8a ff96 ffa6 ffb9 ffd0 ffe8
PEND
Who is online
Users browsing this forum: Google [Bot] and 24 guests