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 61: | Line 61: | ||
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 216: | ||
* ''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 303: | ||
|[[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 333: | ||
|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 348: | ||
* 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. The colors are kind of buggy because there is no easy way, that I know of, getting the actual material associated with a solid in the table. The | + | * Added material colors to OCL render. The colors are kind of buggy because there is no easy way, that I know of, getting the actual material associated with a solid in the table. The material are in regions and regions are the ones with materials. Any solid may be in a number of materials. Figuring out the material without he actual CSG tree with regions is hence non-trivial. Add lightmodel with transparent multi-hit rendering to show the multi-hit facilities. |
− | |||
− | |||
<blockquote> | <blockquote> | ||
{| | {| | ||
Line 357: | Line 355: | ||
|[[File:Cl_golliath.png|512px]] | |[[File:Cl_golliath.png|512px]] | ||
|- | |- | ||
− | |align="center"|elapsed time @ 972x956: 0. | + | |align="center"|elapsed time @ 972x956: 0.69 sec |
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |