On Sat, Mar 25, 2017 at 10:00 PM, Shailesh Tripathi <
shailesh.tripathi.ec...@itbhu.ac.in> wrote:

> I have a doubt:
> - I can see four kernles namely "do_pixel", "count_hits", "store_segs" and
> "shade_segs" being launched. Which of these uses the xxx_shot() functions
> and how? I can see the programs being compiled using clcompileprogram and
> then all of them linked together, but I am not able to understand how the
> xxx_shot() functions are used.
>

This is explained in the GSoC pages of previous years:
http://brlcad.org/wiki/User:Vasco.costa/GSoC15/logs

Basically the function call diagram is like this:
do_pixel():
  count_hits():
    xxx_shot()
  store_segs():
    xxx_shot()
  shade_segs()

Also, I have written the code for 'hrt' primitive but I am not able to test
> it due to the OpenGL issue :(
> Please tell me is there a way I I can compile the code without the use of
> OpenGL.
>

Do you have OpenCL installed properly? You should be aware that if you
can't install OpenGL, installing OpenCL is a lot harder.

Regards,

-- 
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to