Difference between revisions of "Adding to the extensions directory"

From COLLADA Public Wiki
Jump to navigation Jump to search
(cat name)
(some companies use a variety of profile names)
Line 15: Line 15:
 
You'll do the following:
 
You'll do the following:
 
*Add one row to [[List of extensions by company]]  
 
*Add one row to [[List of extensions by company]]  
*Add one row to [[List of extensions by profile name]]
+
*Add one (or more) rows to [[List of extensions by profile name]]
 
*Create a new article titled [[yourcompanyname  yourproductname  extensions]] and add links for articles in the next bullet. (e.g., [[Softimage XSI extensions]]).
 
*Create a new article titled [[yourcompanyname  yourproductname  extensions]] and add links for articles in the next bullet. (e.g., [[Softimage XSI extensions]]).
 
*Create one additional article for each COLLADA element that you extend, titled [[elementname yourproductname extension]] (e.g., [[camera XSI extension]]).
 
*Create one additional article for each COLLADA element that you extend, titled [[elementname yourproductname extension]] (e.g., [[camera XSI extension]]).
Line 38: Line 38:
 
#: | product = yourproductname }}</pre>
 
#: | product = yourproductname }}</pre>
 
#*Use [[Softimage XSI extensions]] as a rough model; provide descriptions and examples of your extensions.
 
#*Use [[Softimage XSI extensions]] as a rough model; provide descriptions and examples of your extensions.
# In [[List of extensions by profile name]], add one table row with your info. (See [[#Example output of Extensions by profile name addition]].)  
+
# In [[List of extensions by profile name]], add one or more table row(s) with your info. (See [[#Example output of Extensions by profile name addition]].)  
 
# In [[List of extensions by element]], add a table row for each element that you support (using the same element-based links as above).  (See [[#Example output of Extensions by element addition]].)
 
# In [[List of extensions by element]], add a table row for each element that you support (using the same element-based links as above).  (See [[#Example output of Extensions by element addition]].)
 
|} <!--end of basic instructions block -->
 
|} <!--end of basic instructions block -->
Line 55: Line 55:
  
 
===Example output of List by company addition===
 
===Example output of List by company addition===
 +
If you use just one profile name for all extensions, add one item like this:
 +
 +
{| style="text-align:left;  width:100%; border:1px solid #666666;" cellspacing="0" cellpadding="8"
 +
|- style="background-color:#eeeeee;"
 +
! Link (by company)||Profile= ''name''||Elements extended
 +
|- valign="top"
 +
|[[My Company My Product extensions]]
 +
|mp
 +
|
 +
*<camera>
 +
*<image>
 +
|}
 +
 +
If you use different profile names, it might look like this:
 
{| style="text-align:left;  width:100%; border:1px solid #666666;" cellspacing="0" cellpadding="8"  
 
{| style="text-align:left;  width:100%; border:1px solid #666666;" cellspacing="0" cellpadding="8"  
 
|- style="background-color:#eeeeee;"  
 
|- style="background-color:#eeeeee;"  
 
! Link (by company)||Profile= ''name''||Elements extended
 
! Link (by company)||Profile= ''name''||Elements extended
 
|- valign="top"
 
|- valign="top"
|[[My Company My Product extensions]]||mp||
+
|[[My Company My Product extensions]]
 +
|
 +
*mpc
 +
*mpi
 +
|
 
*<camera>
 
*<camera>
 
*<image>
 
*<image>
Line 65: Line 83:
  
 
===Example output of List by profile name addition===
 
===Example output of List by profile name addition===
 +
If you use just one profile name for all extensions, add one item like this:
  
 
{| style="text-align:left;  width:100%; border:1px solid #666666;" cellspacing="0" cellpadding="8"  
 
{| style="text-align:left;  width:100%; border:1px solid #666666;" cellspacing="0" cellpadding="8"  
Line 73: Line 92:
 
*<camera>
 
*<camera>
 
*<image>
 
*<image>
 +
|}
 +
 +
If you use different profile names, add multiple lines like this:
 +
{| style="text-align:left;  width:100%; border:1px solid #666666;" cellspacing="0" cellpadding="8"
 +
|- style="background-color:#eeeeee;"
 +
! Profile= ''name''||Company/product link||Elements extended
 +
|- valign="top"
 +
|mpc||[[camera My Product extension]]||<camera>
 +
|- valign="top"
 +
|mpi||[[image My Product extension]]||<image>
 
|}
 
|}
  

Revision as of 03:56, 19 June 2007

Extension information
  • Purpose: unstated
  • Company(s): unstated
  • Product(s): unstated
  • Last updated: unstated
  • Contact for technical issues:
This article is part of the COLLADA extensions directory
Adding to the extensions directory

Instructions

Instructions for adding your product's COLLADA extensions to the extension directory
  • These instructions use the following variable names and assumptions:
    • yourcompanyname (preferably simplified/common version; for example, "Sony", not "Sony Computer Entertainment, Inc."). Can be multiple words.
    • yourproductname. Can be multiple words.
    • profilename used in profile name="..." (often--but not always-the product name)
    • Assume that you have defined <image> and <camera> extensions with <technique profile="..."> or <extra><technique profile=..."> (or both)

Summary:

You'll do the following:

Detailed instructions:

  1. In List of extensions by company, add a table row using this text (left-justified):
         |- valign="top"
    | [[yourcompanyname yourproductname extensions]] || profilename ||
    *<camera>
    *<image>
    (See #Example output of Extensions by company addition.)
  2. Click the company/product link you just created, add this text (left-justified) to the new article, and save it:
         {{extensions}}
    mycompanyname provides extensions for the following elements :
    * [[camera yourproductname extension]]
    * [[image yourproductname extension]]
  3. Click each of those element-based links to create separate articles for each extension:
    • Put the following at the top of each article (left-justified):
         {{extensions
    | company = yourcompanyname
    | product = yourproductname }}
  4. In List of extensions by profile name, add one or more table row(s) with your info. (See #Example output of Extensions by profile name addition.)
  5. In List of extensions by element, add a table row for each element that you support (using the same element-based links as above). (See #Example output of Extensions by element addition.)

Example

Assume:

  • a company named "My Company"
  • product named "My Product"
  • profile="mp"
  • with extensions for <image> and <camera>

Example list of articles created

Example output of List by company addition

If you use just one profile name for all extensions, add one item like this:

Link (by company) Profile= name Elements extended
My Company My Product extensions mp
  • <camera>
  • <image>

If you use different profile names, it might look like this:

Link (by company) Profile= name Elements extended
My Company My Product extensions
  • mpc
  • mpi
  • <camera>
  • <image>

Example output of List by profile name addition

If you use just one profile name for all extensions, add one item like this:

Profile= name Company/product link Elements extended
mp My Company My Product extensions
  • <camera>
  • <image>

If you use different profile names, add multiple lines like this:

Profile= name Company/product link Elements extended
mpc camera My Product extension <camera>
mpi image My Product extension <image>

Example output of List by element addition

Element/product link Profile= name Company/product link
camera My Product extension mp My Company My Product extensions