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 28: | Line 28: | ||
|M4||GPU side database storage of OCL implemented primitives.||#392||'''TRUNK''' | |M4||GPU side database storage of OCL implemented primitives.||#392||'''TRUNK''' | ||
|- | |- | ||
− | |M5||port compute intensive or critical parts of the dispatcher, <s>boolean evaluation</s>, optical renderer to OCL.|| ||'''TRUNK''' | + | |M5||port compute intensive or critical parts of the dispatcher, <s>boolean evaluation</s>, <s>optical renderer</s> to OCL.|| ||'''TRUNK''' |
|- | |- | ||
|M5.1||OCL dispatcher that performs the shot routines for a whole frame.||||'''TRUNK''' | |M5.1||OCL dispatcher that performs the shot routines for a whole frame.||||'''TRUNK''' | ||
|- | |- | ||
|M5.2||OCL rasterizer that does the pixel pushing for a whole frame.||||'''TRUNK''' | |M5.2||OCL rasterizer that does the pixel pushing for a whole frame.||||'''TRUNK''' | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|M6||TOR and TGC shot routines in OCL.||#393||'''TRUNK''' | |M6||TOR and TGC shot routines in OCL.||#393||'''TRUNK''' | ||
Line 59: | Line 55: | ||
--> | --> | ||
− | The ARB8, ARS, BOT, EHY, ELL, SPH, REC, TOR, TGC, shot routines are in SVN trunk. | + | The ARB8, ARS (experimental), BOT (experimental), 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 212: | ||
* ''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. Example output for ''goliath.g'': |
+ | |||
+ | :[[File:Cl_goliath.png|256px]] | ||
+ | |||
<blockquote> | <blockquote> | ||
{| | {| | ||
Line 303: | Line 302: | ||
|[[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 332: | ||
|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 341: | Line 340: | ||
</blockquote> | </blockquote> | ||
: All math operations are done in double precision FP. | : All math operations are done in double precision FP. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |