Hello,
Post by Shailesh TripathiDo 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.
Like I said that error *"(nil) free ERRORbu_pool_delete" *is gone now after
making the changes in the rt.cl file. This makes me feel that the*
hrt_shot() *function is being invoked. But since Vasco Sir asked for the
patch, I felt it beneficial to just highlight the changes make( 3 lines for
the addition of ID_HRT) in the code) instead of making the complete new
patch. As it went unnoticed I added one line mail for that.
I am not saying that correct my error, but I am asking of how can I find my
errors. Since I am new to the software and gdb, I don't know how to debug
it. Anything that can help me understand my error is helpful.
Yes I considered the *"part" *patch and felt that I made the necessary
changes.
It would be a lot help if someone could help me with the debugging.
I apologize for my unprofessional behaviour, but my curiousness to get the
patch working made me flush the list with mails.
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Sat, Apr 8, 2017 at 11:01 PM, Vasco Alexandre da Silva Costa <
Post by Shailesh TripathiI believed I said this before, but look at one of the patches Param Hanji
made last year to get an idea of what needs to be done.
You're lacking quite a lot of glue code. Like I said 4 days ago,
hrt_shot() isn't being called anywhere in the OpenCL code, adding a #define
ain't gonna fix that.
Regards,
On Sat, Apr 8, 2017 at 7:23 AM, Vasco Alexandre da Silva Costa <
Post by Vasco Alexandre da Silva CostaThat patch on sf.net is six days old. I thought you made changes to it?
I already reviewed the original patch on April 4th.
On Fri, Apr 7, 2017 at 11:13 PM, Shailesh Tripathi <
Post by Shailesh TripathiHello,
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 <
You got a patch?
On Fri, Apr 7, 2017 at 5:31 PM, Shailesh Tripathi <
Post by Shailesh TripathiWhat could be the error now?
On Apr 6, 2017 1:00 AM, "Shailesh Tripathi" <
Post by Shailesh TripathiHello,
#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" <
Post by Vasco Alexandre da Silva CostaOn Tue, Apr 4, 2017 at 12:14 AM, Vasco Alexandre da Silva Costa <
Post by Vasco Alexandre da Silva CostaOn Mon, Apr 3, 2017 at 1:54 PM, Shailesh Tripathi <
Post by Shailesh TripathiHello,
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
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
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
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
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
--
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
https://lists.sourceforge.net/lists/listinfo/brlcad-devel