Creating a Preview: Difference between revisions

From doityourselfchristmas.com
Jump to navigation Jump to search
No edit summary
(Adding additional subsections, down to beginning the preview window.)
Line 3: Line 3:
''This tutorial is based on version 11V.''
''This tutorial is based on version 11V.''


  This page is under significant revision. Many spots are "placeholders" until information can be generated.  Skip to the "Original Preview" section for the information on using the older preview in HLS.
  This page is under significant revision.
Many spots are "placeholders" until information can be generated.
  Skip to the "Original Preview" section for the information on using the older preview in HLS.


====Preparing Channels for Preview====
====Preparing Channels for Preview====
Line 36: Line 38:
[[File:Assign-Channels-to-Display-Group.png]]<br /><br />
[[File:Assign-Channels-to-Display-Group.png]]<br /><br />
*Left-click into the ''Work'' column and select the first channel to be added to a Display Group.  Then, Click and drag, highlighting all cells to be part of the Display Group.
*Left-click into the ''Work'' column and select the first channel to be added to a Display Group.  Then, Click and drag, highlighting all cells to be part of the Display Group.
*Check the cells selected by clicking ''Check''.
*Add a Name for the Display Group, then press Save Changes.  
*Add a Name for the Display Group, then press Save Changes.  
*In the picture example, a Display Group named "Window" is being created for the four highlighted elements that outline a window.<br /><br />
*In the picture example, a Display Group named "Window" is being created for the four highlighted elements that outline a window.<br /><br />
Line 42: Line 45:
[[File:Display-Group-Creation2.png|Prompt to add a new group]]<br /><br />
[[File:Display-Group-Creation2.png|Prompt to add a new group]]<br /><br />


====Creating the Preview Window====
*'''Warnings and Limitations:'''
**All images in the Preview must be in bitmap format (extension of .bmp). Windows paint will allow conversion of files into this format.
**Image resolution '''cannot''' be larger than your screen. Doing so could lead to you not being able to access the commands as the image would cover your entire screen. 
**When editing a new preview, immediately move the ''Edit Preview Toolbar'' to a bottom corner of your screen. This will help prevent the preview window from covering the toolbar once it has been re-sized.
*'''Preparing a Background Image:'''
**Open your house image in an image editing program (MS Paint will be sufficient. Gimp[http://www.gimp.org] is another choice).
**In MSPaint, you can click Properties to determine the size of your image. You can use "resize" to change the size.
**Once the image has been resized, save it as a bmp file in HLS/Backgrounds.
**Tip: If you save the image as filenameWWWxHHH.bmp, where WWW is the width in pixels and HHH is the height in pixels, it will make it easier to remember the aspect when importing into HLS.<br /><br />
*'''Editing a new Preview:'''
**Select ''Preview'' on the menu bar, then select ''Edit New Preview''.
**Move the ''Edit Preview Toolbar'' to the bottom corner of your screen.


====Creating the Preview Window====
 
#Creating a new preview window
#Inserting Image
#Setting background image and bmp conversion
#Resolution size
#Warnings on resolution size and limitations
#Managing Multiple previews


====Placing channels onto the Preview window====
====Placing channels onto the Preview window====

Revision as of 01:22, 23 January 2013

Back to: HLS Getting Started Manual

This tutorial is based on version 11V.

This page is under significant revision.
Many spots are "placeholders" until information can be generated.
Skip to the "Original Preview" section for the information on using the older preview in HLS.

Preparing Channels for Preview

  • Ensure that channels are properly added to the sequence, rgb channels are identified, and colors are setup in the Channel Manager.
  • Assigning Channels to Preview Groups and Preview Numbers:

    • Open the Channel Manager. The last two columns in the channel listing are Preview Group and Preview Number. These two numbers allow you to form multiple Preview Objects, such as MegaTree, RoofLine, Window, Arch, etc. and assign a pair of numbers (Group and Number) to them. They can range from 1-1000. Anything set as 0 will not be displayed.
      • Preview Group: This number groups channels together into one Preview Object. For example, an arch can have 8 segments with each segment assigned to Preview Group 3.
      • Preview Number: This corresponds to each channel in a Preview Group.

    • Assign Preview Groups and Preview Numbers for each of your channels. (This can be done manually by left-clicking into the fields and entering numbers, but there are ways to do it quicker.)
      • Using the left mouse button, click in the first item of a Preview Object and select down the channel cells until reaching the last channel of the object.
      • In the Set PreviewGroup field, enter the Preview Group value and click Preview Group button. This will set that value for all items in the Preview Object.
      • To set the PreviewNumber values from 1 to the highest selected cell, make sure Set PreviewNumber is set to one, then click the Preview Number button.
      • To set Preview Groups and Preview Numbers for large sets of channels that contain the same number of components (for example, pixels):
        • Determine the number of components in the set of channels (for example, 42 pixels in a string, a total of 16 strings).
        • Select all channels to be grouped.
        • In the Start Group G cycle field, enter: 1,42. This would start with group 1, and number 42 components. Then, would move to group 2, etc, all the way to group 16, preview-number 42.

  • The image shows an example of an arch with 8 segments that has been selected and then assigned a Preview Group and Preview Numbers. It is assigned Preview Group 4 since the previous display element (a mini tree) was assigned group 3. Groups do not have to be in sequential order.



  • Setting up "mega-strings" as a single display item:
    • Mega-strings are up to four strands of single-color lights that operate as one, such as a window outlined in R,G,B,W).
    • Assign colors as normal. Place all colors into the same Preview Group and assign Preview Numbers.
    • TODO: Link to later section on how to draw those as one in the preview window.
    • Joe's video on mega-strings: [1]

Assign Channels to a Display Group

  • To be able to display, draw, and preview channels, they must be assigned to a display group.
  • Click Manage Channels, then select Select Channels and Assign to Display Group.



  • Left-click into the Work column and select the first channel to be added to a Display Group. Then, Click and drag, highlighting all cells to be part of the Display Group.
  • Check the cells selected by clicking Check.
  • Add a Name for the Display Group, then press Save Changes.
  • In the picture example, a Display Group named "Window" is being created for the four highlighted elements that outline a window.

Creating a Display Group

  • Continue creating Display Groups for all elements. When adding additional Display Groups, a window will prompt to either edit or create a new Group. Click "New" to continue creating groups.

Prompt to add a new group

Creating the Preview Window

  • Warnings and Limitations:
    • All images in the Preview must be in bitmap format (extension of .bmp). Windows paint will allow conversion of files into this format.
    • Image resolution cannot be larger than your screen. Doing so could lead to you not being able to access the commands as the image would cover your entire screen.
    • When editing a new preview, immediately move the Edit Preview Toolbar to a bottom corner of your screen. This will help prevent the preview window from covering the toolbar once it has been re-sized.
  • Preparing a Background Image:
    • Open your house image in an image editing program (MS Paint will be sufficient. Gimp[2] is another choice).
    • In MSPaint, you can click Properties to determine the size of your image. You can use "resize" to change the size.
    • Once the image has been resized, save it as a bmp file in HLS/Backgrounds.
    • Tip: If you save the image as filenameWWWxHHH.bmp, where WWW is the width in pixels and HHH is the height in pixels, it will make it easier to remember the aspect when importing into HLS.

  • Editing a new Preview:
    • Select Preview on the menu bar, then select Edit New Preview.
    • Move the Edit Preview Toolbar to the bottom corner of your screen.


  1. Inserting Image
  2. Resolution size
  3. Managing Multiple previews

Placing channels onto the Preview window

  1. Overview of draw first-identify later
  2. Any global shortcuts to naming/identifying
  3. General keyboard shortcuts/presses used during drawing
  4. Handling superstrings

Drawing Line Elements

  1. Elements consisting of lines
  2. Rooflines, RGB details
  3. Keyboard and mouse commands

Drawing Triangle Elements

  1. Elements consisting of triangles

Drawing Arch Elements

  1. Drawing arches with the Arch element
  2. Drawing rgb arches


Drawing Tree Elements

  1. Specifics with pixel trees
  2. General display/physical string arrangement details: Start 9 o'clock position and work CCW.
  3. How to handle trees that are 180, 270, etc.
  4. Link to excellent video tutorial

Drawing Custom Elements

?

How to "Draw Once, Use Everywhere"

  1. Keeping the display preview for many sequences

Original Preview

Next we will create a sequence preview (simulator). Select the Manage Channels tab at the top and then the Edit Sequence Paint selection. The screen should then look like the one in Figure 1-29. Note the channels (outputs) are shown on the left in their configured color. Also note the asterisks to the left of the first channel. The asterisks show that channel 1 is the active channel for drawing now. The arrow up and arrow down keys on the keyboard can be used to switch channels for drawing. If the up or down arrow key does not seem to switch channels for drawing hit the ESC key. Figure 1-29.


You can draw the lighting elements on the screen at this point. Lines or points can be drawn. A triangle to represent output channel 1 was drawn to represent a tree (see Figure 1-30). This would be drawn as three lines. To draw a line, depress the left mouse button, keep at depressed and move the mouse until you are at the endpoint, then release the left button

Figure 1-30.


If you make a mistake and want to erase the work you have done on the tool, hit the delete button on the keyboard. You will be prompted as to whether you want to delete this preview channel (see Figure 1-31). Note that it will only delete the graphics for the current tool.

Figure 1-31.

Figure 1-32 shows the completed sequence simulator. In the left tree each channel was drawn as a triangle. In the right tree Channel 4 was drawn as a triangle and 5 and 6 were drawn as dots. Note that line width and dot size can be changed (before they are drawn) under the preview tab on the top right.

Figure 1-32.


Figure 1-33 shows what the simulator would look like if all channels were on.

Figure 1-33.

To run the simulation, the preview (simulation) screen must be showing. Next you must put a checkmark in the Preview Sequence check box on the upper right of the screen. Then choose the play button on the upper left of HLS and your sequence should run and the simulator should show your outputs working. Remember that we did not program many effects in this example yet.


Note: you may change the speed at which the WAV file is played under the WAV file tab at the top of HLS. You may choose ¼, ½, ¾ or full speed.

Adding a BMP to the Preview

It might be helpful to add a bitmap image (bmp) of your house and yard to your preview (simulator). To do this, choose the Manage Channels tab and then select Manage Bitmap of Preview. The screen shown in Figure 1-34 will appear.

Figure 1-34.

Figure 1-35.

Figure 1-36.


The Bitmap will be scaled to fit the HLS pane and will be converted to Black & White. You should make your Bitmap as dark as possible since the preview vectors are drawn in White.


Next: Adding a Beat Track