Editing User:Vasco.costa/GSoC15/logs
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 35: | Line 35: | ||
|- | |- | ||
|M5.3||OCL lighting modes: Phong, Diffuse, Surface Normals.||||'''TRUNK''' | |M5.3||OCL lighting modes: Phong, Diffuse, Surface Normals.||||'''TRUNK''' | ||
− | |||
− | |||
|- | |- | ||
|M6||TOR and TGC shot routines in OCL.||#393||'''TRUNK''' | |M6||TOR and TGC shot routines in OCL.||#393||'''TRUNK''' | ||
Line 61: | Line 59: | ||
The ARB8, ARS, BOT, EHY, ELL, SPH, REC, TOR, TGC, shot routines are in SVN trunk. | The ARB8, ARS, BOT, EHY, ELL, SPH, REC, TOR, TGC, shot routines are in SVN trunk. | ||
− | SVN trunk also contains solid database device storage and a render function which given a view2model matrix, width, height, can generate an RGB8 bitmap. Diffuse and Surface Normal light models are supported. The renderer does | + | SVN trunk also contains solid database device storage and a render function which given a view2model matrix, width, height, can generate an RGB8 bitmap. Diffuse and Surface Normal light models are supported. The renderer does brute force first-hit ray tracing and ignores the CSG operators. It is integrated as a render option in '''mged'''. |
=Development Phase= | =Development Phase= | ||
Line 216: | Line 214: | ||
* ''M2 commited to opencl branch: kludge up a simple rendering pipeline with grid spatial partitioning traversal acceleration.'' | * ''M2 commited to opencl branch: kludge up a simple rendering pipeline with grid spatial partitioning traversal acceleration.'' | ||
− | : The simple ANSI C rendering pipeline only supports Lambertian reflection with a stock grey material to make things simpler. | + | : The simple ANSI C rendering pipeline only supports Lambertian reflection with a stock grey material to make things simpler. |
<blockquote> | <blockquote> | ||
{| | {| | ||
Line 303: | Line 301: | ||
|[[File:Rt_ehyn.png|256px]]||[[File:Cl_ehyn.png|256px]]||[[File:Diff_ehyn.png|256px]] | |[[File:Rt_ehyn.png|256px]]||[[File:Cl_ehyn.png|256px]]||[[File:Diff_ehyn.png|256px]] | ||
|- | |- | ||
− | |align="center"|elapsed time @ 972x956: 0.35 sec||align="center"|elapsed time @ 972x956: 0. | + | |align="center"|elapsed time @ 972x956: 0.35 sec||align="center"|elapsed time @ 972x956: 0.08 sec|| |
|} | |} | ||
</blockquote> | </blockquote> | ||
Line 333: | Line 331: | ||
|align="center"|1 million triangles | |align="center"|1 million triangles | ||
|- | |- | ||
− | |align="center"|elapsed time @ 972x956: '''0. | + | |align="center"|elapsed time @ 972x956: '''0.29 sec''' (OCL) |
|- | |- | ||
|align="center"|elapsed time @ 972x956: 17.49 sec (RT) | |align="center"|elapsed time @ 972x956: 17.49 sec (RT) | ||
Line 348: | Line 346: | ||
* Handle UNORDERED, CW, and CCW triangle vertices to fix bot normal generation. | * Handle UNORDERED, CW, and CCW triangle vertices to fix bot normal generation. | ||
− | * Added material colors to OCL render. | + | * Added material colors to OCL render. Add lightmodel with transparent multi-hit rendering to show the multi-hit facilities. |
− | |||
− | |||
<blockquote> | <blockquote> | ||
{| | {| | ||
Line 357: | Line 353: | ||
|[[File:Cl_golliath.png|512px]] | |[[File:Cl_golliath.png|512px]] | ||
|- | |- | ||
− | |align="center"|elapsed time @ 972x956: 0. | + | |align="center"|elapsed time @ 972x956: 0.69 sec |
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |