<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

    <title type="text">Cineversity Wiki</title>
    <subtitle type="text">Cineversity Wiki</subtitle>
    <link rel="alternate" type="text/html" href="http://www.cineversity.com/wiki/" />
    <link rel="self" type="application/atom+xml" href="http://www.cineversity.com/wiki/Special:Recentchanges_Atom" />
    <updated>2013-02-15T22:38:37Z</updated>
    <rights>Copyright (c) 2008, info@cineversity.com</rights>
    <generator uri="http://expressionengine.com/" version="1.6.9">ExpressionEngine</generator>
    <id>tag:cineversity.com,2013:02:15:wiki</id>


    <entry>
      <title>Production Guidelines</title>
      <link rel="alternate" type="text/html" href="http://www.cineversity.com/wiki/Production_Guidelines/" />
      <id>tag:cineversity.com,2013:wiki:Production Guidelines/211.453</id>
      <published>2013-02-15T22:38:37Z</published>
      <updated>2013-02-15T22:38:37Z</updated>
      <author>
            <name>Dr. Sassi</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        <p><strong id="internal-source-marker_0.71727359527722" style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal;"><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">STYLE GUIDE</span></strong><strong id="internal-source-marker_0.71727359527722" style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal;"><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">The style guide contains information regarding how to format the tutorial descriptions, this includes title formatting, information regarding proper use of product names, &nbsp;etc.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">If you have any questions please pgoski@maxon.net.</span><br /><br /><a href="http://www.cineversity.com/wiki/Tutorial_Style_Guide/"  title="Tutorial_Style_Guide">Tutorial Style Guide</a><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">RECORDING VIDEOS</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">When recording videos be sure to capture at 1080p (720p minimum)</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Generally, capture should be done at 15 fps. In some cases (High motion situations, showing a final animation, etc) capture can be done at a higher frame rate.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">If you record at a higher frame rate be sure to adjust your export settings to match, otherwise you negate the effects of the higher capture rate.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">The final output will be at 720p, so it is encouraged to add in Pan / Zoom effects to help focus viewer attention on what is being covered.</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">EDITING VIDEOS</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Try to cut out umms, ahhh, and dead air - if you are not to sure what to say for a certain section just talk through what you are doing.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Add the title card to the beginning of each part of the tutorial. It should be visible for 5 seconds.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Utilize zoom / pan effects to help direct the viewers attention.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Try to keep the length of each part to around 10 minutes. Longer is fine but becomes harder for users to get to the info they need faster. So the preference is 10 min and under.</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">EXPORTING VIDEOS</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Export to H.264</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">FPS can be set to 15 fps. If there is a lot of faster motion you will need to use higher values (Do not go higher than 30FPS)</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Set a keyframe every 3 seconds (15 fps = keyframe every 45 frames)</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Best quality encoding</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Quality should be between 85 - 95% (review output to watch for compression errors)</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Ideally files should not be over 200mb</span><br /></strong></p>
<p>&nbsp;</p>
<h1><strong style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal;"><span style="font-family: Arial;"><span style="font-size: 15px; white-space: pre-wrap;">AUDIO SETTINGS</span></span></strong></h1>
<h1><strong style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal;"><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">When setting the audio try to match these settings as close as possible, as incorrect settings will cause the uploads to fail.</span></strong></h1>
<h1><strong style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal;"><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">MPEG 4 Low complexity ACC</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">rate &nbsp;44.100kHZ</span></strong></h1>
<p><strong id="internal-source-marker_0.71727359527722" style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal;"><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Camtasia will automaticall set the Bit Rate for you, but in some instances you will need to set this manually. </span></strong></p>
<p><strong id="internal-source-marker_0.71727359527722" style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal;"><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">In those cases use:</span><br /></strong><strong id="internal-source-marker_0.71727359527722" style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal;"><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">96</span></strong><span style="font-family: Arial; font-size: 15px; white-space: pre-wrap;">kbits/s</span></p>
<p><strong id="internal-source-marker_0.71727359527722" style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal;"><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Make sure that Fast start is enabled</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">If exporting from Camtasia, you will want to load cv_Emboss.png as the image to use for the emboss.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">If exporting from After Effects, Premiere, or similar, then make sure to apply cv_Emboss.png as a layer on top of your project.</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Once you have created the .mov duplicate it and change the extension of the duplicate to .mp4 (If you skip this step to files will not populate to to the streaming network)</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">UPLOADING VIDEOS</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">To access the Cineversity backend go to: contact pgoski@maxon.net</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Along the top bar there will be a menu called &#8220;Publish&#8221;</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Choose the &#8220;tutorials&#8221; from this menu.</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Start by filling out the Title.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">The URL will be generated automatically based on the title, double check that the URL has populated correctly, remove unwanted underscores and dashes, etc.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">The URL should be clean and readable.</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">For the long description try to be as descriptive as possible on what is covered in the tutorial.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">The search system on CV uses the title/short/long when it is finding videos, so the goal is to make the descriptions search friendly without just being a huge collection of keywords</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Toward the bottom you will find a field called &#8220;upload video files&#8221;</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Click the little picture icon, this will open the upload dialog.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Click on the &#8220;Upload&#8221; tab in the dialog, this will allow you to upload multiple files.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Click on browse to locate the files and then upload to add them to our server. (make sure that you have changed the extension from .mov to .mp4)</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Once the upload has completed you can select the file you wish to link to the tutorial.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">When you have linked the video you can click the submit button to save the changes to the tutorial.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">After you have linked the file go to the row of tabs along the top, don&#8217;t worry about the date, we will change that.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Categories should be selected, refer to the style guide for additional information on that - If you have questions please ask.</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">To create the other tutorials go to the &#8220;edit&#8221; menu at the top and choose &#8220;tutorials&#8221;</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">this will display a list of tutorials on CV, you can use the filters to find the one you just created.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">If you take a look on the right hand side you will see a button called &#8220;clone&#8221; clicking this will create a duplicate of the tutorial.</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">clicking the tutorial name will let you edit the cloned tutorial.</span><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Update the relevant areas, title, URL, Short / long description, and categories.</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">To link a video click on the picture icon again to bring up the dialog, if you go to the browse tab you should see the video files you previously uploaded.</span><br /><br /><span style="font-size: 15px; font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">Again, if you have any questions please contact pgoski@maxon.net.</span><br /><br /></strong></p>
      ]]></content>
    </entry>

    <entry>
      <title>Tutorial Style Guide</title>
      <link rel="alternate" type="text/html" href="http://www.cineversity.com/wiki/Tutorial_Style_Guide/" />
      <id>tag:cineversity.com,2013:wiki:Tutorial Style Guide/28.451</id>
      <published>2013-01-31T21:15:46Z</published>
      <updated>2013-01-31T21:15:46Z</updated>
      <author>
            <name>Rick Barrett</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        <h1>General:</h1>
<h2><span class="command">Production guidelines can be found at:<a href="http://www.cineversity.com/wiki/Production_Guidelines/"  title="Production_Guidelines">Production Guidelines</a></span></h2>
<p>Please use &#8220;CINEMA 4D&#8221; (all caps) or &#8220;BodyPaint 3D&#8221; (mixed case) the first time you reference the application in the Long Description. It&#8217;s okay to use &#8220;C4D&#8221; or &#8220;BP&#8221; in the Title, Short Description and subsequent references in the Long Description. Do not use any other abbreviations for CINEMA 4D or BodyPaint 3D. Similarly, any third-party applications should be referred to by their proper, trademarked name the first time you reference them in the Long Description (&#8220;Adobe After Effects&#8221;). The Title, Short Description and subsequent uses in the Long Description can use generally accepted abbreviations (&#8220;AE&#8221;).&nbsp;</p>
<p>In general, specific CINEMA 4D editions (Prime, Broadcast, Visualize, Studio) need not be mentioned unless the tutorial pertains specifically to that edition. Individual features can and should be mentioned, as well as &#8220;feature sets&#8221;. Please remember that CINEMA 4D no longer includes modules, so titles of new tutorials should refer to the &#8220;MoGraph feature set&#8221; or just &#8220;MoGraph&#8221;, not the &#8220;MoGraph module&#8221;. Please refer to the application for the proper spelling and capitalization of individual features.</p>
<h1>Title:</h1>
<p>This should be a descriptive title that uniquely describes the tutorial, and should match the title card of the tutorial (though for existing tutorials it&#8217;s ok if it doesn&#8217;t match as long as the CP title is more descriptive than the title card). Note that in Cineversity 2.0 tutorials are not as clearly linked in a linear or project fashion, so rather than using a title like &#8220;Installing the Plugins&#8221; that infers the user knows about the series it&#8217;s better to call the tutorial &#8220;C4D ZBrush Pipeline, Part 01: Installing the Plugins&#8221;. Similarly &#8220;Quicktime Preview&#8221; is not a good title - &#8220;Intro CINEMA 4D R10 Tutorials, Part 03: Quicktime Preview&#8221; would be preferred. Titles can be up to 100 characters - use them.</p>
<p>Standard title capitalization should apply.</p>
<p>So the title card would read:</p>
<blockquote>
<p>This is a Title, Part 1:</p>
<p>This is the subtitle</p>
</blockquote>
<p>and the title would read:</p>
<blockquote>
<p>This is a Title, Part 1: This is a subtitle</p>
<p>&nbsp;</p>
</blockquote>
<p>In practice the title card placed at the front of a video should look something like this:</p>
<p>Image:TitleScreenCV2_2012.jpg</p>
<p>The title as entered on the tutorial creation page should read:</p>
<blockquote>
<p>This is a Long Title, Part 01: This is a subtitle offering more information.</p>
</blockquote>
<h1>Short Description:</h1>
<p>This should include some supporting information about the tutorial.</p>
<p>The Short Description appears only in the bubble popup that appears when the mouse is over the tutorial title in the tutorial search results. Its content is searched, along with the Title and Long Description when using the search box on the main Cineversity site.</p>
<p>The short description could be as simple as copying the subtitle, but do feel free to use alternative text to increase searchability.</p>
<h1>Long Description:</h1>
<p>The Long Description should clearly describe what the user will learn watching this tutorial. For tutorial series, the first paragraph can recap the overall goal of the series, while the remaining paragraphs should describe the goals of the individual tutorial. Please write complete sentences.</p>
<p>It&#8217;s okay to include links to other Cineversity tutorials or external sites within the long description using standard HTML syntax. Links to external sites should include target=&#8220;_new&#8221; to insure they open in a new tab/window.</p>
<p>The Long Description appears in the bubble popup that appears when the mouse is over the tutorial title in the tutorial search results, and to the left of the tutorial video. Its content is searched, along with the Title and Short Description when using the search box on the main Cineversity site.</p>
<p>Make sure any applicable tools or features are mentioned in the Long Description. For instance &#8220;This tutorial shows two methods for painting with displacement maps&#8221; is not a good description. The two specific methods &#8220;Raybrush&#8221; and &#8220;Displacer&#8221; should be specifically mentioned. Otherwise, users searching for those terms would not find the tutrorial.</p>
<p>So better description should read:</p>
<p>&#8220;This tutorial shows how to interactively create displacement maps in BodyPaint 3D using BP&#8217;s Raybrush feature or the Displacer&#8221;</p>
<h1>Made With:</h1>
<p>Should list the major-release version used to create the tutorial</p>
<h1>Works With:</h1>
<p>The earliest version should be set to the earliest application version which contains the features necessary to complete the tutorial (for BP, use the related C4D version by adding 7 to the version number).</p>
<p>The latest version should typically be set to the most recent version in the list. This will be changed by the admin as necessary to denote tutorials that can no longer be completed due to drastic changes in interface or removal of specific features or preferences.&nbsp;</p>
<p>&#8220;Always Works with Latest Version?&#8221; should typically remain set to Yes. Again, the admin will switch this to &#8220;No&#8221; as necessary to denote tutorials that can no longer be completed due to drastic changes in interface or removal of specific features or preferences. If the layout or menu structure has changed, but the overall method and technique is still intact, we continue to classify the tutorial as working.</p>
<p>For the purposes of Works With, we assume that users have upgraded to the latest available free update in a release cycle. So a tutorial that works with 12.021 and not 12.016 would still simply say &#8220;Works With R12 and greater&#8221;. A note can be added either in the Long Description or Comments/Notes field explaining that the update is necessary. If for example a tutorials works in R11 and R12, but does not work in the latest R11.5 update due to a bug, it should still indicate that it Works With R11 and greater, with a similar note in the Notes/Comments field explaining the issue.</p>
<h1>Comments:</h1>
<p>These appear in the Notes section to the left of the tutorial video, and should only be used to clarify the tutorial in response to viewer feedback or interface changes.</p>
<p>Comments are not searched.</p>
<h1>Utilizes / Feature Set:</h1>
<p>Any feature sets, plugins or external applications that are required or prominently featured in a tutorial should be checked. You can be somewhat generic with features, especially since this list would be ridiculous if it listed every feature. If a tutorial describes a technique both with and without an external application, the external application should still be noted here (it&#8217;s not a list of requirements - it&#8217;s more like &#8220;if you&#8217;re interested in x application, here&#8217;s a tutorial that shows it&#8221;).&nbsp;</p>
<p>Also consider the way an application or feature is used, a tutorial that merely shows an image in Photoshop would not necessarily indicate that it utilizes Photoshop, but if a technique or process is shown in Photoshop it would. A tutorial that shows extracting a plugin does not need to list WinRAR, WinZip, 7-Zip or any other extraction app as it&#8217;s a general process that can be accomplished without that specific app (in fact it can be done completely in the OS). WinRAR would only be mentioned if a special feature of WinRAR is intrinsically used for the tutorial.</p>
<p>Note that if a single tutorial within a project series uses Photoshop, only that tutorial should be marked as using Photoshop, not the entire series.</p>
<p>When adding new feature sets, plugins or external applications to this list, please always use the full proper name of the feature or application (ReelSmart Motion Blur NOT RSMB). There&#8217;s no need to distinguish between free or commercial versions of plugins or applications (ie Riptide). Plugins for third-party applications should not be specified here. Simply indicate that the tutorial utilizes the main third-party application. List any necessary plugins in the Long Description or Comments / Notes.</p>
<p>Note:</p>
<p>If there is not an applicable option for Utilizes/Feature set be sure to check &#8220;None&#8221;</p>
<h1>Discipline:</h1>
<p>Check any disciplines or industries for which this tutorial might apply.The Character discipline includes both Character Modeling and Texturing. Technical Director discipline would include rigging, scripting and xpresso tutorials. The texture painting discipline primarily pertains to BodyPaint 3D. In general, tutorials that are referenced-based may not have any discipline because the feature applies to a wide variety of disciplines. In this case, be sure to check &#8220;None&#8221;</p>
<h1>Process:</h1>
<p>Check any of the processes that apply to this tutorial. The &#8220;Support&#8221; process only applies to things like installation and configuration, not anything you might have gotten a support question for.</p>
<p>If a process doesn&#8217;t apply to the specific tutorial be sure to check &#8220;None&#8221;</p>
<h1>Type:</h1>
<h2>Project-Based:</h2>
<p>A project-based tutorial is primarily focused on accomplishing a task. It will commonly be part of a larger series, but could be an individual tutorial that covers a project. For example, the Comedy Channel Promo and Power Integration Tour tutorials would all be project-based.</p>
<h2>Reference-Based:</h2>
<p>A reference-based tutorial is primarily focused on describing a feature, technique or concept. Most of Dr. Sassi&#8217;s Daily Tooltime tutorials are reference-based. The MoSpline Turtle Basics tutorials would be reference-based, while the Tournament Bracket tutorials which describe advanced MoSpline concepts in the context of creating a tournament bracket would be both reference and project based.</p>
<h2>Resource:</h2>
<p>A resource tutorial describes or includes a plugin, script, preset, layout, scheme, etc. Basically a resource tutorial is about something that you download and install to extend C4D. Typically a resource tutorial will not also be project or reference-based, although for instance a tutorial about how to write a Python script to generate Xpresso tags that also includes the final script would be a reference-based and resource tutorial.</p>
<h2>Presentation:</h2>
<p>Tutorials of this type include marketing-oriented videos for each new release, trade show presentations, and archives of Cineversity live shows. Most presentation tutorials will also either be reference or project based.</p>
<p>Be sure to note that&nbsp;Resource-type Premium tutorials are NOT accessible to Trial users.</p>
      ]]></content>
    </entry>

    <entry>
      <title>Python: DescIDs and Animation</title>
      <link rel="alternate" type="text/html" href="http://www.cineversity.com/wiki/Python%3A_DescIDs_and_Animation/" />
      <id>tag:cineversity.com,2012:wiki:Python: DescIDs and Animation/68.442</id>
      <published>2012-05-15T16:18:05Z</published>
      <updated>2012-05-15T16:18:05Z</updated>
      <author>
            <name>Rick Barrett</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        <p>&nbsp;</p>
<div style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; margin: 8px;">
<p>The trickiest part of dealing with animation tracks in Python is the concept of DescIDs.</p>
<p>DescIDs are actually used throughout CINEMA 4D, but they&#8217;re especially important when working with animation tracks. A DescID is a multi-level ID structure for individual description elements. The DescID can define multiple levels of data, like with UserData, where the first element of the DescID is always ID_USERDATA and the second element is the index for each userdata element. The multiple levels of a DescID are also used for subchannels, like the individual vector elements of a Position, Scale, Rotation or Color element.</p>
<p>Each element of a DescID is a DescLevel. The DescLevel also has three elements - in this case, they are the id itself, the data type and the creator.</p>
<p>Let&#8217;s look at some examples:</p>
<h2>Creating tracks for simple description elements</h2>
<p>If a description element doesn&#8217;t have sub-channels, the DescID is simply the ID of the description element.</p>
<pre class="brush: python;toolbar: false;fontsize: 100; first-line: 1; "># Track for Object Enabled Boolean
enabled = c4d.CTrack(op, c4d.DescID(c4d.ID_BASEOBJECT_GENERATOR_FLAG))
op.InsertTrackSorted(enabled)
# Track for Light Brightness Real
track = c4d.CTrack(op,c4d.DescID(c4d.LIGHT_BRIGHTNESS))
op.InsertTrackSorted(track)
</pre>
<h2>Creating Position X, Y, Z tracks</h2>
<p>Note that each vector element has its own track, just like in C4D&#8217;s timeline. The DescID for each contains two levels. Level 1 in each case is the Position track itself, which has a VECTOR type. This is the parent Position element you see in the timeline. Level 2 is the vector element for this specific track, and has a REAL type.</p>
<p>&nbsp;</p>
<pre class="brush: python;toolbar: false;fontsize: 100; first-line: 1; ">trackX = c4d.CTrack(op,
                    c4d.DescID(c4d.DescLevel(c4d.ID_BASEOBJECT_POSITION,c4d.DTYPE_VECTOR,0),
                               c4d.DescLevel(c4d.VECTOR_X,c4d.DTYPE_REAL,0)))
trackY = c4d.CTrack(op,
                    c4d.DescID(c4d.DescLevel(c4d.ID_BASEOBJECT_POSITION,c4d.DTYPE_VECTOR,0),
                               c4d.DescLevel(c4d.VECTOR_Y,c4d.DTYPE_REAL,0)))
trackZ = c4d.CTrack(op,
                    c4d.DescID(c4d.DescLevel(c4d.ID_BASEOBJECT_POSITION,c4d.DTYPE_VECTOR,0),
                               c4d.DescLevel(c4d.VECTOR_Z,c4d.DTYPE_REAL,0)))
op.InsertTrackSorted(trackX)
op.InsertTrackSorted(trackY)
op.InsertTrackSorted(trackZ)
</pre>
<h2>Creating tracks for userdata</h2>
<p>When you create userdata or iterate through the userdata container, the ID you get is the DescID. However, for elements with subchannels like vectors or color, you still have to add individual tracks for each subchannel. This code sample elaborates on DescIDs and DescLevels through some print statements and also contains a custom function that creates the appropriate tracks for certain userdata types. Not all possible types are considered - it&#8217;s just a start.</p>
<p>&nbsp;</p>
<pre class="brush: python;toolbar: false;fontsize: 100; first-line: 1; ">import c4d

def CreateUDTrack(op,id):
    tracks = []
    # element0 is always UD group
    # element1 is the UD itself
    ud = id[1]
    dtype = ud.dtype
    if dtype == c4d.DTYPE_VECTOR or dtype == c4d.DTYPE_COLOR:
        # get datatypes with subchannels and add multiple tracks
        for v in xrange(c4d.VECTOR_X, c4d.VECTOR_Z+1):
            descID = c4d.DescID(id[0],id[1],c4d.DescLevel(v,c4d.DTYPE_REAL))
            tracks.append(c4d.CTrack(op,descID))                                        
    else:
        # just add the single track
        tracks.append(c4d.CTrack(op,id))

    return tracks

def main():
    for id, bc in op.GetUserDataContainer():
        # id is the DescID, bc is the container
        print bc[c4d.DESC_NAME], id
        
        # look at each DescLevel
        # this isn't necessary, just instructive
        for level in xrange(id.GetDepth()):
            print "Level ", level, ": ", \
                  id[level].id, ",", \
                  id[level].dtype, ",", \
                  id[level].creator
                  
        # Create tracks using custom function
        tracks = CreateUDTrack(op,id)
        # Loop through returned tracks and insert
        for track in tracks:
            op.InsertTrackSorted(track)


if __name__=='__main__':
    main()
</pre>
<p>&nbsp;</p>
</div>
<h2 style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; margin: 8px;">Finding a Track</h2>
<p style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; margin: 8px;">In Release 13 and greater, you can use FindCTrack to find an existing animation track for a particular DescID. It&#8217;s a good idea to do this if you&#8217;re not sure if the track exists. Otherwise, C4D will just create additional tracks for the same parameter.</p>
<p style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; margin: 8px;">&nbsp;</p>
<pre class="brush: python;toolbar: false;fontsize: 100; first-line: 1; "># Track for Light Brightness Real
dBrightness = c4d.DescID(c4d.LIGHT_BRIGHTNESS) #assign the DescID to a var for convenience
tBrightness = op.FindCTrack(dBrightness) #find the track
if not tBrightness:                      #if track isn't found, create it
    tBrightness = c4d.CTrack(op,dBrightness)
    op.InsertTrackSorted(tBrightness)</pre>
<p style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; margin: 8px;">&nbsp;</p>
<h2 style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; margin: 8px;">Adding Keys</h2>
<p>Once you have the necessary tracks, adding keys is relatively simple. All the keys are applied to an F-Curve, which is a CCurve object in Python. So first you have to get the CCurve, and then you can use AddKey or InsertKey to add keys to the curve. Note that you can use the CTrack method FillKey to fill a key with the default values for the track, setting the appropriate interpolation. Also, you should use SetValue when setting a float value, and SetGeData when setting any other data type.</p>
<p>&nbsp;</p>
<pre class="brush: python;toolbar: false;fontsize: 100; first-line: 1; ">#Get the curve
curve = track.GetCurve()

#Add keys using AddKey
#Creates the key at the proper time
#Then you modify the key
keyDict = curve.AddKey(c4d.BaseTime(0))
#keyDict is a dict with key=CKey and int=index
myKey = keyDict["key"]
#Use FillKey to fill the key with default values (interpolation)
trk.FillKey(doc,op,myKey)
#Use SetValue or SetGeData to set the key value
myKey.SetValue(curve,1)
#myKey.SetGeData(curve,1)
    
#Add keys using InsertKey
#Define the key first
key = c4d.CKey()
#Use FillKey to fill the key with default values (interpolation)
trk.FillKey(doc,op,key)
key.SetTime(curve,c4d.BaseTime(1))
key.SetValue(curve,.5)
#key.SetGeData(curve,1)
#Then insert it
curve.InsertKey(key)</pre>
<p>&nbsp;</p>
<h2>Setting the Keyframe Selection</h2>
<p>A similar task also involving DescIDs is setting the Keyframe Selection for an Object. You can use this in conjunction with the record button to create tracks, but the direct method specified above is more robust. You might however wish to enable keyframe selection on specific description IDs if you&#8217;re generating a rig or other object in Python which the user will be animating.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre class="brush: python;toolbar: false;fontsize: 100; first-line: 1; "># Put the "Position" desclevel in a variable for convenience
pos = c4d.DescLevel(c4d.ID_BASEOBJECT_REL_POSITION, c4d.DA_VECTOR)
# Set Keyframe selection on each vector X,Y,Z
op.SetKeyframeSelection(c4d.DescID(pos,c4d.DescLevel(c4d.VECTOR_X, c4d.DA_REAL, c4d.DA_VECTOR)), True)
op.SetKeyframeSelection(c4d.DescID(pos,c4d.DescLevel(c4d.VECTOR_Y, c4d.DA_REAL, c4d.DA_VECTOR)), True)
op.SetKeyframeSelection(c4d.DescID(pos,c4d.DescLevel(c4d.VECTOR_Z, c4d.DA_REAL, c4d.DA_VECTOR)), True)
# Update the C4D Interface
c4d.EventAdd()</pre>
<p>&nbsp;</p>
<div style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; margin: 8px;"><p><a href="http://www.cineversity.com/wiki/Category:Scripting/" title="Category:Scripting">Category:Scripting</a>
</p></div>
      ]]></content>
    </entry>

    <entry>
      <title>Axis Orientation</title>
      <link rel="alternate" type="text/html" href="http://www.cineversity.com/wiki/Axis_Orientation/" />
      <id>tag:cineversity.com,2012:wiki:Axis Orientation/210.441</id>
      <published>2012-04-28T20:08:40Z</published>
      <updated>2012-04-28T20:08:40Z</updated>
      <author>
            <name>jayroth</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        <p><strong>Axis Orientation</strong> refers to the direction that an axis of a given object is favoring. As discussed in the topic &#8220;Axis&#8221;, there are several different coordinate spaces that are at play at any given time in a 3D scene or project.&nbsp; Ultimately, they must all play well together, and it helps if you understand what&#8217;s going on.&nbsp; It can be confusing, but just take it in a bit at a time, and soon you will have a good feel for how it all works.</p>
<p>Typically, axis orientation is something to be aware of when you are working with hierarchies of objects, and you want the objects in that tree to work together as a cohesive group.&nbsp; This is especially true when you are building skeletons of joints for character animation.&nbsp; (Note: &#8220;character animation&#8221; can refer to organic creatures as well as mechanical objects that require a skeleton to perform the way you intend, whether or not a similar thing in the real world would have a skeleton.) Joints have a preferred direction, and they point along their Z axis.&nbsp; Should joints get created that do not point along their Z axis, you will need to re-orient them to correct that.&nbsp; In addition, it is possible for joints to point properly along their Z axis, but be misaligned with the other axes, as defined by their parents.&nbsp; For chains of joints to behave properly, <strong><em>all </em></strong>of the joints in the chain need to have the same orientation. In other words, if front is Z, then top is Y, and all of the joints in the joint chain need to honor that axis alignment.</p>
<p>Quite often, you will create scene elements that differ from the world orientation of Y up, Z front.&nbsp; If possible, you will have a much easier and more predictable experience if you orient your objects similarly to the world (unless you have specific reasons not to).</p>
<p>In all, stacking up objects in a hierarchy can really play with your head when it comes to controlling rotation values, due to the complexities of the math involved (see, math is important&#8212;you should have paid more attention in class!).&nbsp; There are many resources online which discuss the topic of rotations and their behavior, but the best discussion comes from Cactus Dan, a favorite among Cinema 4D users.&nbsp; Look up his character tutorials.&nbsp; There&#8217;s real gold there&#8230;</p>
<p>&nbsp;</p>
<p><a href="http://www.cineversity.com/wiki/Category:Glossary/" title="Category:Glossary">Category:Glossary</a></p>
<p><a href="http://www.cineversity.com/wiki/Category:Modeling/" title="Category:Modeling">Category:Modeling</a></p>
<p><a href="http://www.cineversity.com/wiki/Category:Animation/" title="Category:Animation">Category:Animation</a></p>
      ]]></content>
    </entry>

    <entry>
      <title>Axis</title>
      <link rel="alternate" type="text/html" href="http://www.cineversity.com/wiki/Axis/" />
      <id>tag:cineversity.com,2012:wiki:Axis/113.438</id>
      <published>2012-04-27T22:09:53Z</published>
      <updated>2012-04-27T22:09:53Z</updated>
      <author>
            <name>jayroth</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        <p>An <strong>Axis </strong>refers to a direction of travel in world space, or a direction of orientation in rotational space.&nbsp; In order to move along an axis, or a three dimensional direction specified by a three axis combination, coordinates must be provided to enable said motion.</p>
<p>The axis is the representation of the coordinate system in use.&nbsp; When positioning an object, you are typically working in world space, child space, or local space, depending upon the location of the object within a hierarchy.&nbsp; Objects not associated with a hierarchy are said to be in world space.&nbsp; Objects with parents are said to be in child space or local space.&nbsp; This concept is important, as the numerical readouts for each axis will differ, depending upon what they are intended to show.&nbsp; For example, if you have a child of a parent that has not been moved, it will read X:0, Y:0, Z:0 for position.&nbsp; If you choose to move the child, or offset its position, you will then see the relative distance from the parent in the numerical position readout.&nbsp; Now, if you were looking at the same object, located in the same place but <em>not </em>parented, you will see drastically different information for X, Y and Z positions, as you will be seeing the actual world space location information for that object.&nbsp; If all you do is model or make poses, and don&#8217;t animate much, then the impact of the previous will be limited in your case.&nbsp; However, should you choose to animate more than occasionally, it suddenly becomes very important for you to have a good idea as to the previous.&nbsp; This is particularly true if you are writing expressions with Xpresso, using math functions, writing scripts or rigging characters and working with joints.</p>
<p>&nbsp;</p>
<p><a href="http://www.cineversity.com/wiki/Category:Glossary/" title="Category:Glossary">Category:Glossary</a></p>
<p><a href="http://www.cineversity.com/wiki/Category:Animation/" title="Category:Animation">Category:Animation</a></p>
<p><a href="http://www.cineversity.com/wiki/Category:Modeling/" title="Category:Modeling">Category:Modeling</a></p>
      ]]></content>
    </entry>

    <entry>
      <title>Antumbra</title>
      <link rel="alternate" type="text/html" href="http://www.cineversity.com/wiki/Antumbra/" />
      <id>tag:cineversity.com,2012:wiki:Antumbra/209.437</id>
      <published>2012-04-11T06:47:47Z</published>
      <updated>2012-04-11T06:47:47Z</updated>
      <author>
            <name>jayroth</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        <p><strong><span id="Antumbra" class="mw-headline">Antumbra</span></strong></p>
<p>&nbsp;</p>
<p><span class="mw-headline"><a href="http://www.cineversity.com/wiki/Category:Glossary/" title="Category:Glossary">Category:Glossary</a></span></p>
<p><span class="mw-headline"><a href="http://www.cineversity.com/wiki/Category:Lighting/" title="Category:Lighting">Category:Lighting</a></span></p>
<p><span class="mw-headline"><br /></span></p>
      ]]></content>
    </entry>

    <entry>
      <title>Penumbra</title>
      <link rel="alternate" type="text/html" href="http://www.cineversity.com/wiki/Penumbra/" />
      <id>tag:cineversity.com,2012:wiki:Penumbra/208.436</id>
      <published>2012-04-11T06:46:29Z</published>
      <updated>2012-04-11T06:46:29Z</updated>
      <author>
            <name>jayroth</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        <p><strong>Penumbra</strong></p>
<p>&nbsp;</p>
<p><a href="http://www.cineversity.com/wiki/Category:Glossary/" title="Category:Glossary">Category:Glossary</a></p>
<p><a href="http://www.cineversity.com/wiki/Category:Lighting/" title="Category:Lighting">Category:Lighting</a></p>
      ]]></content>
    </entry>

    <entry>
      <title>Umbra</title>
      <link rel="alternate" type="text/html" href="http://www.cineversity.com/wiki/Umbra/" />
      <id>tag:cineversity.com,2012:wiki:Umbra/206.434</id>
      <published>2012-04-11T06:44:06Z</published>
      <updated>2012-04-11T06:44:06Z</updated>
      <author>
            <name>jayroth</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        <p>Umbra</p>
<p>&nbsp;</p>
<p><a href="http://www.cineversity.com/wiki/Category:Glossary/" title="Category:Glossary">Category:Glossary</a></p>
      ]]></content>
    </entry>

    <entry>
      <title>Index of Refraction &#45; IOR</title>
      <link rel="alternate" type="text/html" href="http://www.cineversity.com/wiki/Index_of_Refraction_-_IOR/" />
      <id>tag:cineversity.com,2012:wiki:Index of Refraction &#45; IOR/205.433</id>
      <published>2012-04-11T03:21:07Z</published>
      <updated>2012-04-11T03:21:07Z</updated>
      <author>
            <name>jayroth</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        <p>The <strong>Index of Refraction</strong> (<strong>IOR</strong>) is a value used to specify the way that light is scattered as it passes through a material.&nbsp; You are most familar with the &#8220;bent straw&#8221; effect when viewing a clear glass of water and a straw.&nbsp; That is because the light traveling through the glass of water is behaving differently than when it travels through air.&nbsp; Since we live on Earth, all IOR values assume that 1.0 is the value for traditional linear light behavior.&nbsp; And thus, air has an IOR of 1.0.&nbsp; Water has an IOR of 1.33.&nbsp; In the glass example, do you know how many different IORs would need to be considered, in order to accurately render the scene so that it matches reality?</p>
<p>Three: 1.00 for the air, 1.33 for the water in the glass, and 1.52 for the water glass.&nbsp; That will get you the ballpark result.&nbsp; Why just ballpark?&nbsp; Well, the straw would also have an IOR, as all materials in our universe have an IOR, even those that we may percieve as opaque.&nbsp; Even opaque materials have some penetration of light, which is why you can use Fresnel shaders and SSS shaders on anything.&nbsp; Fortunately, you can decide when to say when, and concentrate only on those materials that really need to react to light with the proper IOR.</p>
<p>&nbsp;</p>
<p><a href="http://www.cineversity.com/wiki/Category:Glossary/" title="Category:Glossary">Category:Glossary</a></p>
<p><a href="http://www.cineversity.com/wiki/Category:Materials/" title="Category:Materials">Category:Materials</a></p>
<p><a href="http://www.cineversity.com/wiki/Category:Rendering/" title="Category:Rendering">Category:Rendering</a></p>
      ]]></content>
    </entry>

    <entry>
      <title>Color Space</title>
      <link rel="alternate" type="text/html" href="http://www.cineversity.com/wiki/Color_Space/" />
      <id>tag:cineversity.com,2012:wiki:Color Space/103.432</id>
      <published>2012-04-11T03:10:51Z</published>
      <updated>2012-04-11T03:10:51Z</updated>
      <author>
            <name>jayroth</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        <p><strong>Color Space</strong> refers to the actual color space that your project is working within, as well as the color spaces from which your contributing assets have been created.&nbsp; Typically, the color space you will see is RGB if your work originates on video or film, or CMYK if your color space is targeted to print.&nbsp; Color space describes the components that are used to specify a color.&nbsp; That is, the R defines the red color, B defines the blue, G defines the green, and so on.&nbsp; Color space does NOT refer to the color capacity, or color depth.&nbsp; </p>
<p>There are many different color spaces in use in DCC apps today.&nbsp; Adobe Photoshop has a fairly complete list of color spaces in that application&#8217;s color system.&nbsp; Not all color spaces are created equal; in fact, the reason that we have so many color spaces is due to the fact that there is no single color space that addresses all of the needs of those using computer imaging.&nbsp; Some color spaces are very similar, if not identical, such as Hue, Saturation and Luminance (HSL) and Hue, Saturation and Value (HSV).&nbsp; Incidentally, if you are working with lighting values, and you wish to animate them (like nightclub lighting), use HSV or HSL, as you can change color by animating the Hue&#8212;otherwise the color luminance and saturation will change, which is not typically something you want.&nbsp; And herein lies a good example of why you would want a color space other than RGB.</p>
<p>Typically, synthetic imaging like 3D rendering applications, tend to favor RGB, HSV/HSL and to a lesser degree, CMYK.&nbsp; Renderers always render in linear space.&nbsp; </p>
<p>Some color spaces favor certain colors or values over others.&nbsp; RGB favors brighter colors, and as a result, darker colors will show banding, requiring you to use dithering options if available.&nbsp; You can see how color systems favor colors in a curve plot.&nbsp; Further, were you to overlay different curve plots for different color systems on top of each other, you would clearly see that some colors in some systems are not even available in others.&nbsp; RGB and CMYK are examples of this, as are color spaces operating within different bit depths.&nbsp; Prior to the transition to digital television, the NTSC color space was shifted from the RGB spectrum. This was clear whenever the color orange was present, as orange is very strong as a color in the NTSC color space, while strong oranges in RGB are harder to achieve.</p>
<p>Fortunately, most of those problems are a thing of the past now.&nbsp; Digital displays are displacing analog tube-displays (CRTs), even though the analog displays can offer truer color rendering than liquid crystal displays (LCD).&nbsp; Fortunately, display manufacturers are adressing these issues.&nbsp; This discussion has long term impact, since theatrical projection is now digital in many markets, and will be in all markets soon.&nbsp; Digital projection systems have different color characteristics than your typical computer monitor (and they are much more expensive), so its wise to have a color check in a facility with the proper equipment if you are doing feature film work.&nbsp; If not, you might end up with some very upset clients on your hands.</p>
<p>&nbsp;</p>
<p><a href="http://www.cineversity.com/wiki/Category:Glossary/" title="Category:Glossary">Category:Glossary</a></p>
<p><a href="http://www.cineversity.com/wiki/Category:Compositing/" title="Category:Compositing">Category:Compositing</a></p>
<p><a href="http://www.cineversity.com/wiki/Category:Rendering/" title="Category:Rendering">Category:Rendering</a></p>
      ]]></content>
    </entry>


</feed>