remove unnecessary opencl buffer with number of partitions per ray. A variable is enough to store this info
stop evaluating partitions after finding the first partition evaluated of the ray. The partitions are ordered by distance to the ray origin and no more partitions will be added since we processed all hits before evaluation
removing unused kernel arguments
Merging issues when applying previous patch? Should be fixed now
Boolean evaluation of CSG in OpenCL
Boolean evaluation of CSG in OpenCL
removing unused case conditions from rt_pr_bit_tree(). These operations are internal to bool_eval() function and will never occur in the bit tree
passing first region index to overlap handler
bool_eval() function using new boolean tree representation, where each tree node is encoded in 32 bits
Removed next_evalpp field from cl_partition struct
Fix bug in partitions shading. Shading closest partition
skipping unevaluated partitions
fixed some indentation and coding style issues
Optimization on the process of building the regiontable, by precomputing the regions involved in each primitive instead of calculating this for each partition inside the rt_boolfinal kernel.
Fixed the issue that was causing some interior normals to be wrongly represented.
Fixed the issue of adjacent partitions writing to same position of the bit arrays. Optimized the process of iterating over bit arrays. Fixed the weird results when drawing geometry with the command 'e *' . Changed the code to use 1 regiontable per ray instead of 1 regiontable per partition
It looks like this bug occurs when drawing the geometry with the command: 'e *'. For my tests I was drawing the geometry via the 'Geometry Browser' (Edit-> Browse Geometry). Will investigate
CSG boolean evaluation with OpenCL
Weave of segs using a dynamic bitarray to represent the segments in each partition. Changed the cl_partition structure in order to simulate a double linked list, which should optimize the insertion of partition
Removed the pointers from the cl_partition structure and added some relevant comments in the code
OpenCL code to weave segments into partitions
OpenCL shot code for the RHC and RPC primitives