Hello,
PFA the link for the patch for HRT primitive:
https://sourceforge.net/p/brlcad/patches/459/

Also, I added the line

> *#define ID_HRT 32*

in rt.cl file.

But I am getting a blank screen in the buffer frame.

Regards
Shailesh

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Sat, Apr 8, 2017 at 1:00 AM, Vasco Alexandre da Silva Costa <
vasco.co...@gmail.com> wrote:

> You got a patch?
>
> On Fri, Apr 7, 2017 at 5:31 PM, Shailesh Tripathi <
> shailesh.tripathi.ec...@itbhu.ac.in> wrote:
>
>> What could be the error now?
>> On Apr 6, 2017 1:00 AM, "Shailesh Tripathi" <
>> shailesh.tripathi.ec...@itbhu.ac.in> wrote:
>>
>>> Hello,
>>> I forgot to define ID_HRT. So i added:
>>> #define ID_HRT 32
>>> in rt.cl file.
>>> Do I need to make any more changes to invoke hrt_shot() as I am getting
>>> a blank screen on the frame buffer.( though the previous error
>>> bu_pool_delete is gone now) the rest of the log looks fine.
>>>
>>> Regards
>>> Shailesh
>>> On Apr 4, 2017 4:46 AM, "Vasco Alexandre da Silva Costa" <
>>> vasco.co...@gmail.com> wrote:
>>>
>>>> On Tue, Apr 4, 2017 at 12:14 AM, Vasco Alexandre da Silva Costa <
>>>> vasco.co...@gmail.com> wrote:
>>>>
>>>>>
>>>>> On Mon, Apr 3, 2017 at 1:54 PM, Shailesh Tripathi <
>>>>> shailesh.tripathi.ec...@itbhu.ac.in> wrote:
>>>>>
>>>>>> Hello,
>>>>>> I ported the HRT primitive to OpenCL, but I was getting a blank
>>>>>> screen while running the raytracer. To cross validate the error, I ported
>>>>>> HYP primitive too. But I am getting the same issue ,viz., (just before  "
>>>>>> *OCLPREP:" ) *
>>>>>>
>>>>>>> *   (nil) free ERRORbu_pool_delete*
>>>>>>>
>>>>>>
>>>>>> Please check what can be the possible issues.
>>>>>> https://sourceforge.net/p/brlcad/patches/459/
>>>>>>
>>>>>
>>>>> hrt_shot() isn't being called from anywhere. You missed some of the
>>>>> glue code.  e.g. see rl.cl.
>>>>>
>>>>
>>>> PS: Of course I meant 'src/librt/primitives/rt.cl'. Duh. :-)
>>>>
>>>> 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
>>>>
>>>>
>> ------------------------------------------------------------
>> ------------------
>> 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
>>
>>
>
>
> --
> 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
>
>
------------------------------------------------------------------------------
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