Re: [brlcad-devel] BRL-CAD's OGV

2016-03-19 Thread Gauravjeet Singh
On Sun, Mar 20, 2016 at 9:48 AM, Amrinder Singh wrote: > Please reply as I'm stucked on this error from long time. Hey, Amrinder It seems you are on a wrong codebase, the latest code is on branch "GSOC2015-merged" of GitHub. Get the latest code from the following link: https://github.com/BRL-CAD

[brlcad-devel] Introducing myself

2016-03-19 Thread Gauravjeet Singh
Many of you already know me here. My name is Gauravjeet Singh. I was welcomed in this community in late 2012 via Google Code In (GCI). I was a GCI 2012 student and then acted as a GCI mentor of BRL-CAD for next two consecutive years (2013 & 2014). Now I am willing to code with this community via G

[brlcad-devel] GSOC Propsal Review

2016-03-19 Thread Param Hanji
Hello all, Here's a link to the first draft of my GSOC propsal. Kindly have a look at it and let me know what you think. :) https://docs.google.com/document/d/1kyVGZAqAKm-scHCUFBQrB2nyrG20xRTOINSMAQtPC6I/edit?usp=sharing Thank You Param Hanji -

Re: [brlcad-devel] GSoC Patch ideas

2016-03-19 Thread Shubham Chauhan
I would like to use this thread to inform everyone related to OGV as a GSoC 2016 project (students, mentors, previous students and mentors) that the task list or the TODO list for Online Geometry Viewer has been updated here: http://brlcad.org/wiki/Online_Geometry/TODO Although previous content has

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
On Thu, Mar 17, 2016 at 7:54 PM, Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Thu, Mar 17, 2016 at 7:47 PM, Christopher Sean Morrison > wrote: > >> >> >> On Mar 17, 2016, at 05:33 AM, Param Hanji >> wrote: >> >> Great. I'm happy to help! >> Also is ehy running fine in Open

Re: [brlcad-devel] BRL-CAD's OGV

2016-03-19 Thread Amrinder Singh
On Wed, Mar 16, 2016 at 3:31 PM, Inderpreet Singh wrote: > On Tue, Mar 15, 2016 at 10:35 PM, Shubham Chauhan > wrote: > > If it says that Meteor sets the doctype html tag for you then you must > try > > removing the tag from the second line of the index.html > file > > it is pointing to. Try th

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
On Thu, Mar 17, 2016 at 7:47 PM, Christopher Sean Morrison wrote: > > > On Mar 17, 2016, at 05:33 AM, Param Hanji > wrote: > > Great. I'm happy to help! > Also is ehy running fine in OpenCL mode? My generated PNG is just a blank > black screen with no figure. The terminal logs don't seem to indi

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
On Wed, Mar 16, 2016 at 8:15 PM, Param Hanji wrote: > Hi Vasco Costa, > > Yes -z 1 did it. :) > > Now fopen() throws an error! Function clt_read_code() in primitiive_util.c > fopen() returns a NULL. I included and printed the error as > described here > > > http://stackoverflow.com/questions/863

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
Fixed it On Sun, Mar 20, 2016 at 6:47 AM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > It doesn't compile. It seems you forgot a function declaration in a header > file: > > .../brlcad/trunk/src/librt/primitives/primitive_util.c: In function > ‘clt_solid_pack’: > .../brlcad/tru

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
It doesn't compile. It seems you forgot a function declaration in a header file: .../brlcad/trunk/src/librt/primitives/primitive_util.c: In function ‘clt_solid_pack’: .../brlcad/trunk/src/librt/primitives/primitive_util.c:648:25: error: implicit declaration of function ‘clt_epa_pack’ [-Werror=impl

[brlcad-devel] (no subject)

2016-03-19 Thread Jawadh Salih Rifath
Is there any Better editor to debug the programs. CMake is not fixing from me. I got the error as CMake Error at CMakeLists.txt:465 (_message): Attempting to ignore non-existent file INTERFACE, in directory H:/University/GSOC/2016/Sources/brlcad-7.24.0/src/other/xmltools/libxml Call Stack (most r

Re: [brlcad-devel] An Explanation

2016-03-19 Thread Daniel Roßberg
https://en.wikipedia.org/wiki/Ray_trace for example Daniel 2016-03-17 7:47 GMT+01:00 Jawadh Salih Rifath : > I am sorry for asking this. I searched sources to get the idea of ray trace > but I couldn't. So please give me a source to get the idea of ray trace. You > have mentioned that look at vie

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
On Wed, Mar 16, 2016 at 7:36 PM, Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Wed, Mar 16, 2016 at 7:28 PM, Param Hanji > wrote: > >> Hi, >> >> Installing the AMD SDK gave me OpenCL 1.2 support. I managed to configure >> cmake using cmake-gui and built successfully. But ray

Re: [brlcad-devel] Debug Brl CAD source

2016-03-19 Thread Margaret Hu
I can successfully download and compile on Ubuntu 14.04, I suggest the following procedure 0. install Ubuntu 14.04 LTS, make sure you have svn, g++, make, cmake (by sudo apt-get install ...) 1. svn checkout https://svn.code.sf.net/p/brlcad/code/brlcad/trunk brlcad 2. cd brlcad and examine the CMak

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
On Wed, Mar 16, 2016 at 8:26 PM, Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Wed, Mar 16, 2016 at 8:15 PM, Param Hanji > wrote: > >> Hi Vasco Costa, >> >> Yes -z 1 did it. :) >> >> Now fopen() throws an error! Function clt_read_code() in >> primitiive_util.c fopen() return

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
On Fri, Mar 18, 2016 at 1:17 PM, Param Hanji wrote: > Hello, > > On Thu, Mar 17, 2016 at 4:57 AM Vasco Alexandre da Silva Costa < > vasco.co...@gmail.com> wrote: > >> On Wed, Mar 16, 2016 at 9:44 PM, Param Hanji >> wrote: >> >> You will need a lot of time to port bool.c so you need to schedule >

Re: [brlcad-devel] REF: Help Understand the Code.

2016-03-19 Thread benson chepkwony
Hi Costa,I have a question! What version of OpenCL version does the Brlcad applications renders on? If my computer has a different version does it matter or it get supported? I installed OpenCL 2.0 (Version) including; All the CL/.. header files. Because currently my computer is; Windows 10, and

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
On Wed, Mar 16, 2016 at 9:12 PM, Param Hanji wrote: > Yes, there was an error message on the terminal. Manually copying > everything to my current directory worked. Compilation starts but throws a > "pixel fb_write error". I think this is from rt/do.c from clt_run(). > That's weird. If you are ou

Re: [brlcad-devel] Debug Brl CAD source

2016-03-19 Thread Jawadh Salih Rifath
I first tried it using ubuntu 15.04 but it fails with the compilation. and I used clion as the editor for linux but it did not work. And then I shifted the code to windows (10) so I used CMake gui to configure with visual studio 15 64bit. But when I configure it it shows me errors in CMake files. H

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
On Thu, Mar 17, 2016 at 7:54 PM, Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Thu, Mar 17, 2016 at 7:47 PM, Christopher Sean Morrison > wrote: > >> >> >> On Mar 17, 2016, at 05:33 AM, Param Hanji >> wrote: >> >> Great. I'm happy to help! >> Also is ehy running fine in Open

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
Hello, On Thu, Mar 17, 2016 at 4:57 AM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Wed, Mar 16, 2016 at 9:44 PM, Param Hanji > wrote: > > You will need a lot of time to port bool.c so you need to schedule > appropriately. That code is rife with gotos, structs with pointer

[brlcad-devel] GSoC Patch ideas

2016-03-19 Thread Christopher Sean Morrison
-- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140___

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
Yes, there was an error message on the terminal. Manually copying everything to my current directory worked. Compilation starts but throws a "pixel fb_write error". I think this is from rt/do.c from clt_run(). I'm really unfamiliar with this bit of code. Any idea how to fix this? On Thu 17 Mar, 2

Re: [brlcad-devel] An Explanation

2016-03-19 Thread Niks Chaudhary
Plz remove me from this list On 16-Mar-2016 1:20 pm, "Jawadh Salih Rifath" wrote: > Please tel me what is meant by this. > use the knowledge inherent in the ray about what object it's returning the > pixel from to group pixels into groups based on objects. From there, the > set of xy points in im

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
I can't apply your patch to SVN trunk. I get this: " ~/brlcad/trunk$ patch -p0 < epa.patch patching file src/librt/librt_private.h patch: malformed patch at line 10: #endif " Did you copy and paste the diff output or something? It seems like the file was messed up somehow. >From my cursory

Re: [brlcad-devel] An Explanation

2016-03-19 Thread Jawadh Salih Rifath
Got it sir. I'll get if anything. Thank you. On 16 Mar 2016 17:35, "Daniel Roßberg" wrote: > > So there are three main obstacles that we have to achieve. > > 1. Identifying the objects (Either polygons or NURBS) separately instead > of > > going into pixels of the image space > > You need to lear

Re: [brlcad-devel] Debug Brl CAD source

2016-03-19 Thread Margaret Hu
I see that in your error message you have H:/University/GSOC/2016/Sources/brlcad-7.24.2 - This does not look right, I have BRL-CAD Release 7.25.0, Build 20160308 did you get the source from svn checkout? if you try to compile from the downloaded tar.gz file it may not work. On Thu, Mar 17,

Re: [brlcad-devel] An Explanation

2016-03-19 Thread Jawadh Salih Rifath
I am sorry for asking this. I searched sources to get the idea of ray trace but I couldn't. So please give me a source to get the idea of ray trace. You have mentioned that look at view.c and viewedge.c . I failed to find any algorithm of raytrace. please guide me thank you On 16 March 2016 at 23

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
Here's the new patch. On Sat, Mar 19, 2016 at 6:32 PM Param Hanji wrote: > Oops I did manually edit the patch. I ran diff again and uploaded the > patch without changes. I also changed the ID used to 19. > > On Sat 19 Mar, 2016, 2:51 AM Vasco Alexandre da Silva Costa, < > vasco.co...@gmail.com>

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
Oops I did manually edit the patch. I ran diff again and uploaded the patch without changes. I also changed the ID used to 19. On Sat 19 Mar, 2016, 2:51 AM Vasco Alexandre da Silva Costa, < vasco.co...@gmail.com> wrote: > On Fri, Mar 18, 2016 at 9:14 PM, Vasco Alexandre da Silva Costa < > vasco.c

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
On 17-Mar-2016 6:47 AM, "Vasco Alexandre da Silva Costa" < vasco.co...@gmail.com> wrote: > > On Wed, Mar 16, 2016 at 11:26 PM, Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: >> >> gal >> On Wed, Mar 16, 2016 at 9:44 PM, Param Hanji wrote: >>> >>> Yeah sending the output to the file

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
On Wed, Mar 16, 2016 at 9:44 PM, Param Hanji wrote: > Yeah sending the output to the file fixed it. I'll add in my > implementation for epa and submit a patch soon. > Oh ok. If you don't define an output that will happen. Now I can reproduce that issue here as well. I updated to the latest BRL-C

Re: [brlcad-devel] An Explanation

2016-03-19 Thread Daniel Roßberg
> So there are three main obstacles that we have to achieve. > 1. Identifying the objects (Either polygons or NURBS) separately instead of > going into pixels of the image space You need to learn the concept of ray-trace and ray-trace generated images for comprehension. Then "With a ray-trace you

Re: [brlcad-devel] GSOC'16: Benchmark Performance Database

2016-03-19 Thread Ankesh Anand
Hi Raghav, I worked on the project during GSOC '14. You can have a look at the previous work here: https://github.com/BRL-CAD/benchmark. There has been a significant work done on the project and if you are comfortable with the tech stack in use, it would make sense to carry the work forward. Rega

Re: [brlcad-devel] An Explanation

2016-03-19 Thread Daniel Roßberg
Niks, You may want to have a look at https://lists.sourceforge.net/lists/listinfo/brlcad-devel Unsubscribing your e-mail address from a mailing list is something you should do by yourself. Only in very special cases you could ask an administrator. (I'm not an administrator.) Regards, Daniel

[brlcad-devel] Current progress with mesh healing reagrding BoTs

2016-03-19 Thread Rakshika Bagavathy
Hello all, Current features in BoT, with possible modifications: 1. A struct bot_edge exists with attributes as the destination vertex, use_count - no. of faces using it (0/1/2), next edge. *Suggestion*: To add the faces using it. This will aid the face adjacencies to be set more easily. If at

Re: [brlcad-devel] Qt Display Manager

2016-03-19 Thread Jasvir Singh
On Fri, Mar 11, 2016 at 11:06 AM, Clifford Yapp wrote: > http://screencloud.net/v/ori3 >> >> Can anyone please help me to figure it out? > > That looks like it's just the placeholder OpenGL Qt widget not getting > updated - remember, there's no drawing activity going on so the canvas > area is not

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Christopher Sean Morrison
-- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140___

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
Hi, My parallel epa still shows up a black screen. Is there anything wrong with my code? I looked hard for errors but couldn't find anything.I'll send you my patch. Thanks! On Fri, Mar 18, 2016 at 3:06 AM Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Thu, Mar 17, 2016 at

Re: [brlcad-devel] GSoC 2016 (Introduction)

2016-03-19 Thread Amritpal Singh
On Mon, Mar 14, 2016 at 11:08 PM, Charlie Stirk wrote: > No, you need to look at how IfcOpenShell does the IFC implicit geometry with > OpenCasCade. Ok. >> Now what we can do for starting this project? > > > You need to understand what you need to do before you start doing. Do more > research.

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
Yeah sending the output to the file fixed it. I'll add in my implementation for epa and submit a patch soon. Also, I was wondering if my GSOC proposal could include accelerating some more primitives(perhaps even all). This will buy me time to get use to the BRL-CAD codebase and also enable me to

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Param Hanji
On Fri, Mar 18, 2016 at 6:47 PM Param Hanji wrote: > > I'll start looking into the code as soon as i can. Is there any resource I > can refer to get a brief high level understanding of how ray tracing > occurs. I have no knowledge of computer graphics and even theoretical > resources pertaining t

Re: [brlcad-devel] Debug Brl CAD source

2016-03-19 Thread Андрій Наюк
Hi. What type of platform do you use? With what errors your configuration is failing? 2016-03-17 12:52 GMT+02:00 Jawadh Salih Rifath : > I have downloaded brlcad source to review and analyse for my project. But > configuration is failing always. Is there any specific way to debug the > code. I

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
On Thu, Mar 17, 2016 at 8:49 PM, Christopher Sean Morrison wrote: > > > On Mar 17, 2016, at 03:55 PM, Vasco Alexandre da Silva Costa < > vasco.co...@gmail.com> wrote: > > The problem is the material lighting code. The results are not the same. > In OpenCL mode it renders that ehy in a really dark

Re: [brlcad-devel] Debug Brl CAD source

2016-03-19 Thread Christopher Sean Morrison
> On Mar 17, 2016, at 12:55 PM, Jawadh Salih Rifath > wrote: > > Yeah I have done accordingly. But still it is not working. CMakeFile shows an > error. It looks like you're using a source tarball instead of an svn checkout. Even if an svn checkout fails, I encourage you to diagnose and fi

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
On Wed, Mar 16, 2016 at 9:32 PM, Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Wed, Mar 16, 2016 at 9:12 PM, Param Hanji > wrote: > >> Yes, there was an error message on the terminal. Manually copying >> everything to my current directory worked. Compilation starts but throw

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
On Wed, Mar 16, 2016 at 11:26 PM, Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > gal > On Wed, Mar 16, 2016 at 9:44 PM, Param Hanji > wrote: > >> Yeah sending the output to the file fixed it. I'll add in my >> implementation for epa and submit a patch soon. >> > > Oh ok. If you

[brlcad-devel] GSOC'16: Benchmark Performance Database

2016-03-19 Thread Raghav Jajodia
Hello BRL-CAD group!, I am Raghav Jajodia, final year Computer Science undergraduate at BITS Pilani, India. I wish to express my interest in working on project Benchmark Performance Database during summer. I have good experience with Web development, both front-end and backend, hence I think I can

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Christopher Sean Morrison
-- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140___

Re: [brlcad-devel] Help understanding code

2016-03-19 Thread Vasco Alexandre da Silva Costa
I meant of course "failed to read OpenCL code file (solver.cl)". On Wed, Mar 16, 2016 at 8:32 PM, Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > On Wed, Mar 16, 2016 at 8:26 PM, Vasco Alexandre da Silva Costa < > vasco.co...@gmail.com> wrote: > >> On Wed, Mar 16, 2016 at 8:15 PM

Re: [brlcad-devel] An Explanation

2016-03-19 Thread Niks Chaudhary
Plz remove me from this list On 16-Mar-2016 1:20 pm, "Jawadh Salih Rifath" wrote: Please tel me what is meant by this. use the knowledge inherent in the ray about what object it's returning the pixel from to group pixels into groups based on objects. From there, the set of xy points in image spac