Beginner: Install and run BRL-CAD! #19BRL-CAD
Status: ClosedTime to complete: 100 hrs Mentors: Kesha Shah, Daniel_RTags: modeling, CAD, 3d, designBeginner

This task merely involves downloading, installing, and running BRL-CAD and then proving you got it working.

You'll prove it by creating some really simple geometry, rendering it, and submitting a screenshot.

You have a choice of how to obtain BRL-CAD, each with different learning challenges:

  • BEST: You can download and compile directly from our repository: http://brlcad.org/wiki/Building_from_SVN
  • EASY: You can download our Virtual Machine image: http://brlcad.org/wiki/Deuces#Getting_Started
  • MEH: You can use a binary tarball: http://brlcad.org/d/download

Once you have BRL-CAD installed, you'll want to run either mged or archer. You can see our Intro to MGED on http://brlcad.org/wiki/Documentation for extensive tutorials on how to model, but here are some quick steps to get you going:

  1. First, create a simple 512x512 black and white image that has your name in it somewhere. Any paint program will do here.
  2. Save that as a png image named hello.png and
  3. Convert your png image to a bw image by running our png-bw command (png-bw hello.png hello.bw). If you can't figure out how to do that on your system command line, this command on the mged prompt should work if you copy-paste it exactly as written into mged: exec \[ file join \[ bu_brlcad_root bin \] pix-bw \] hello.png \ hello.bw
  4. Create your extruded bitmap geometry: in gcirocks.ebm ebm hello.bw 512 512 64
  5. Render a pretty picture: B gcirocks.ebm ae 35 25 zoom 1.5 l gcirocks.ebm rt
  6. You should see a rendering window pop up if everything else was okay. Take a full screenshot and submit it here.

References:
  • http://brlcad.org/wiki/Compiling -- if you're trying to compile from source
  • http://brlcad.org/wiki/Documentation -- intro to mged and quick ref command card
  • http://brlcad.org/wiki/EBM -- more details on the ebm you are creating
Uploaded Work
File name/URLFile sizeDate submitted
http://prudhvinaidu5.wix.com/brl-cadn/aDecember 28 2014 08:19 UTC
Screenshot from 2014-12-28 11:32:35.png192.5 KBDecember 28 2014 08:19 UTC
Screenshot from 2014-12-29 10:54:15.png181.5 KBDecember 29 2014 05:24 UTC
Comments
Pranav Manchandaon December 19 2014 07:37 UTCTask Claimed

I would like to work on this task.

Popescu Andrei on December 19 2014 07:38 UTCTask Assigned

This task has been assigned to Pranav Manchanda. You have 100 hours to complete this task, good luck!

Melange on December 23 2014 11:38 UTCTask Reopened

Melange has detected that the final deadline has passed and it has reopened the task.

prudhvirajnaiduon December 25 2014 09:55 UTCTask Claimed

I would like to work on this task.

Deepak on December 25 2014 10:04 UTCTask Assigned

This task has been assigned to prudhvirajnaidu. You have 100 hours to complete this task, good luck!

prudhvirajnaiduon December 26 2014 08:59 UTCHelp needed

Whenever I try to run your command to convert png to bw it says Error: pix-read: Cannot read file

prudhvirajnaiduon December 28 2014 08:19 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 28 2014 17:05 UTCprogress!

prudhvirajnaidu, this is looking good but can be better.  If you invert your image colors (white on black, not black on white), you'll see the android guy in 3D.  Give that a try and type your name into the mged command console in the screenshot just so you can get credit for your work. :)


 

Sean on December 28 2014 17:05 UTCTask Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Sean on December 28 2014 17:05 UTCDeadline extended

The deadline of the task has been extended with 2 days and 2 hours.

prudhvirajnaiduon December 29 2014 05:31 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 29 2014 09:23 UTCTask Closed

Congratulations, this task has been completed successfully.

Sean on December 29 2014 09:28 UTCbetter

That's looking better.  Note that the android has really rough/fuzzy edges. That' is because your input image has fuzzy edges (e.g., transparent background or antialiased soft edges).  If you convert your input png image to a 2-bit image (purely black and white), you'll see a better result.  Conversely, you could specify your color range as 0-128 for all the RGB channels when creating the EBM to assume an even balance.  Good luck!