Re: [brlcad-devel] Raytrace Query: rt from command window

2017-03-24 Thread Shailesh Tripathi
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. Regard

Re: [brlcad-devel] Raytrace Query: rt from command window

2017-03-24 Thread Vasco Alexandre da Silva Costa
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 sup

Re: [brlcad-devel] Raytrace Query: rt from command window

2017-03-24 Thread Shailesh Tripathi
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 chan

Re: [brlcad-devel] Raytrace Query: rt from command window

2017-03-24 Thread Christopher Sean Morrison
> On Mar 24, 2017, at 4:22 PM, Shailesh Tripathi > 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.

Re: [brlcad-devel] Annotations: Implement support for 2D annotations, labels that can be added to geometry

2017-03-24 Thread Christopher Sean Morrison
> On Mar 23, 2017, at 4:11 PM, Shubham Rathore > wrote: > > Hello , > I had some questions regarding the annotations project. > > 1) Do we aim for manual or automatic annotations ? Either. Both are obviously useful. >2) How many labels should we aim for at first a

Re: [brlcad-devel] Raytrace Query: rt from command window

2017-03-24 Thread Shailesh Tripathi
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'? I need the 'rt' and 'rt -z1' to use OpenCL code. But in both the case I am getting the same error. Is

Re: [brlcad-devel] Raytrace Query: rt from command window

2017-03-24 Thread Christopher Sean Morrison
Not necessarily. BRL-CAD has a variety of windowing methods including direct X11 (without OpenGL), GLX, and other methods. You will either want to make sure GLX is installed properly or compile with OpenGL support disabled (assuming it’s not needed for some other aspect of the OpenCL code). C

Re: [brlcad-devel] Raytrace Query: rt from command window

2017-03-24 Thread Shailesh Tripathi
If OpenGL libraries are not installed correctly then shouldn't there be issue with raytracer launched from graphics window also? Shailesh Tripathi B.Tech. Part-IV Electronics Engineering IIT-BHU (Varanasi) On Fri, Mar 24, 2017 at 10:36 PM, Shailesh Tripathi < shailesh.tripathi.ec...@itbhu.ac.in>

Re: [brlcad-devel] Raytrace Query: rt from command window

2017-03-24 Thread Shailesh Tripathi
Hello, I am using centos 6.8 For OpenGL, should I install the libraries from mesa-libgl, GLEW or freeglut? Regards Shailesh Shailesh Tripathi B.Tech. Part-IV Electronics Engineering IIT-BHU (Varanasi) On Fri, Mar 24, 2017 at 10:29 PM, Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrot

Re: [brlcad-devel] Raytrace Query: rt from command window

2017-03-24 Thread Vasco Alexandre da Silva Costa
Hello, A proper answer to your question requires more information to be provided. Which operating system and version are you using, if it's Linux which distro, etc. >From the errors you got, it looks like you don't have OpenGL properly installed on your system. On Fri, Mar 24, 2017 at 4:27 PM, Sh

[brlcad-devel] Raytrace Query: rt from command window

2017-03-24 Thread Shailesh Tripathi
Hello, I was trying this tutorial for learning mged " http://brlcad.org/VolumeII-Introduction_to_MGED.pdf";. The raytrace works as expected if launched from graphics window. But how to launch the same from command window. I just typed 'rt' and it shows the following error: *Xlib: extension "GLX"