Editing Deuces

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 12: Line 12:
 
# [https://www.virtualbox.org/wiki/Downloads Install VirtualBox.]
 
# [https://www.virtualbox.org/wiki/Downloads Install VirtualBox.]
 
# Import and start the VM, log in (the password is "Brlcad!" without the quotes).
 
# Import and start the VM, log in (the password is "Brlcad!" without the quotes).
# Run "svn up brlcad-svn-trunk" and get started!
+
# Run "svn up brlcad.svn" and get started!
  
 
=Pick a Task=
 
=Pick a Task=
Line 35: Line 35:
  
 
 
 
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
 
=== Fix bounding box function for our polygonal mesh (BoT) primitive ===
 
=== Fix bounding box function for our polygonal mesh (BoT) primitive ===
Line 49: Line 49:
 
 
 
 
 
 
 
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
 
=== Close MGED when both windows are closed ===
 
=== Close MGED when both windows are closed ===
Line 59: Line 59:
 
Code:
 
Code:
 
* src/mged/mged.c
 
* src/mged/mged.c
* src/tclscripts/mged/openw.tcl
+
* src/tclscripts/mged/openw.c
  
 
|}
 
|}
 
 
 
 
 
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
|
 
|
 +
=== Add MGED key-binding to reopen the command window ===
  
=== Implement a primitive centroid function ===
+
BRL-CAD has an interactive geometry editor called MGED. It's often the starting point for beginners and allows creation and manipulation of models using commands. When MGED is invoked, it creates 2 windows:  a text-console command window and an interactive graphics window.  If the user closes the text-console command window, they are left with the interactive graphics window.  There is presently no way (correct us if we're wrong) to get the text-console back without restarting mged.  A good way to test this is to run in classic mode and run the 'gui' command:
  
BRL-CAD provides more than two dozen types of geometry "primitives" such as ellipsoids, boxes, and conesEvery primitive is described by a collection of callback functions, for example rt_ell_bbox() returns the bounding box dimensions for an ellipsoidWikipedia, Wolfram Mathworld, and various other math sites (and research papers) around the web include the equations for most of our basic primitives while others are a little more tricky to compute.
+
sushi:~ morrison$ mged -c test.g
 +
BRL-CAD Release 7.22.0 Geometry Editor (MGED)
 +
    Fri, 24 Aug 2012 00:02:42 -0400, Compilation 6
 +
    morrison@sushi.local:/usr/brlcad/rel-7.22.0
 +
   
 +
attach (nu|X|ogl)[nu]? 
 +
mged> gui
  
This task involves writing a new callback function that takes an rt_db_internal object and calculates its centroid (as a point_t 3D point). There are numerous examples in our code where we compute centroids for other primitives.  The primitives that do not already have a centroid callback are itemized in following.
+
This task involves adding some mechanism, perhaps a simple key binding, to the graphics window so that you can get the command window back on-demand.
 
 
References:
 
* http://en.wikipedia.org/wiki/Centroid
 
* http://mathworld.wolfram.com/
 
* include/raytrace.h: See ft_centroid callback defined in the rt_functab structure
 
  
 
Code:
 
Code:
* src/librt/primitives/table.c
+
* src/mged/mged.c
* src/librt/primitives/[PRIMITIVE]/[PRIMITIVE].c
+
* src/tclscripts/mged/openw.c
  
 
|}
 
|}
 +
 
 
 
 
 
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
|
 
|
  
=== Implement a primitive curvature function ===
+
=== Implement a primitive surface area function ===
  
BRL-CAD provides more than two dozen types of geometry "primitives" such as ellipsoids, boxes, and cones each described by a collection of callback functions, for example rt_sph_bbox() returns the bounding box dimensions for a sphere.  Wikipedia, Wolfram Mathworld, and various other math sites (and research papers) around the web include the equations for most of our basic primitives while others are a little more tricky to compute.
+
BRL-CAD provides more than two dozen types of geometry "primitives" such as ellipsoids, boxes, and cones.  Every primitive is described by a collection of callback functions, for example rt_ell_bbox() returns the bounding box dimensions for an ellipsoid.  Wikipedia, Wolfram Mathworld, and various other math sites (and research papers) around the web include the equations for most of our basic primitives while others are a little more tricky to compute.
  
This task involves writing the callback function rt_xxx_curve() that computes the curvature at a given point on the surface of a primitive such as;
+
This task involves writing a new callback function that takes an rt_db_internal object and calculates the surface area (units are mm^2).  There are numerous examples in our code where we compute surface area for other primitives.  The primitives that do not already have a centroid callback are itemized in following.
* superell
 
* cline
 
* extrude
 
* grip
 
* metaball
 
* hrt.   
 
There are numerous examples in our code where we compute the curvature for other primitives like the ellipsoid, sphere, elliptical parabola, etc.
 
  
 
References:
 
References:
* http://en.wikipedia.org/wiki/Curvature
+
* http://en.wikipedia.org/wiki/Surface_area
* http://en.wikipedia.org/wiki/Radius_of_curvature_(mathematics)
 
 
* http://mathworld.wolfram.com/
 
* http://mathworld.wolfram.com/
* include/raytrace.h: See the data structure that holds the curvature of a surface at a point (from Line 296) as well as the prototype for ft_curve() callback function defined in the rt_functab structure ( Line 2078).
+
* http://www.dtic.mil/cgi-bin/GetTRDoc?AD=AD0274936
 
+
* include/raytrace.h: See ft_surf_area callback defined in the rt_functab structure
Code:
 
* src/librt/primitives/table.c
 
* src/librt/primitives/[PRIMITIVE]/[PRIMITIVE].c
 
  
|}
 
 
 
 
 
 
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
|
 
|
 +
==== ... surface area function for elliptical hyperboloids (EHY) ====
  
=== Implement a primitive UV-mapping callback ===
+
Code:
 +
* src/librt/primitives/ehy/ehy.c
  
BRL-CAD provides more than two dozen types of geometry "primitives" such as ellipsoids, boxes, and cones.  Every primitive is described by a collection of callback functions, for example rt_ell_bbox() returns the bounding box dimensions for an ellipsoid.  One of those functions describes a UV mapping of the object's surface, which is used for things like texture and bump mapping.  An example of this is rt_ell_uv() in the src/librt/primitives/ell/ell.c source file for an ellipsoid.  Several of our more complex primitive types (such as BoT, NMG, and BREP/NURBS) do not presently implement a UV-mapping function leading to unexpected runtime behavior.
+
|}
 
 
This task involves implementing a UV-mapping callback for any of the primitives that do not already have a functional UV-callback defined.  Note that this is an advanced task that might take you more than a couple hours if you don't have solid coding skills, but it's ultimately just a few lines of code.  See other primitives that already implement a UV-mapping callback for reference.
 
 
 
References:
 
* http://en.wikipedia.org/wiki/UV_mapping
 
* src/librt/primitives/[PRIMITIVE]/[PRIMITIVE].c, read the rt_*_uv() function
 
  
 +
 
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
==== ... UV-mapping for extruded sketches (EXTRUDE) ====
+
==== ... surface area function for hyperboloids of one sheet (HYP) ====
  
 
Code:
 
Code:
* src/librt/primitives/extrude/extrude.c
+
* src/librt/primitives/hyp/hyp.c
* src/librt/primitives/table.c
 
* include/rtgeom.h
 
  
 
|}
 
|}
 
 
  
|}
 
 
 
 
 
 
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
|
 
|
=== Implement a platform independent re-entrant sort function ===
+
==== ... surface area function for N-faced polysolid (ARBN) ====
 
 
The classic C library qsort() does not support a context parameter. A work around is to store the context information in a static variable. However, this solution is not thread save and may result in unpredictable behavior.
 
 
 
There are platform specific sort functions qsort_r() in incompatible versions for BSD and GNU and qsort_s() for MSVC.  Your task is to implement a bu_sort() function for BRL-CAD which is platform independent.
 
  
 
Code:
 
Code:
* src/libbu/sort.c
+
* src/librt/primitives/arbn/arbn.c
  
The new sort function could look like this:
 
void bu_sort(genptr_t array, size_t nummemb, size_t sizememb, int (*compare)(const_genptr_t, const_genptr_t, genptr_t), genptr_t context);
 
 
|}
 
|}
 
 
 
 
 +
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 +
|
 +
==== ... surface area function for extruded bitmaps (EBM) ====
  
----
+
Code:
 +
* src/librt/primitives/ebm/ebm.c
  
 
|}
 
|}
 
 
 
 
 
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
|
 
|
=== Solve fonts related bug in new wiki theme ===
+
==== ... surface area function for gridded volumes (VOL) ====
  
BRL-CAD has been working on a new incarnation of the website and has developed a new wiki theme and wordpress theme. Wiki theme uses a font called 'open-sans' from google fonts directory. It's linked via CSS but it does not get loaded (we still see default serif all over the place). So your task will be to debug the CSS code and get Open Sans loaded.
+
Code:
 
+
* src/librt/primitives/vol/vol.c
Links:
 
*http://beta.brlcad.org/wiki/Main_Page
 
 
 
 
 
 
 
----
 
  
 
|}
 
|}
 
 
 
 
 
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
|
 
|
=== Better placement of icons in wiki theme ===
+
==== ... surface area function for super ellipsoids (SUPERELL) ====
  
BRL-CAD has been working on a new incarnation of the website and has developed a new wiki theme and wordpress theme. Wiki theme is responsive but has a small styling problem. On smaller screens icons near the search bar gets misplaced and unaligned. Your task would be to fix that. Task would include diving into sass file that corresponds to styling of this part of theme (given below) and adjusting spacing between icons to keep them aligned even at smaller screens.
+
Code:
 
+
* src/librt/primitives/superell/superell.c
Links:
 
*http://beta.brlcad.org/wiki/Main_Page
 
  
 +
|}
 
 
 
 
 
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
----
 
|}
 
 
 
== Documentation and Training ==
 
----
 
''Tasks related to creating/editing documents and helping others learn more about BRL-CAD''
 
 
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
|
 
|
=== Add missing documentation (for any ONE command) ===
+
==== ... surface area function for polygonal meshes (NMG) ====
 
 
BRL-CAD is an extensive system with more than 400 commands and more than a million pages of documentation, but there are approximately 120 commands that are entirely undocumented:
 
 
 
a-d archer asc2g asc2pix bot-bldxf bottest brep_cube brep_simple brickwall btclsh burst bw-a bw-d bwish c-d chan_add clutter contours d-a damdf dauto dauto2 d-bw dconv ddisp d-f dfft d-i dmod double-asc dpeak dsel dsp_add dstat d-u dwin euclid_format euclid_unformat fbgammamod f-d fence fhor f-i g-adrt g-euclid1 g-jack globe g-off i-a i-d i-f ihist imod istat jack-g kurt lowp molecule nmgmodel nmg-sgp off-g pipe pipetest pix2g pix3filter pixcount pixelswap pixembed pixfields pixfieldsep pixflip-fb pixpaste pix-spm pix-yuv plstat pyramid rawbot remapid rlesortmap rletovcr room rtcell rtexample rtfrac rtrad rtsil rtsrv script-tab sketch solshoot sphflake spltest spm-fb ssampview syn tea tea_nmg testfree texturescale torii ttcp tube txyz-pl u-a u-bw u-d u-f umod ustat vcrtorle vegitation wall wdb_example xbmtorle xyz-pl yuv-pix
 
 
 
This task involves writing basic documentation for '''JUST ONE''' of those commands in the Docbook XML format.  The command documentation should provide a one-sentence description, a detailed paragraph description (200+ words), explanation of '''all''' available command-line options, and one or more examples on how to use the command.
 
  
 
Code:
 
Code:
* doc/docbook/system/man1/en/Makefile.am
+
* src/librt/primitives/nmg/nmg.c
* doc/docbook/system/man1/en/*.xml
 
  
 
|}
 
|}
  
 
 
 
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
=== Write an article "BRL-CAD for dummies" ===
+
==== ... surface area function for NURBS objects (BREP) ====
  
Although BRL-CAD has extensive documentation, still it needs a short and simple document which is particularly built for dummies.
+
Code:
 
+
* src/librt/primitives/brep/brep.cpp
This task involves writing a article named '''BRL-CAD for dummies'''. This article should start with the installation process, if there is any existing installation guide for dummies, provide a link to it. The main motive of this article to empower dummy to make his/her first model using BRL-CAD. One thing to be kept in mind while writing this article is that this article is mainly concentrated for dummies. So use simple language to an extent and if you need to mention some technical term, first explain that term.
 
 
 
The output of this task can be a pdf, html, doc, odt or any other document file that contains this article. Go through the link provided. Use screenshots and images to make it look attractive so that the reader is not bored.
 
 
 
Reference:
 
* http://brlcad.org/wiki/Documentation
 
  
 +
|}
 
|}
 
|}
  
 
 
 
 
 
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
|
 
|
=== Translate "Contributors Guide To BRL-CAD" To Any Language ===
 
  
People interested in improving BRL-CAD sometimes find themselves lost in a sea of information. In all, BRL-CAD has more than a million words of documentation across hundreds of manual pages, dozens of tutorials and examples, hundreds of wiki pages, dozens of technical papers, and other resources. There are literally thousands of features and this can sometimes pose problems.
+
=== Implement a primitive volume function ===
  
In 2013, a team of contributors got to California and worked on an entire book titled "Contributors Guide To BRL-CAD" in just a few days. This great resource needs to be translated to other languages to attract developers from other lingual backgrounds (who don't read English ) to contribute to BRL-CAD.
+
BRL-CAD provides more than two dozen types of geometry "primitives" such as ellipsoids, boxes, and cones.  Every primitive is described by a collection of callback functions, for example rt_ell_bbox() returns the bounding box dimensions for an ellipsoid. Wikipedia, Wolfram Mathworld, and various other math sites (and research papers) around the web include the equations for most of our basic primitives while others are a little more difficult to compute.
  
This task involves translating the chapters/sections of the "Contributors Guide To BRL-CAD" into a language of your choice such as Mandarin, French, Chinese, Spanish, German, Hindi, Arabic, Russian, etc. Chapters/Sections include
+
This task involves writing a new callback function that takes an rt_db_internal object and calculates the volume (units are mm^3).  There are numerous examples in our code where we compute volume for other primitives.  The primitives that do not already have a volume callback are itemized in following.
  
* Feature Overview
+
References:
* Working with our Code
+
* http://en.wikipedia.org/wiki/Volume
* What code to work on
+
* http://mathworld.wolfram.com/
* How to contribute
+
* http://www.dtic.mil/cgi-bin/GetTRDoc?AD=AD0274936
* .... (Just to name a few )
+
* include/raytrace.h: See ft_volume callback defined in rt_functab structure
  
The output of this task can be a pdf, html, doc, odt or any other document file that contains the translated article.Images in the original document (see link in Reference below) should not be changed ! only text should be.
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 +
|
 +
==== ... volume function for elliptical hyperboloids (EHY) ====
  
Reference:
+
Code:
* http://en.flossmanuals.net/_booki/contributors-guide-to-brl-cad/contributors-guide-to-brl-cad.pdf
+
* src/librt/primitives/ehy/ehy.c
  
 
|}
 
|}
  
 
 
 
 
 
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
|
 
|
 +
==== ... volume function for superellipsoids (SUPERELL) ====
  
=== Write a "BRL-CAD Commands Quick Reference" document ===
+
Code:
 
+
* src/librt/primitives/superell/superell.c
There is already a command quick reference for BRL-CAD's MGED geometry editing tool, but there is not a similar document for BRL-CAD's 400+ command-line commands.
 
 
 
This task involves writing a quick reference document similar to [http://brlcad.org/w/images/5/52/MGED_Quick_Reference_Card.pdf the MGED quick reference] but for BRL-CAD commands.  The sheet should minimally include the following commands:
 
 
 
mged, rt*, *-g, g-*, fb*, *fb, nirt, remrt, rtsrv, asc2g, g2asc, dbupgrade, pix*, *pix, *-*, brlman, benchmark
 
 
 
References:
 
* http://brlcad.org/wiki/Documentation
 
* http://brlcad.org/w/images/5/52/MGED_Quick_Reference_Card.pdf
 
* [http://appletree.or.kr/quick_reference_cards/CVS-Subversion-Git/git-cheat-sheet-large.png git example]
 
* [http://www.stdout.org/~winston/latex/latexsheet-0.png latex example]
 
* [http://img.docstoccdn.com/thumb/orig/524314.png another example]
 
* [http://www.inmensia.com/files/pictures/internal/CheatSheetDrupal4.7.png drupal example]
 
* [http://www.phpmagicbook.com/wp-content/uploads/2010/06/php-reference-card.jpg php example]
 
  
 
|}
 
|}
 
 
 
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
 +
==== ... volume function for extruded bitmaps (EBM) ====
  
=== Doxygen cleanup ===
+
Code:
 +
* src/librt/primitives/ebm/ebm.c
  
BRL-CAD uses Doxygen for most API documentation but the comment blocks are not optimally set up for Doxygen output.
+
|}
 
 
This task involves cleaning up the Doxygen comments in the library so that useful reports and API documentation automatically generated (correctly, completely, and cleanly).  Verify/fix any Doxygen syntax.  Verify/fix groups so that functions are organized neatly and all contained within a group.  Provide patches that give clean (PDF) output from Doxygen.
 
 
 
References:
 
* http://www.jiggerjuice.net/software/doxygen.html
 
* http://www.stack.nl/~dimitri/doxygen/starting.html
 
* http://www.stack.nl/~dimitri/doxygen/
 
  
 +
 
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
==== ... doxygen cleanup for LIBBU ====
+
==== ... volume function for triangle meshes (BOT) ====
 
 
There are approximately 300 documented API function calls in LIBBU.
 
  
 
Code:
 
Code:
* include/bu.h
+
* src/librt/primitives/bot/bot.c
* src/libbu
 
* misc/Doxyfile
 
  
 
|}
 
|}
 
 
 
 
 
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
==== ... doxygen cleanup for LIBWDB ====
+
==== ... volume function for solid polygonal meshes (NMG) ====
 
 
There are approximately 100 documented API function calls in LIBWDB.
 
  
 
Code:
 
Code:
* include/wdb.h
+
* src/librt/primitives/nmg/nmg.c
* include/raytrace.h
 
* src/libwdb
 
* misc/Doxyfile
 
  
 
|}
 
|}
Line 326: Line 243:
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
==== ... doxygen cleanup for LIBRT ====
+
==== ... volume function for extruded sketches (EXTRUDE) ====
  
There are approximately 1000 documented API function calls in LIBRT.  
+
Code:
 +
* src/librt/primitives/extrude/extrude.c
  
Code:
 
* include/raytrace.h
 
* src/librt
 
* src/librt/primitives
 
* src/librt/comb
 
* src/librt/binunif
 
* misc/Doxyfile
 
 
|}
 
|}
 +
 
|}
 
|}
 
 
 
 
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
=== Write up Wiki page tutorial on our Volumetric Primitive ===
 
  
BRL-CAD provides a couple dozen distinct primitives.  Each primitive is defined by a set of parametersSeveral of the more complex primitives have a wiki page describing them in more detail with an example on how to create them.
+
=== Implement a primitive centroid function ===
 +
 
 +
BRL-CAD provides more than two dozen types of geometry "primitives" such as ellipsoids, boxes, and conesEvery primitive is described by a collection of callback functions, for example rt_ell_bbox() returns the bounding box dimensions for an ellipsoidWikipedia, Wolfram Mathworld, and various other math sites (and research papers) around the web include the equations for most of our basic primitives while others are a little more tricky to compute.
  
This task involves writing up a page on the VOL primitive.  Figure out how to use it (see the "in" command), create an example input data set, and write up a wiki page on exactly what steps are needed similar to our other wiki pages:
+
This task involves writing a new callback function that takes an rt_db_internal object and calculates its centroid (as a point_t 3D point).  There are numerous examples in our code where we compute centroids for other primtiives.  The primitives that do not already have a centroid callback are itemized in following.
  
 
References:
 
References:
* http://brlcad.org/wiki/DSP
+
* http://en.wikipedia.org/wiki/Centroid
* http://brlcad.org/wiki/Sketch
+
* http://mathworld.wolfram.com/
* http://brlcad.org/wiki/EBM  <-- particularly useful as the data is similar for VOL
+
* include/raytrace.h: See ft_centroid callback defined in the rt_functab structure
 +
 
 +
Code:
 +
* src/librt/primitives/table.c
 +
* src/librt/primitives/[PRIMITIVE]/[PRIMITIVE].c
  
Show how to create a VOL with at least two layers/slices.  Include images like the other examples.  Put the write-up at http://brlcad.org/wiki/VOL
 
  
 +
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 +
|
 +
==== ... centroid function for right hyperbolic cylinders (RHC) ====
 +
|}
 +
&nbsp;
 +
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 +
|
 +
==== ... centroid function for gridded volumes (VOL) ====
 +
|}
 +
&nbsp;
 +
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 +
|
 +
==== ... centroid function for N-faced polysolids (ARBN) ====
 
|}
 
|}
 
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
=== Write a wiki tutorial on how to create a polygonal mesh (NMG) manually ===
+
==== ... centroid function for extruded sketches (EXTRUDE) ====
 
 
BRL-CAD provides a couple dozen distinct primitives. Each primitive is defined by a set of parameters. Several of the more complex primitives have a wiki page describing them in more detail with an example on how to create them.
 
 
 
This task involves writing up a page on the NMG polygonal mesh primitive.  Figure out how to use it (not a simple task, will require some trial and error), create an example input, and write up a wiki page on exactly what steps are needed similar to our other wiki pages:
 
 
 
References:
 
* http://brlcad.org/wiki/DSP
 
* http://brlcad.org/wiki/EBM
 
* http://brlcad.org/wiki/Sketch <-- particularly useful as neither NMG nor sketch are meant to be created manually
 
 
 
Note the "facetize" command in mged will convert an existing object into NMG format.  The get/put commands should help from there like the sketch tutorial.
 
 
 
Show how to create an NMG cube or wedge or similar simple shape.  Include images like the other examples.  Put the write-up at http://brlcad.org/wiki/NMG
 
 
 
 
|}
 
|}
 
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
=== Fix Image Formatting in BRL-CAD's DocBook Documentation (any ONE large document or 4 smaller documents) ===
+
==== ... centroid function for superellipsoids (SUPERELL) ====
 
 
The majority of BRL-CAD's documentation is defined as DocBook files, from which other formats (HTML, PDF, man page, etc.) can be generated. PDF files present a particular challenge, and have some very specific requirements to achieve "good" formatting.
 
 
 
BRL-CAD's DocBook files need to uniformly use a style of image inclusion that is aware of what "role" the image is supposed to serve.  A "basic" image inclusion example looks like this:
 
 
 
  <mediaobject>
 
    <imageobject>
 
      <imagedata align="center" fileref="../../lessons/en/images/img.png" format="PNG"/>
 
    </imageobject>
 
    <nowiki><caption></nowiki>
 
      <para>
 
        Caption goes here.
 
      </para>
 
    </caption>
 
  </mediaobject>
 
 
 
This task involves switching image inclusions that use the above style to something like the following:
 
 
 
  <mediaobject>
 
    <imageobject role="html">
 
      <imagedata align="center" fileref="../../books/en/images/img.png" format="PNG"/>
 
    </imageobject>
 
    <imageobject role="fo">
 
      <imagedata align="center" fileref="../../books/en/images/img.png" format="PNG"/>
 
    </imageobject>
 
    <nowiki><caption></nowiki>
 
      <para>
 
        Caption goes here.
 
      </para>
 
    </caption>
 
</mediaobject>
 
 
The "role" flag to imageobject provides the opportunity to specify different image formatting options when the output is HTML (role="html") or PDF (role="fo").
 
 
 
The captions should be preserved as above on mediaobjects that have them, but mediaobjects without a caption should also be converted and there is no need to add a caption in such cases.
 
 
 
Any patch that makes changes to the DocBook sources should result in a successful "make doc" build test.  This won't generate PDF documents, but it will validate the XML files and produce HTML - remember that introducing breakage means the patch won't be accepted.
 
 
 
Remember, the tasks are simply to do the above conversion for all images in the file or files, not to introduce PDF specific formatting.  Formatting fixes will be needed, but they are very much "case by case" and will take both additional time and a working Apache FOP installation, as well as knowledge of how to enable PDF generation.  If all image inclusions have been converted successfully and a student is interested in actually fixing the formatting, please discuss it with us on IRC or the mailing list.
 
 
 
References:
 
* doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeIII.xml
 
 
 
Code:
 
* doc/docbook
 
 
 
 
|}
 
|}
 
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
=== Make a step by step tutorial for creating BRL-CAD model ===
+
==== ... centroid function for solid polygonal meshes (NMG) ====
 
+
|}
BRL-CAD is said to have an expert friendly User Interface so new users mostly have a tough time getting around it's UI and making models. So anything link Django poll app tutorial https://docs.djangoproject.com/en/dev/intro/tutorial01/ would be very helpful.
+
&nbsp;
 
 
  
 
|}
 
|}
 
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
=== Find 5 bugs in OGV ===
 
  
Online Geometry Viewer is a web based application with which you can see 3D .g models in browser without the use of any plugins. Your task will be to deploy OGV locally and find 5 bugs or errors in it.
+
=== Implement a primitive UV-mapping callback ===
  
Links:
+
BRL-CAD provides more than two dozen types of geometry "primitives" such as ellipsoids, boxes, and cones.  Every primitive is described by a collection of callback functions, for example rt_ell_bbox() returns the bounding box dimensions for an ellipsoid.  One of those functions describes a UV mapping of the object's surface, which is used for things like texture and bump mapping.  An example of this is rt_ell_uv() in the src/librt/primitives/ell/ell.c source file for an ellipsoid.  Several of our more complex primitive types (such as BoT, NMG, and BREP/NURBS) do not presently implement a UV-mapping function leading to unexpected runtime behavior.
https://github.com/BRL-CAD/OGV-meteor/
 
  
|}
+
This task involves implementing a UV-mapping callback for any of the primitives that do not already have a functional UV-callback defined.  Note that this is an advanced task that might take you more than a couple hours if you don't have solid coding skills, but it's ultimately just a few lines of code.  See other primitives that already implement a UV-mapping callback for reference.
 +
 
 +
References:
 +
* http://en.wikipedia.org/wiki/UV_mapping
 +
* src/librt/primitives/[PRIMITIVE]/[PRIMITIVE].c, read the rt_*_uv() function
  
&nbsp;
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
|
 
|
 +
==== ... UV-mapping for extruded sketches (EXTRUDE) ====
  
=== Find 5 coding guidelines violations in OGV ===
+
Code:
 +
* src/librt/primitives/extrude/extrude.c
 +
* src/librt/primitives/table.c
 +
* include/rtgeom.h
  
Online Geometry Viewer is a web based application with which you can see 3D .g models in browser without the use of any plugins. Your task will be to deploy OGV locally, look into code and see if any coding guidelines are violated.
+
|}
 
+
&nbsp;
Links:
 
https://github.com/BRL-CAD/OGV-meteor/
 
  
 
|}
 
|}
 +
&nbsp;
  
&nbsp;
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
 
----
 
----
  
==Outreach and Research ==
+
== Documentation and Training ==
 
----
 
----
''Tasks related to community management, outreach/marketing, studying problems, and recommending solutions''
+
''Tasks related to creating/editing documents and helping others learn more about BRL-CAD''
  
&nbsp;
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
|
 
|
=== Profile NURBS prep performance ===
+
=== Add missing documentation (for any ONE command) ===
  
BRL-CAD implements support for rendering of NURBS representation geometry.  If you import a solid 3DM or STEP format model into BRL-CAD, it will import as BREP/NURBS geometry.  Opening that geometry in BRL-CAD's MGED editor will tell you what objects are available and our 'rt' tool will raytrace it.  When geometry is ray traced, it first goes through a "prep" phase and then it starts shooting rays.  Our prep phase is entirely unoptimized so we'd like to know where all the time is presently being spent during prep..
+
BRL-CAD is an extensive system with more than 400 commands and more than a million pages of documentation, but there are approximately 120 commands that are entirely undocumented:
  
This task involves importing some NURBS geometry into BRL-CAD and ray tracing that geometry with a profiler watching our prep performance.  Any profiler will do, including gprof, but a performance monitor like oprofile or the Mac "Instruments" application (or Shark) are preferred.
+
a-d archer asc2g asc2pix bot-bldxf bottest brep_cube brep_simple brickwall btclsh burst bw-a bw-d bwish c-d chan_add clutter contours d-a damdf dauto dauto2 d-bw dconv ddisp d-f dfft d-i dmod double-asc dpeak dsel dsp_add dstat d-u dwin euclid_format euclid_unformat fbgammamod f-d fence fhor f-i g-adrt g-euclid1 g-jack globe g-off i-a i-d i-f ihist imod istat jack-g kurt lowp molecule nmgmodel nmg-sgp off-g pipe pipetest pix2g pix3filter pixcount pixelswap pixembed pixfields pixfieldsep pixflip-fb pixpaste pix-spm pix-yuv plstat pyramid rawbot remapid rlesortmap rletovcr room rtcell rtexample rtfrac rtrad rtsil rtsrv script-tab sketch solshoot sphflake spltest spm-fb ssampview syn tea tea_nmg testfree texturescale torii ttcp tube txyz-pl u-a u-bw u-d u-f umod ustat vcrtorle vegitation wall wdb_example xbmtorle xyz-pl yuv-pix
  
Learning how to use a profiler is beyond the scope of this task, so it make take you considerably longer to provide us with useful information if you've never run a profiler before.
+
This task involves writing basic documentation for '''JUST ONE''' of those commands in the Docbook XML format.  The command documentation should provide a one-sentence description, a detailed paragraph description (200+ words), explanation of '''all''' available command-line options, and one or more examples on how to use the command.  
  
To capture prep performance, you will need to import some fairly complex geometry.  You should be able to search google with "filetype:3dm" or "filetype:step" or find something on grabcad.com to import
+
Code:
 
+
* doc/docbook/system/man1/en/Makefile.am
Running "tops" within mged will tell you what geometry is available for rendering.
+
* doc/docbook/system/man1/en/*.xml
  
Running "rt -o file.png -s32" on the system command line (not inside mged) should minimize the ray overhead or you can specifically isolate the prep phase we care about.  Prep is the time between when rt is run where it opens a window until the first pixels are fired and pixels start filling in.
 
 
|}
 
|}
  
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
=== Continue investigating GMP integration ===
+
=== Document MGED's 'saveview' command options ===
  
BRL-CAD uses a fastf_t typedef for most all math operations that is usually a "double" floating point type. We would like to provide the option for resorting to exact arithmetic if possible by merely redefining fastf_t to a C++ type sufficiently overloaded to behave the same. You should be proficient with C++ operator overloading to take this work on. This task is a continuation of a prior GCI task (read it in full!):
+
BRL-CAD's primary geometry editor (MGED) provides hundreds of commands. Two of those commands are the savewview and loadview commands that write current view settings out to a text file and read them back in. The saveview command provides -e -i -l and -o options, but they are not documented.
  
http://www.google-melange.com/gci/task/view/google/gci2012/7946218
+
This task involves writing documentation for those missing options. Consult the source code to see what they do and add the corresponding sections into our Docbook XML doc just like we do in our other documentation files.  Test compilation to make sure your XML syntax is correct.
  
This task involves testing compilation with a C++ class with overloaded operators such that vmath macro calls still work as well as a sampling of LIBBN API function calls without major changes to the original code. A perfect example case study would be creating the class then testing whether bn_dist_pt3_pt3() and bn_mat_determinant() compute correctly for values that cannot be exactly represented with floating point arithmetic.
+
References:
 +
* src/libged/saveview.c
 +
* doc/docbook/system/mann/en/*.xml
  
Building on the previous GCI task work, take it to the next step.  Try setting a vector to 1/3, 1/3, 1/3 and 0.1, 0.1, 0.1 and get proper values to print.  Change the V3ARGS() macro if needed.  If that all works, try to get bn_dist_pt3_pt3() to work.  Report and discuss your progress.
+
Code:
 +
* doc/docbook/system/mann/en/saveview.xml
  
 
|}
 
|}
  
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
=== Design a T-Shirt for BRL-CAD ===
+
=== Write a "BRL-CAD Commands Quick Reference" document ===
  
This task involves designing a T-Shirt for BRL-CAD. Use your designing skills to design a T-Shirt for BRL-CAD. You can use the current BRL-CAD logo, or you may tweak it. Be creative while designing this T-Shirt. It would be good if the design has some special meaning.
+
There is already a command quick reference for BRL-CAD's MGED geometry editing tool, but there is not a similar document for BRL-CAD's 400+ command-line commands.
  
Logo References
+
This task involves writing a quick reference document similar to [http://brlcad.org/w/images/5/52/MGED_Quick_Reference_Card.pdf the MGED quick reference] but for BRL-CAD commands. The sheet should minimally include the following commands:
* http://brlcad.org/images/angelov_256.png
 
* http://brlcad.org/d/node/92
 
  
|}
+
mged, rt*, *-g, g-*, fb*, *fb, nirt, remrt, rtsrv, asc2g, g2asc, dbupgrade, pix*, *pix, *-*, brlman, benchmark
  
&nbsp;
+
References:
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
* http://brlcad.org/wiki/Documentation
|
+
* http://brlcad.org/w/images/5/52/MGED_Quick_Reference_Card.pdf
=== Design a coffee mug for BRL-CAD ===
+
* http://appletree.or.kr/quick_reference_cards/CVS-Subversion-Git/git-cheat-sheet-large.png
 
+
* http://www.stdout.org/~winston/latex/latexsheet-0.png
This task involves designing a coffee mug for BRL-CAD. Make it look good, so that one can use it while working on BRL-CAD. Look over some great coffee mug designs before starting to work on this. It would be great if the design on coffee mug has some special meaning.
+
* http://img.docstoccdn.com/thumb/orig/524314.png
 
+
* http://www.inmensia.com/files/pictures/internal/CheatSheetDrupal4.7.png
Logo References
+
* http://www.phpmagicbook.com/wp-content/uploads/2010/06/php-reference-card.jpg
* http://brlcad.org/images/angelov_256.png
 
* http://brlcad.org/d/node/92
 
  
 
|}
 
|}
 
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
=== Design BRL-CAD sticker ===
+
=== Doxygen cleanup ===
  
This task involves designing a BRL-CAD sticker. The design should be simple and sleek. The concept of sticker should be clear and also it should be creatively presented. Get inspired from some sticker designs but choose your own imagination while designing the sticker. There is no bound for shape of sticker, it can be rectangular, circular or even irregular. The only thing that matters is that it should look good.
+
BRL-CAD uses Doxygen for most API documentation but the comment blocks are not optimally set up for Doxygen output.
  
Logo References
+
This task involves cleaning up the Doxygen comments in the library so that useful reports and API documentation automatically generated (correctly, completely, and cleanly).  Verify/fix any Doxygen syntax. Verify/fix groups so that functions are organized neatly and all contained within a group. Provide patches that give clean (PDF) output from Doxygen.
* http://brlcad.org/images/angelov_256.png
 
* http://brlcad.org/d/node/92
 
  
|}
+
References:
 +
* http://www.jiggerjuice.net/software/doxygen.html
 +
* http://www.stack.nl/~dimitri/doxygen/starting.html
 +
* http://www.stack.nl/~dimitri/doxygen/
  
&nbsp;
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
 
|
 
|
=== Design BRL-CAD phone/tablet back cover ===
+
==== ... doxygen cleanup for LIBBU ====
  
This task involves designing a BRL-CAD phone/tablet cover.
+
There are approximately 300 documented API function calls in LIBBU.
While submitting your design, provide the sample phone cover, tablet cover with the design and rendered png or jpg image of the sticker design. Try to have a special meaning of design, and the concept should be creatively illustrated.
 
  
Logo References
+
Code:
* http://brlcad.org/images/angelov_256.png
+
* include/bu.h
* http://brlcad.org/d/node/92
+
* src/libbu
 +
* misc/Doxyfile
  
 
|}
 
|}
  
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
=== Design a wallpaper set for BRL-CAD ===
+
==== ... doxygen cleanup for LIBWDB ====
  
This task involves designing a set of wallpapers for BRL-CAD. The central idea of each wallpaper should represent any feature of BRL-CAD. Try to design a minimum of 5 wallpapers but if you have more than 5 designs than you are welcomed.
+
There are approximately 100 documented API function calls in LIBWDB.  
 
Try to different resolutions of each wallpaper.
 
  
Check the following wallpapers for inspiration.
+
Code:
* http://www.smashingmagazine.com/tag/wallpapers/
+
* include/wdb.h
 
+
* include/raytrace.h
Logo References
+
* src/libwdb
* http://brlcad.org/images/angelov_256.png
+
* misc/Doxyfile
* http://brlcad.org/d/node/92
 
  
 
|}
 
|}
 
 
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
=== Create Iron Man Arc Reactor Model in BRL-CAD ===
+
==== ... doxygen cleanup for LIBRT ====
 
 
This task involves creating Arc Reactor as seen in hollywood movie Iron-Man. You will have to create two versions of the Arc Reactor one glowing and another non glowing.  
 
 
Check this model for inspiration
 
* http://grabcad.com/library/iron-man-arc-reactor-request
 
  
 +
There are approximately 1000 documented API function calls in LIBRT.
  
 +
Code:
 +
* include/raytrace.h
 +
* src/librt
 +
* src/librt/primitives
 +
* src/librt/comb
 +
* src/librt/binunif
 +
* misc/Doxyfile
 +
|}
 
|}
 
|}
  
 +
----
  
&nbsp;
+
==Outreach and Research ==
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
----
|
+
''Tasks related to community management, outreach/marketing, studying problems, and recommending solutions''
=== Tweak BRL-CAD logo to wish New Year ===
 
 
 
You might have heard and praised those google doodles we occasionally see on google.com on special days. This task is all about tweaking BRL-CAD logo to wish New Year. You may have a look at google doodles but don't entirely copy their style. I am sure your creative mind will get something much better.
 
Make sure this tweak should be tweaked version of current logo and not entirely new logo.
 
 
 
Tip: Search for some global events occurring in 2015 and design accordingly. Also keep the letters 2,0,1,5 in mind while designing. ;)
 
 
 
Also output of this task shall be the png file of your work and the raw file but don't upload the raw file(.psd, .xcf or some other) for review of this task. We will ask for it later, when the design is finalized.
 
 
 
Gallery of all google doodles
 
* http://www.google.com/doodles
 
 
 
 
 
|}
 
 
 
  
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
=== Tweak BRL-CAD logo to wish Merry Christmas ===
 
  
You might have heard and praised those google doodles we occasionally see on google.com on special days. This task is all about tweaking BRL-CAD logo to wish Christmas. You may have a look at google doodles but don't entirely copy their style. I am sure your creative mind will get something much better.
+
=== Investigate permuted vertex lists from g-iges + iges-g ===
Make sure the output of this task should be tweaked version of current logo and not entirely new logo.
 
  
Also output of this task shall be the png file of your work and the raw file but don't upload the raw file(.psd, .xcf or some other) for review of this task. We will ask for it later, when the design is finalized.
+
BRL-CAD has a geometry exporter and importer for the International Graphics Exchange Standard (IGES) file format.  If you run our g-iges exporter on some geometry, then run iges-g on that same geometry to import it back to BRL-CAD format, the geometry will have permuted vertex lists. Particularly for geometry already in polygonal format, such as our NMG or BoT geometry, this conversion should result in identical geometry but presently does not.
  
Gallery of all google doodles
+
This task involves investigating why this occurs, reporting (in detail) why it occurs, and if obvious, making a recommendation on how to fix the problem.
* http://www.google.com/doodles
 
  
 +
Code:
 +
* src/conv/iges
  
 
|}
 
|}
Line 634: Line 478:
 
''Tasks related to testing and ensuring code is of high quality''
 
''Tasks related to testing and ensuring code is of high quality''
  
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
 
=== Fix single-precision floating point crash ===
 
=== Fix single-precision floating point crash ===
Line 671: Line 515:
  
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
 
=== Fix closedb ===
 
=== Fix closedb ===
Line 694: Line 538:
  
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
=== Create a utility library (LIBBU) API unit test ===
+
=== Create an utility library (LIBBU) API unit test ===
  
 
There are more than 300 library functions in our core LIBBU library.  As a core library used by nearly every one of BRL-CAD's tools, testing those functions for correct behavior is important.
 
There are more than 300 library functions in our core LIBBU library.  As a core library used by nearly every one of BRL-CAD's tools, testing those functions for correct behavior is important.
  
This task involves implementing new unit tests for any of LIBBU's source files that do not already have a unit test defined.  The test should run all of the public functions and be hooked into our build system.  We have lots of existing unit tests to follow as examples.
+
This task involves implementing a new unit test for any of LIBBU's source files that do not already have a unit test defined.  The test should run all of the public functions and be hooked into our build system.  We have lots of existing unit tests to follow as an example.
  
 
References:
 
References:
Line 711: Line 555:
 
* src/libbu/tests/CMakeLists.txt
 
* src/libbu/tests/CMakeLists.txt
  
 
+
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 +
|
 +
==== ... unit test for LIBBU badmagic.c ====
 +
|}
 +
&nbsp;
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
Line 719: Line 567:
  
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
 
+
=== Create numerics library (LIBBN) API unit test ===
=== Create Numerics library (LIBBN) API unit tests ===
 
  
 
There are more than 300 library functions in our core LIBBN library.  As a core library used by nearly every one of BRL-CAD's tools, testing those functions for correct behavior is important.
 
There are more than 300 library functions in our core LIBBN library.  As a core library used by nearly every one of BRL-CAD's tools, testing those functions for correct behavior is important.
  
This task involves implementing new unit tests for any of LIBBN's source files that do not already have a unit test defined.  The test should run all of the public functions and be hooked into our build system.  We have lots of existing unit tests to follow as examples.
+
This task involves implementing a new unit test for any of LIBBN's source files that do not already have a unit test defined.  The test should run all of the public functions and be hooked into our build system.  We have lots of existing unit tests to follow as an example.
  
 
References:
 
References:
Line 733: Line 580:
 
* include/vmath.h
 
* include/vmath.h
 
* src/libbn/*.c
 
* src/libbn/*.c
* src/libbn/tests/*.c <-- check this directory for examples
+
* src/libbu/tests/*.c <-- note libbu, not libbn for examples
* src/libbu/tests/*.c <-- Note: Also check this too for more examples.
 
  
 
Code:
 
Code:
Line 740: Line 586:
 
* src/libbn/tests/CMakeLists.txt
 
* src/libbn/tests/CMakeLists.txt
  
<b> Note </b>
 
A valid task will constitute writing a basic test for each function in the following libbn/ files.
 
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
==== ... unit tests for LIBBN anim.c ====
 
|}
 
&nbsp;
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
 
*Useful resources
 
  ->coming!
 
 
==== ... unit tests for LIBBN axis.c ====
 
|}
 
&nbsp;
 
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
==== ... unit tests for LIBBN qmath.c ====
+
==== ... unit test for LIBBN axis.c ====
 
|}
 
|}
 
&nbsp;
 
&nbsp;
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
 
+
==== ... unit test for LIBBN qmath.c ====
 
 
*Useful links and Resources
 
-> Coming!
 
 
 
==== ... unit tests for LIBBN rand.c ====
 
 
|}
 
|}
 
&nbsp;
 
&nbsp;
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
{| cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
==== ... unit tests for LIBBN vector.c ====
+
==== ... unit test for LIBBN rand.c ====
 
|}
 
|}
 
|}
 
|}
  
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
 
*Useful links and resources
 
-> To be added.
 
 
 
=== Find, reliably reproduce, and report any bug in Archer ===
 
=== Find, reliably reproduce, and report any bug in Archer ===
  
Line 799: Line 619:
  
 
&nbsp;
 
&nbsp;
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
+
{| style="background-color:#666666;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
|
 
=== Reproduce any 10 unconfirmed open bug reports ===
 
=== Reproduce any 10 unconfirmed open bug reports ===
Line 810: Line 630:
 
* https://sourceforge.net/tracker/?limit=100&func=&group_id=105292&atid=640802&assignee=100&status=1&submit=Filter
 
* https://sourceforge.net/tracker/?limit=100&func=&group_id=105292&atid=640802&assignee=100&status=1&submit=Filter
 
|}
 
|}
 
 
 
----
 
----
  
Line 818: Line 636:
 
''Tasks related to user experience research or user interface design and interaction''
 
''Tasks related to user experience research or user interface design and interaction''
  
 
&nbsp;
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
=== Create an ISST screenshot or animation ===
 
 
Everyone loves to see screenshots and animations of software in action. We use both in our marketing and outreach. See some of the examples below that we already have.
 
 
Create an awesome screenshot and/or animation of our 'isst' tool in action. It's an interactive geometry viewer interface.  It should be graphically interesting and give some sense of capability.  You should import a visually complex and interesting model with LOTS of polygons and detail.
 
 
References:
 
* http://brlcad.org/gallery/d/19-4/MGED.jpg
 
* http://brlcad.org/tmp/archer.png
 
* http://brlcad.org/gallery/s/screenshots/
 
* http://www.google-melange.com/gci/task/view/google/gci2012/8019211
 
 
Note that we have several screenshot tasks.  Note you may have to go through some or our basic MGED tutorials (see docs section on our website) just to be able to display geometry.  Finally, give others a chance if you already completed one of the other screenshot tasks. ;)
 
 
|}
 
 
&nbsp;
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
=== Categorize all of BRL-CAD's commands into a spreadsheet ===
 
 
BRL-CAD is a suite of more than 400 processing tools, image tools, geometry converters, and more. There is an existing spreadsheet that characterizes all of the available commands in terms of inputs, outputs, and options, but there is insufficient characterization of BRL-CAD's commands as to how they logically group and work together.
 
 
This task involves building up a spreadsheet that lists all of our commands, describing a finite set of command categories, and characterizing all commands into those categories while filling in the spreadsheet with details for each command.
 
 
References:
 
* A spreadsheet template will be provided.
 
 
|}
 
 
&nbsp;
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
===  Design a Cover Photo for Facebook page (and other social networks) ===
 
 
BRL-CAD got it's logo changed, and it's website is undergoing a change. So this re-branding of BRL-CAD also requires a good, well designed and attractive cover photo for the BRL-CAD's Facebook page or other Social Media Appearances. It should feature a good tagline telling some killer feature of BRL-CAD, BRL-CAD's new logo and/or some illustration/image regarding the feature highlighted in tagline.
 
 
It should be consistent with the color scheme of our new website design.
 
 
New website design
 
*http://cpp-tricks.com/brlcad/
 
 
|}
 
 
&nbsp;
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
 
===  Design a banner ad for BRL-CAD ===
 
 
BRL-CAD is one of the oldest open source communities. This community has a good following, so we want to give a chance to everyone so that they can show their support to the community by adding a banner ad in their website. You have to create a banner ad that can be embedded in the website by copy pasting some simple lines of code (basically an iframe).
 
 
Such a banner ad can also be used in various sections of our own website.
 
 
The task requires you to create a CSS3 based animated horizontal and vertical banner add, highlighting some feature of BRL-CAD or making some call to action. This call to action can be joining mailing list, or signing up for community, or link to latest post etc.
 
 
For Inspiration and tutorial refer
 
*http://tympanus.net/Tutorials/AnimatedWebBanners/
 
 
|}
 
 
&nbsp;
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
=== Creating Motion Typography video for BRL-CAD  ===
 
 
BRL-CAD has a lot of great features that can be highlighted. A motion typography video highlighting these features would be a wonderful addition to the front page of website.
 
 
This task requires you to create a motion typography video that will convince user to give BRL-CAD a try, it could be titled something like "x reasons to choose BRL-CAD" or anything similar (give your creative minds a flight). The video should not be more than 2 minutes.
 
 
For inspiration about what a motion typography, see
 
*http://vimeo.com/24715531
 
 
|}
 
 
&nbsp;
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
=== Create a screen-cast for BRL-CAD  ===
 
 
Getting started with BRL-CAD is sometimes not so smooth. A screen-cast giving a tour of BRL-CAD's GUI and the steps involved in creating the first model will make it easy for users to get started.
 
 
For this task you need to install BRL-CAD on your computer. Create a very basic model in it and record your screen as you create the model. It should also give a tour of BRL-CAD's workspace. You can choose model of your choice. Keep something very basic and easy for the first time users.
 
 
|}
 
 
 
&nbsp;
 
{| style="background-color:#ffffff;" cellpadding="20" cellspacing="0" border="2" width="100%"
 
|
 
=== Loading Google charts from API  ===
 
 
A basic wrapper of GCharts has been implemented a while ago : https://bitbucket.org/suryajith/benchmark/src/a27dd8c05d6819a527650e06a63076599d2e0d66/libs/charting.py?at=default With the google charts improving their API system which wasn't around then, see if the code could be optimized so to get the charts the optimal way.
 
 
Reference:
 
*https://developers.google.com/chart/interactive/docs/index
 
 
 
|}
 
 
=== Design a hall of fame for BRL-CAD developers ===
 
 
We love our developers and want to have a special place in it's website to thank and motivate hard working folks behind BRL-CAD. Your task would be to use an image manipulation software such as GIMP or Photoshop and design a hall of fame page for developers. It should have avatars and names of all the developers. For inspiration you can take a look at http://underscores.me/. You are free to experiment and design anyway you want, just make sure that the color scheme and font-scheme is consistent with the new BRL-CAD web design.
 
 
Links:
 
* http://cpp-tricks.com/brlcad/
 
* http://underscores.me/
 
 
 
|}
 
----
 
  
 
= When You're Done =
 
= When You're Done =

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)