Create an Elliptical Hyperboloid Model and DiagramBRL-CAD
Status: ClosedTime to complete: 48 hrs Mentors: SeanTags: 3D, modeling, rendering

BRL-CAD provides a couple dozen distinct primitives.  Each primitive is defined by a set of parameters.  We'd like to have each primitive modeled with diagramming arrows and labels.

This task involves creating an elliptical hyperboloid (EHY) and modeling the corresponding arrows/segments for all parameters.  Scalars should be dashed lines, vectors should be arrows.  Here's an example:

  • http://brlcad.org/~starseeker/gci_primitive_figures/

Make something like that for the EHY, but with different material properties.  That example put objects into a box for a particular visual effect.  See if you can get a better effect without the exterior box (you'll have to change shader properties).

Submit your .g file and a ray traced rendering/diagram of the model.  This command run within mged may help:

rt -s1024 -A0.75 -c {set ambSamples=128} 

Uploaded Work
File name/URLFile sizeDate submitted
shape.PNG153.4 KBDecember 13 2012 15:13 UTC
EHY.g32.6 KBDecember 13 2012 15:13 UTC
NEW.g39.3 KBDecember 13 2012 17:21 UTC
New Render.PNG159.5 KBDecember 13 2012 17:26 UTC
Comments
Sharanon December 13 2012 11:07 UTCTask Claimed

I would like to work on this task.

Sean on December 13 2012 14:01 UTCTask Assigned

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

Sharanon December 13 2012 15:14 UTCReady for review

The work on this task is ready to be reviewed.

Sharanon December 13 2012 15:17 UTCCheck it out

Blast the everything and shape regions.


Although I have gave it a red colour, I dont understand how to give a blue colour to it.


and dont understand the box method also.

Sean on December 13 2012 15:46 UTCalmost

That looks almost right.  Note if you run "sed hyp" that definitely got the labels right (you're welcome to use the wireframe overlayed on a raytrace as your final image, but you'll need to make the ehy smaller (scaled down) so it draws fewer lines.


I only noticed a few problems:



  1. H is a vector from point V, so it should be a solid arrow to H

  2. since H is a vector, there shouldn't be a sphere at H but instead at c

  3. 'c' is a scalar value, so it should be a dashed line from H

  4. "shape" is a region, so it should have a ".r" suffix

  5. you have overlaps, you'll need to subtract everything from ehy in shape.r

  6. you should have an lines.r that unions 'everything' (probably could be renamed too)

  7. you should have a 'ehy' top-level group that includes shape.r and lines.r

  8. you should delete background


That way, you have a proper hierarchy and no modeling errors.  If you run "tops", you'll see just the 'ehy' primitive.  If you run 'l ehy', you'll see the various parameters (which are scalars, which are points/vectors).  Looking good!


 

Sean on December 13 2012 15:47 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.

Sharanon December 13 2012 17:27 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 13 2012 19:37 UTCTask Closed

Congratulations, this task has been completed successfully.

Sean on December 13 2012 19:38 UTCNicely done

Well done.  Note that we have a couple dozen tasks like this that we're releasing a couple at a time, so hope to see more from you!