IRC log for #brlcad on 20150606

01:01.20 Notify 03BRL-CAD Wiki:MeShubham99 * 8574 /wiki/User:MeShubham99/GSoc15/log_developmen:
01:10.41 Notify 03BRL-CAD Wiki:MeShubham99 * 8575 /wiki/User:MeShubham99/GSoc15/log_developmen:
01:11.16 *** join/#brlcad LordOfBikes_ (~armin@dslc-082-083-186-100.pools.arcor-ip.net)
01:13.05 Notify 03BRL-CAD Wiki:MeShubham99 * 8576 /wiki/User:MeShubham99/GSoc15/log_developmen:
04:31.59 *** join/#brlcad merzo (~merzo@213-44-132-95.pool.ukrtel.net)
05:22.01 *** join/#brlcad merzo (~merzo@242-104-133-95.pool.ukrtel.net)
05:23.56 *** join/#brlcad milinda (~milinda@103.247.48.170)
05:25.28 milinda When I create a DM_TYPE_NULL or DM_TYPE_TXT the display manager window creation is successful. But I can't create DM_TYPE_X or DM_TYPE_QT.
05:26.49 milinda I think the problem is the preprocessor directives. What are the files that I need to include in order to satisfy the preprocessor dependencies for DM_TYPE_X or DM_TYPE_QT window creation?
05:27.33 milinda Sean Can you please answer to these questions :)
05:28.13 milinda What are these DM types? Where is the documentation for these DM types ?
05:29.50 milinda @Sean Once you have executed dm_open method successfully how can you create a dm window with a visible dm ? I mean how to view/show the dm that we have opened/created ?
06:51.45 *** join/#brlcad Gurwinder (75dc93ef@gateway/web/freenode/ip.117.220.147.239)
06:55.22 Gurwinder brlcad: Hi, I want to submit my work. How do I submit it? Is submitting g-pov.c file at sourceforge right?
07:30.07 *** join/#brlcad KimK (~Kim__@ip68-102-30-143.ks.ok.cox.net)
08:09.31 *** join/#brlcad dracarys983 (dracarys98@nat/iiit/x-ifzverxnmeipouoo)
08:35.18 *** join/#brlcad LordOfBikes (~armin@dslc-082-083-186-100.pools.arcor-ip.net)
11:47.17 Notify 03BRL-CAD Wiki:Ngassafinjap * 8577 /wiki/User:Amalia/Development_logs: /* Monday May 25th */
12:41.01 Notify 03BRL-CAD Wiki:Ngassafinjap * 8578 /wiki/User:Amalia/Development_logs: /* Monday May 25th */
14:02.47 *** join/#brlcad KimK_laptop_ (~Kim@wsip-70-186-238-216.ks.ks.cox.net)
14:05.44 *** join/#brlcad sofat (~sofat@202.164.45.208)
14:14.05 Notify 03BRL-CAD:starseeker * 65208 brlcad/trunk/src/libbu/opt.c: Clear set-but-unused warning
14:25.23 *** join/#brlcad KimK_laptop_ (~Kim@wsip-70-186-238-216.ks.ks.cox.net)
14:38.21 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
14:42.45 sofat brlcad, starseek1r today i am download the brlcad source code and i compile this then get this error
14:42.45 sofat /home/sofat/bbnn/src/libbu/opt.c: In function ‘bu_opt_parse’:
14:42.46 sofat /home/sofat/bbnn/src/libbu/opt.c:328:17: error: variable ‘ns’ set but not used [-Werror=unused-but-set-variable]
14:42.46 sofat <PROTECTED>
14:42.46 sofat <PROTECTED>
14:42.46 sofat cc1: all warnings being treated as errors
14:42.48 sofat make[2]: *** [src/libbu/CMakeFiles/libbu.dir/opt.c.o] Error 1
14:42.51 sofat make[1]: *** [src/libbu/CMakeFiles/libbu.dir/all] Error 2
14:42.53 sofat make: *** [all] Error 2
14:43.20 *** join/#brlcad KimK_laptop_ (~Kim@wsip-70-186-238-216.ks.ks.cox.net)
14:44.40 sofat I am always download the code but this time the source code gave me the error. So please tell how i solve this error.
14:48.43 *** join/#brlcad sofat_ (~androirc@223.225.227.254)
14:54.09 Notify 03BRL-CAD:starseeker * 65209 brlcad/trunk/src/conv/CMakeLists.txt: Get a minimalist building csg perplex/re2c/lemon setup in place to serve as a basis for subsequent work.
15:00.27 *** join/#brlcad KimK_laptop_ (~Kim@wsip-70-186-238-216.ks.ks.cox.net)
15:05.34 starseek1r sofat_: I got it
15:06.11 starseek1r although, for the record, the compiler told you what was going on: variable ns set but not used
15:06.22 starseek1r so you get rid of variable ns, and clear the warning
15:06.38 sofat_ Hmm?
15:06.43 starseek1r fixing build error
15:06.57 starseek1r you had asked earlier
15:08.14 sofat_ This is fresh code i just download and compile so i don't know how i solve this . this is not my fault
15:08.55 starseeker sofat_: understood. but it's still a learning opportunity
15:09.20 sofat_ Okay i will try to solve this
15:09.30 starseeker I already did
15:09.35 starseeker r65208
15:09.57 starseeker so just do an update again and it should go away
15:12.14 starseeker sofat_: if you run into another situation like that where the latest BRL-CAD doesn't build, you can always back up your local checkout to an earlier revision that does work
15:12.42 starseeker something like: svn update -r62000
15:13.20 starseeker the reason I was explaining the compiler message was you had asked how to "solve the error"
15:13.50 starseeker if you just want to "avoid the error" instead for web development you can back up to a revision you know to work until someone fixes the main build
15:58.13 Notify 03BRL-CAD Wiki:MeShubham99 * 8579 /wiki/User:MeShubham99/GSoc15/log_developmen: /* Week 2 */
16:43.40 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
16:52.05 *** join/#brlcad sofat (~sofat@202.164.45.208)
17:30.47 *** join/#brlcad KimK_laptop (~Kim@wsip-70-186-238-216.ks.ks.cox.net)
17:39.35 *** join/#brlcad Gurwinder_ (75dc93ef@gateway/web/freenode/ip.117.220.147.239)
17:44.46 milinda When I create a DM_TYPE_NULL or DM_TYPE_TXT the display manager window creation is successful. But I can't create DM_TYPE_X or DM_TYPE_QT.
17:45.30 Notify 03BRL-CAD:starseeker * 65210 (brlcad/trunk/include/bu/opt.h brlcad/trunk/src/conv/gcv/gcv.cpp brlcad/trunk/src/libbu/opt.c): Remove bu_opt_parse_str
17:46.28 milinda Can you answer to this @brlcad @ChanServ @starsseeker or anyone
17:46.55 *** join/#brlcad KimK_laptop (~Kim@wsip-70-186-238-216.ks.ks.cox.net)
17:47.08 milinda When I create a DM_TYPE_NULL or DM_TYPE_TXT the display manager window creation is successful. But I can't create DM_TYPE_X or DM_TYPE_QT.
17:47.16 milinda Why is that ?
17:58.15 *** join/#brlcad gaganjyot (~gaganjyot@27.255.240.62)
18:04.50 *** join/#brlcad KimK_laptop (~Kim@wsip-70-186-238-216.ks.ks.cox.net)
18:14.42 sofat starseeker, i want to submit one new updated patch on wordpress_xsl stylesheet but when i run svn add /path/to/xsl/file then they gave me error
18:14.55 sofat svn: E200033: Another process is blocking the working copy database, or the underlying filesystem does not support file locking; if the working copy is on a network filesystem, make sure file locking has been enabled on the file server
18:14.57 sofat svn: E200033: sqlite[S5]: database is locked
18:14.58 sofat svn: E200033: Additional errors:
18:14.58 sofat svn: E200033: sqlite[S5]: database is locked
18:16.59 sofat any solution for this ?
18:20.04 *** part/#brlcad gaganjyot (~gaganjyot@27.255.240.62)
18:33.59 starseeker sofat: you're trying to commit to the main svn repo?
18:34.23 starseeker that sounds like a problem on the sourceforge side, if that's the case...
18:34.43 starseeker milinda: apologies, trying to juggle multiple things
18:35.17 sofat ok i have another code of this so i try on that to create the patch file in correct manner.
18:35.22 milinda That's okay thank you very much for replying. :)
18:35.33 milinda So Can you please answer my questions
18:36.16 milinda @Starseeker I want to create a dm window in qt
18:36.22 starseeker milinda: since the non-graphical ones are successful, it sounds like some sort of context initialization
18:37.12 starseeker milinda: I see brlcad replied on the mailing list
18:37.23 starseeker milinda: this is the step file viewer, correct?
18:37.30 milinda yes
18:37.44 starseeker you're planning to use Qt?
18:37.49 milinda yes
18:38.19 starseeker my own suggestion would be to just go with their OpenGL widget, rather than use libdm
18:38.20 milinda So I should create the DM_TYPE_QT one right?
18:38.32 starseeker well... there are issues
18:38.36 milinda okay I thought of that
18:38.46 starseeker the DM_TYPE_QT dm is still relatively experimental
18:38.54 milinda I also figured out that libdm is so buggy.
18:38.57 starseeker and can't do shaded displays
18:39.20 starseeker milinda: it's not so much buggy (although it does have bugs) as challenging to use
18:39.48 milinda okay so is it okay I use something out of brlcad?
18:40.06 starseeker I'll reply to brlcad on the mailing list, but my suggestion would be to experiment with plain Qt OpenGL initially
18:40.43 starseeker if you're already relying on Qt to begin with, and you don't need libdm's extras, I'd start with Qt's OpenGL to get something up and running
18:40.59 milinda Okay thank you very much I am stuck at this point for more than a week now :)
18:41.49 starseeker I'll respond on the list, so follow that discussion
18:42.01 starseeker brlcad may have a different take
18:42.34 milinda okay brlcad is the one who told me to create a libdm window :)
18:42.40 starseeker winces
18:42.53 starseeker alright. Keep an eye on the list discussion
18:43.11 milinda I also think OpenGL implementation is good simple and clean implementation.
18:43.37 milinda Does libdm contains all the functionality to visualize CAD geometry files ?
18:44.01 starseeker milinda: in principle libdm may add extra flexibility, but it's a mean way to start - Qt should give you a basic OpenGL window virtually "for free", and my take would be we can introduce libdm later at need
18:44.31 starseeker not really - libdm is something of a "wrapper" across various drawing layers
18:45.17 starseeker only the OpenGL based ones can do "shaded display" (what most people will think of when they think 3D drawing) but the X and Qt backends can provide wireframe based visuals
18:46.56 milinda What you meant by "various drawing layers " ? Is it various drawing libraries ?
18:49.14 starseeker right - OpenGL, raw X, the Qt drawing layer, Tk canvas, etc.
18:55.10 milinda so libdm contains OpenGL?
18:59.25 starseeker it interfaces to OpenGL
19:00.06 starseeker there are two main layers for talking to OpenGL - the "ogl" interface which is X11 specific and needs GLX, and "wgl" which is specific to Windows
19:00.36 starseeker there's a newer one that targets OpenSceneGraph as a backend - "osgl" - but that's still experimental
19:01.17 starseeker the Qt backend is attempting (if I recall correctly) to use the Qt drawing canvas directly, without reference to OpenGL
19:01.47 starseeker which means we need to do shaded 3d display drawing ourselves in that backend (that will be slower than OpenGL)
19:02.14 starseeker it's a good fallback if OpenGL *isn't* available for some reason, but it's still a fallback
19:07.12 milinda This stepviewer has nothing to BRLCAD code right ? The requirement is to develop a simple light weight STEP Viewer which can visualize step files right ?
19:07.31 milinda And it should be standalone application
19:07.35 milinda correct >
19:07.36 milinda ?
19:14.37 *** join/#brlcad Shubham (6719e766@gateway/web/freenode/ip.103.25.231.102)
19:15.34 Shubham brlcad: I really wanted to talk about the editing rights on the github repository for OGV-meteor
19:20.26 starseeker milinda: that's my understanding, but you'll need some ability to triangulate NURBS surfaces if you want to view them (STEP uses NURBS for its basic geometry representation)
19:20.53 starseeker milinda: that means you'll need our ability to generate triangles that represent NURBS surfaces
19:21.02 starseeker (and hence our libraries)
19:21.12 starseeker but libdm doesn't encode that logic
19:21.16 starseeker that's librt and lower
19:23.15 sofat starseeker, i am submit my new patch on wordpress xsl style sheet please accept this as soon as possible. patch ticket number 374.
19:23.27 Notify 03BRL-CAD:starseeker * 65211 (brlcad/trunk/include/bu/opt.h brlcad/trunk/src/conv/gcv/gcv.cpp and 3 others): Eliminate the bu_opt_desc index parameter. Instead, base a help generation decision about whether two different desc lines are aliases on whether or not they are impacting the same set_var pointer.
19:24.47 milinda So what you are saying is we can OpenGL window to handle the graphics part. we need brlcad libraries to triangulate NURBS surfaces right ?
19:56.40 Notify 03BRL-CAD Wiki:Konrado DJ * 8580 /wiki/User:Konrado_DJ/GSoc2015/logs: /* GSoC 2015 development logs */
19:57.23 starseeker milinda: that's my understanding, unless brlcad has something different in mind
19:59.51 milinda okay thank you very much for your guidance @starseeker. Really appreciate your help.
20:00.45 milinda I will go with OpenGL window creation. If @brlcad has some different idea we can resolve it later. :)
20:04.46 Notify 03BRL-CAD:starseeker * 65212 (brlcad/trunk/include/bu/opt.h brlcad/trunk/src/conv/gcv/gcv.cpp and 3 others): Reorder option description elements.
20:34.55 *** join/#brlcad vasc (~VASC@bl12-221-134.dsl.telepac.pt)
20:35.19 *** join/#brlcad KimK_laptop (~Kim@wsip-70-186-238-216.ks.ks.cox.net)
20:40.00 Notify 03BRL-CAD:starseeker * 65213 (brlcad/trunk/CMakeLists.txt brlcad/trunk/doc/docbook/CMakeLists.txt and 21 others): Apply patch #374 from Hitesh Sofat for enabling php output from docbook. Modifications include having the PHP build off by default (user needs to configure with -DBRLCAD_EXTRADOCS_PHP=ON) and modifying the wordpress.xsl setup to work in an out-of-dir build
20:55.42 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
21:15.31 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
21:27.11 *** join/#brlcad andrei_il (~andrei@109.100.128.78)
21:49.23 Notify 03BRL-CAD Wiki:Deekaysharma * 8581 /wiki/Google_Summer_of_Code/2015: /* Online Geometry Viewer (OGV) */
22:35.55 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
22:39.49 Notify 03BRL-CAD Wiki:Deekaysharma * 8582 /wiki/User:Deekaysharma/logs:
23:21.55 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
23:45.49 *** join/#brlcad Shubham (6719e766@gateway/web/freenode/ip.103.25.231.102)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.