Author Topic: Nutcracker: Enhancement, autoscale pictures  (Read 757 times)

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Nutcracker: Enhancement, autoscale pictures
« on: August 22, 2012, »
i have released a new pictures class that resizes horizontally correctly if you have a half megatree.


Quote from: kychristmas;219544
Eventhough I mentioned in my PM, I figured I would add this here so I can see if others are having the problems...

1. Selecting 180 deg actually seems to slice the image in half and then rotages that around the image.  (Haven't tried 180 deg with a top or bottom direction)
2. Directions seems to be reversed.  I choose Left and it goes right and vice-vera.

Again, excellent effect and tools.  I'm real excited about learning how to tweak it.  Please don't take my questions or comments as criticism.  You have done an amazing job with your tool.

Kelly

Np, bring on all comments it only makes the effect better.

left and right do seem backward.

I have just released a new Pictures class.
1) Now i resize your images in both x and y directions
2) I doubled the size of file you can upload , was 512K, now 1024Kb
3) If you have 180 degree window, i auto scale to $maxStrands * (window_size/360).
This means if you have 32 strands and 360 degrees, i autosize to 32 pixels wide. If you use the exact saqme target but have 180 degrees, i assume re-size image 16 pixels wide.

Here is image i started with
Penguins.jpg 1024x768 image size


First i use a 16x100 matrix where wach string is folded into two strands. This means this matrix will be 32x50. On matrix i will be using window_degrees = 360
Effect Settings
username   f
user_target   AA_MATRIX
effect_class   pictures
effect_name   PENGUIN_MATRIX_360
window_degrees   360
frame_delay   100
file1   Penguins.jpg
direction   left
speed   .5
seq_duration   5
fade_in   0
fade_out   0
submit   Submit Form to create your effect
OBJECT_NAME   picture



Next i will switch target to 16x100 mega tree. Remember, my effects are target agnostic so i will just resubmit the same effect

Effect Settings
username   f
user_target   A
effect_class   pictures
effect_name   PENGUIN_MTREE_360
window_degrees   360
frame_delay   100
file1   Penguins.jpg
direction   left
speed   .5
seq_duration   5
fade_in   0
fade_out   0
submit   Submit Form to create your effect
OBJECT_NAME   picture


This next is 180 degree window. This is NOT what i would expect it to do. only front half of the tree should show, and it should slide across front half.


Finally, a 180 degree view on a matrix. Again, it should slide through half of the strands. It did resize image to half the strands (good), it just is sliding through whole width in the animated gif.
Effect Settings
username   f
user_target   AA_MATRIX
effect_class   pictures
effect_name   PENGUIN_MATRIX_180
window_degrees   180
frame_delay   100
file1   Penguins.jpg
direction   left
speed   .5
seq_duration   5
fade_in   0
fade_out   0
submit   Submit Form to create your effect
OBJECT_NAME   picture


Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login