Hello Sir,
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.
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.
Thanks in advance!
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
On Sat, Mar 25, 2017 at 12:22 PM, Shailesh Tripathi <
shailesh.tripathi.ec...@itbhu.ac.in> wrote:
> Hello,
> 1. I am getting the same error "*Xlib: extension "GLX" missing on
> display ":0.0".*" with '*glxinfo*'. I will try to fix this issue.
> 2. Meanwhile, is there a way test the code without 'OpenGL' support? I
> tried "*cmake ../brlcad-code -DBRLCAD_ENABLE_OPENGL=OFF*" but it is not
> helping.
>
> Regards
> Shailesh
>
> Shailesh Tripathi
> B.Tech. Part-IV
> Electronics Engineering
> IIT-BHU (Varanasi)
>
> On Sat, Mar 25, 2017 at 5:45 AM, Vasco Alexandre da Silva Costa <
> vasco.co...@gmail.com> wrote:
>
>> AFAIK OpenCL should work without OpenGL. But you are probably better off
>> installing OpenGL in the first place. You need to install the drivers
>> specific to your graphics hardware. Just installing some Mesa libraries is
>> not sufficient to get accelerated OpenGL support. You can then test if
>> OpenGL support is working with the 'glxinfo' command or running some OpenGL
>> program like 'glxgears'.
>>
>> On Fri, Mar 24, 2017 at 10:25 PM, Shailesh Tripathi <
>> shailesh.tripathi.ec...@itbhu.ac.in> wrote:
>>
>>> Hello,
>>> I am using CentOS 6.8. I compiled using "cmake ../brlcad-code
>>> -DBRLCAD_ENABLE_OPENGL=OFF" to turn off the functionality using OpenGL. In
>>> the compilation log "*OpenGl support(optional)......: OFF"*. But when I
>>> tried 'rt' command, the error shown is same. Is there somewhere else I need
>>> to change.
>>> I just deleted the build folder and built again using the cmake command.
>>>
>>> Please tell me how can I resolve the issue.
>>> Thanks in advance!
>>>
>>> Regards
>>> Shailesh
>>>
>>> Shailesh Tripathi
>>> B.Tech. Part-IV
>>> Electronics Engineering
>>> IIT-BHU (Varanasi)
>>>
>>> On Sat, Mar 25, 2017 at 1:58 AM, Christopher Sean Morrison <
>>> brl...@mac.com> wrote:
>>>
>>>>
>>>> On Mar 24, 2017, at 4:22 PM, Shailesh Tripathi <
>>>> shailesh.tripathi.ec...@itbhu.ac.in> wrote:
>>>>
>>>> Hello Sir,
>>>>
>>>>> You will either want to make sure GLX is installed properly or compile
>>>>> with OpenGL support disabled
>>>>>
>>>> Ok I will check the GLX install again.
>>>> How to disable OpenGL support for 'rt’?
>>>>
>>>>
>>>> It’s an option during cmake. Look for OpenGL in the top-level INSTALL
>>>> file.
>>>>
>>>> Cheers!
>>>> Sean
>>>>
>>>>
>>>> ------------------------------------------------------------
>>>> ------------------
>>>> 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