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 373: | Line 373: | ||
* Compute transparency using attenuation. | * Compute transparency using attenuation. | ||
− | * bool.c cleanups. If we ever are to port the standard BRL-CAD CSG evaluator algorithm to OpenCL C, given that there seem to be no other major viable options which give sufficiently correct results for our project | + | * bool.c cleanups. If we ever are to port the standard BRL-CAD CSG evaluator algorithm to OpenCL C, given that there seem to be no other major viable options which give sufficiently correct results for our project purposes, this code must be brought to heel. Such a task would be immense. I hope I helped this with a series of patches to: remove gotos (not available in OpenCL C), to re-compile the bool trees (binary tree of pointers) to a linear postfix array form. This form is easier and more coherent to parse during the rendering stage. I did it in these stages: |
− | **eliminated all gotos in | + | **eliminated all gotos in rt_default_multioverlap. |
− | **eliminated all gotos in | + | **eliminated all gotos in rt_boolweave. |
− | **produced a patch to use the postfix linear tree | + | **produced a patch to use the postfix linear tree to replace |
− | |||
− | |||
− | |||
* Process segments instead of hit points. Use registers to store segments. Make all available rendering modes (full, diffuse, normals, multi-hit transparent) work in a single pass. This speeds up the full and transparent modes like 2-3x. | * Process segments instead of hit points. Use registers to store segments. Make all available rendering modes (full, diffuse, normals, multi-hit transparent) work in a single pass. This speeds up the full and transparent modes like 2-3x. | ||
− | * Also updated the multiple-kernel launch renderer code to work with the segment list approach. It might be slower | + | * Also updated the multiple-kernel launch renderer code to work with the segment list approach. It might be slower but we might need the whole segment list in memory at the same time in the future. |
− | |||
* Well folks GSoC 2015 is finally over! Mission complete! I thank everyone who made this possible: | * Well folks GSoC 2015 is finally over! Mission complete! I thank everyone who made this possible: | ||
**Google: Carol Smith | **Google: Carol Smith | ||
− | **BRL-CAD: brlcad (Sean), Stragus, ``Erik | + | **BRL-CAD: brlcad (Sean), Stragus, starseeker, ``Erik. |
− | + | ::There are other people who were of help but these were most notable to list. The deepest thanks go to my parents for tirelessly supporting me during this code marathon. |