I was trying to compare and contrast the existing ANSI C and OpenCL code. I
noticed that these are starkly different. The ANSI C has extensive
documentation (as it has probably been the for a long time). The OpenCL
code I'm finding rather difficult to understand in its current state.
Specifically, boolweave() and boolfinal() are called in function
shootray(). There is an implementation of shootray() in the OpenCL kernel
code as well. However the 2 versions have no similarities. I can't seem to
figure out if and how weaving and evaluation happen currently in OpenCL. My
guess is that complex objects can't be rendered in OpenCL mode as of now.
Please help me gain a better understanding.
You had also mentioned that it was a good idea to generate the segments
using OpenCL and then process the same using the existing ANSI C functions.
If I understood right, this would mean converting output from clt_frame()
into a suitable form to call the generic do_run() function, instead of the
OpenCL specific clt_run(). I'll start working on this.
Best,
Param
On Mon, May 9, 2016 at 8:00 PM Vasco Alexandre da Silva Costa <
vasco.co...@gmail.com> wrote:
> On Mon, May 9, 2016 at 10:28 AM, Param Hanji <param.catchch...@gmail.com>
> wrote:
>
>>
>> There is a survey article about these techniques you could look into as
>>> well:
>>
>>
>> Jansen, Frederik W. "Depth-order point classification techniques for CSG
>>> display algorithms." ACM Transactions on Graphics (TOG) 10.1 (1991): 40-70.
>>>
>>>
>> I've also requested access to this paper. I'll have a look if and when
>> I'm granted access. Thank you.
>>
>
> I had a local copy of the paper here. I'm sending it to you attached to
> this e-mail.
>
> --
> Vasco Alexandre da Silva Costa
> PhD in Computer Engineering (Computer Graphics)
> Instituto Superior Técnico/University of Lisbon, Portugal
>
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel