IRC log for #brlcad on 20160630

00:12.11 *** join/#brlcad wzxvvaaarikfwzhl (~armin@dslb-092-075-155-246.092.075.pools.vodafone-ip.de)
00:51.31 boj brlcad, thanks, I will try it asap.:)
00:52.49 brlcad that uses the existing (new) tessellation, but don't know how/if it handles single surfaces
00:53.09 brlcad should work or should be easy to get working if it does not, but I'd expect it to just work
01:06.24 boj brlcad, what is shaded mode used for?
01:14.47 boj I just tried draw -m1, for BoT and brep(thickness = 2), they all show a black rendering result, and what kind of information can I get from the shaded mode rendering?
01:18.23 asad_ brlcad
01:18.56 asad_ have you seen my source, I am able to read the g filea and print out the title from db_open()
01:22.07 asad_ https://github.com/asadpiz/brlcad-viewer
01:55.54 *** join/#brlcad Zitar (~Zitar@31.203.113.156)
02:07.59 *** join/#brlcad boj (~boj@210.75.252.226)
03:15.49 brlcad boj: did you try in mged or archer? in mged, you have to have an ogl display, turn on lighting, and turn on the depth buffer
03:16.24 brlcad maybe not the depth buffer, but definitely lighting and display lists if you draw anything really complex
03:22.22 brlcad asad_: I'd not seen in a few days, but just checked it out now
03:27.17 asad_ yeah just see it at your convenience
03:27.58 asad_ I just have the issue of calling db_open now. because it takes file name as an argument and we don't have the g file anymore when running the executable
03:34.11 *** join/#brlcad sniok (~sniok@89.252.2.135)
03:57.14 boj brlcad, I tried in mged, and enable lighting and depth(by selecting Misc-Z buffer and Misc-Lighting), it works now..but I want to know how to analyze the result and get what information I want related to plate mode? because it seems that in shaded mode, no difference between the rendering of plate mode and normal mode?
04:02.30 *** join/#brlcad Zitar (~Zitar@31.203.113.156)
04:09.14 *** join/#brlcad tandoorichick (~rakshika@103.207.143.46)
04:17.33 brlcad asad_: right, so the trick will be to figure out how to initialize a db_i manually (like db_open is doing)
04:19.36 brlcad what will probably work best is to call db_open_inmem, then set dbip->dbi_mf and dbip->dbi_eof to the bytes you read and size of the data
04:19.49 brlcad haven't tested it, but that might just work
04:23.24 brlcad once you set the mf pointer to the .g data, hopefully db_dirbuild will work and dbip->dbi_title gets set
04:24.09 brlcad boj: what do you mean by "analyze the result"? shaded mode is just sending triangles to the opengl driver for visualization
04:24.39 brlcad which by default will look awefully similar to a rendering, but they are completely different methods
04:50.15 *** join/#brlcad Zitar_ (~Zitar@31.203.113.156)
04:55.20 *** join/#brlcad Zitar_ (~Zitar@31.203.113.156)
05:07.43 *** join/#brlcad KimK (~Kim__@2600:8803:7a82:b200:4a5b:39ff:fe0b:57d2)
06:17.43 *** join/#brlcad amarjeet (~amarjeet@103.59.244.213)
06:18.21 boj brlcad, what I mean is, how can I use the shaded rendering mode to test the plate mode nurbs ray tracing? :)
06:18.35 *** join/#brlcad shubham (6881c068@gateway/web/freenode/ip.104.129.192.104)
06:42.27 *** join/#brlcad teepee_ (~teepee@unaffiliated/teepee)
07:42.01 boj it seems that gqa does not work well for me, I try a plate mode plate(BoT), and pose it in top view(see all the triangles), then run 'gqa -Av plate.s' in mged.. the program does not respond.
08:00.27 *** join/#brlcad amarjeet (~amarjeet@202.164.53.117)
08:10.08 *** join/#brlcad teepee] (bc5c2134@gateway/web/freenode/ip.188.92.33.52)
08:19.20 *** join/#brlcad KimK (~Kim__@2600:8803:7a82:b200:4a5b:39ff:fe0b:57d2)
09:06.41 *** join/#brlcad maths22_ (~maths22@unaffiliated/maths22)
09:18.37 *** join/#brlcad amarjeet (~amarjeet@202.164.53.117)
12:01.44 *** join/#brlcad sniok (~sniok@89.252.2.135)
12:29.58 *** join/#brlcad asad_ (~asad00@host10-2.natpool.mwn.de)
12:42.35 *** join/#brlcad sniok (~sniok@89.252.2.135)
12:59.05 *** join/#brlcad yorik (~yorik@179.111.96.67)
13:05.51 *** join/#brlcad boj (~boj@210.75.252.226)
13:44.41 *** join/#brlcad d_rossberg (~rossberg@104.225.5.10)
13:53.30 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
14:11.24 *** join/#brlcad amarjeet (~amarjeet@101.211.218.5)
14:32.14 *** join/#brlcad Mathnerd314 (~quassel@supertux/Mathnerd314)
15:51.48 *** join/#brlcad amarjeet (~amarjeet@101.211.218.5)
16:04.33 Notify 03BRL-CAD:ejno * 68214 (brlcad/trunk/include/brep/bbnode.h brlcad/trunk/include/brep/ray.h and 4 others): add 'const'
17:03.28 *** join/#brlcad jordi_sayol (~jordi@180.133.19.95.dynamic.jazztel.es)
17:09.57 *** join/#brlcad sniok (~sniok@89.252.2.135)
17:50.26 *** join/#brlcad Mandeep_Singh (~mandeep@59.96.141.132)
18:06.49 Notify 03BRL-CAD Wiki:Tandoorichick * 9776 /wiki/User:Tandoorichick/GSoC2016/Logs: /* Development Logs */
18:16.51 *** join/#brlcad sniok (~sniok@89.252.2.135)
18:48.16 *** join/#brlcad Zitar (~Zitar@94.128.97.45)
18:48.17 *** join/#brlcad Zitar_ (~Zitar@94.128.97.45)
18:59.48 jordi_sayol on trunk, when I set prefix dir I got this error:
18:59.52 jordi_sayol $ cmake -DCMAKE_INSTALL_PREFIX=/usr/brlcad
18:59.59 jordi_sayol $ make
19:00.02 jordi_sayol ....
19:00.23 jordi_sayol [100%] Built target NIST_MBE_PMI_6.g
19:00.23 jordi_sayol Scanning dependencies of target NIST_MBE_PMI_11.g
19:00.23 jordi_sayol [100%] Generating ../../share/db/NIST_MBE_PMI_11.g
19:00.23 jordi_sayol [100%] Built target NIST_MBE_PMI_11.g
19:00.23 jordi_sayol Scanning dependencies of target NIST_MBE_PMI_7-10.g
19:00.23 jordi_sayol [100%] Generating ../../share/db/NIST_MBE_PMI_7-10.g
19:00.25 jordi_sayol db/nist/CMakeFiles/NIST_MBE_PMI_7-10.g.dir/build.make:61: recipe for target 'share/db/NIST_MBE_PMI_7-10.g' failed
19:00.30 jordi_sayol make[2]: *** [share/db/NIST_MBE_PMI_7-10.g] Error 139
19:00.32 jordi_sayol CMakeFiles/Makefile2:39004: recipe for target 'db/nist/CMakeFiles/NIST_MBE_PMI_7-10.g.dir/all' failed
19:00.34 jordi_sayol make[1]: *** [db/nist/CMakeFiles/NIST_MBE_PMI_7-10.g.dir/all] Error 2
19:00.36 jordi_sayol Makefile:160: recipe for target 'all' failed
19:00.38 jordi_sayol make: *** [all] Error 2
19:00.50 jordi_sayol No compilation problem with the default prefix
19:17.20 Zitar_ build filed on 100% ha?
19:19.37 *** join/#brlcad sniok (~sniok@89.252.2.135)
19:39.13 Notify 03BRL-CAD:ejno * 68215 (brlcad/trunk/src/libbrep/opennurbs_ext.cpp brlcad/trunk/src/librt/primitives/brep/brep.cpp): make the existing const cast of localsurf more visible
19:51.47 *** join/#brlcad Zitar (~Zitar@94.128.97.45)
19:51.48 *** join/#brlcad Zitar_ (~Zitar@94.128.97.45)
19:59.05 starseeker boj: you might need to specify a grid range
19:59.11 starseeker (for gqa)
19:59.22 starseeker if it's shooting too many rays, it can hang
20:00.37 starseeker for jordi_sayol when they return: the odds are that there is a pre-existing build of BRL-CAD in /usr/brlcad and the build is trying to pull libraries and plugins from there during the build due to how bu_brlcad_root et. al. work
20:01.15 starseeker if the /usr/brlcad directory is removed, things should work
20:03.09 starseeker the only robust way I know of to handle that would be to make a CMake wrapper script that sets BRLCAD_ROOT and then runs the conversion command
20:03.57 starseeker this is the same issue we have with the tcl scripts in Archer/MGED - if there's an install directory present where the build is planning to install it will pull (or try to pull) scripts from there instead of from the build dir
20:06.11 starseeker well hot diggity, OpenMesh has switched to a BSD license
20:11.17 starseeker looks to see if they still have the subdivision code in there...
20:16.59 starseeker sweet!
20:19.59 *** join/#brlcad merzo (~merzo@141-26-132-95.pool.ukrtel.net)
20:22.56 *** join/#brlcad merzo (~merzo@141-26-132-95.pool.ukrtel.net)
20:50.55 *** join/#brlcad merzo (~merzo@141-26-132-95.pool.ukrtel.net)
21:45.46 *** join/#brlcad teepee (~teepee@unaffiliated/teepee)
22:57.44 *** join/#brlcad teepee (~teepee@unaffiliated/teepee)
23:07.05 *** join/#brlcad Zitar (~Zitar@178.161.32.162)
23:17.35 *** join/#brlcad Zitar (~Zitar@37.37.225.84)
23:18.03 *** join/#brlcad ries (~ries@D979C7EF.cm-3-2d.dynamic.ziggo.nl)
23:19.49 Notify 03BRL-CAD:starseeker * 68216 brlcad/trunk/db/nist/CMakeLists.txt: Untested as yet on Windows or with distcheck-full, but try to set up the run of 3dm-g with BRLCAD_ROOT set to the build directory so we don't attempt to pull in obsolete (or non-existing) GCV plugins during 3dm-g execution. This is a brute-force solution wrapping a script around the running of the executable - if we have to do this more generally
23:19.51 Notify we'll want one script with arguments instead of a per-target scripting setup. For now, go with the direct solution to try to alleviate the build problem many folks are having.
23:19.53 Notify ...
23:20.56 starseeker that may fix it...
23:26.48 *** join/#brlcad Mandeep_Singh (~mandeep@59.96.141.132)
23:31.32 *** join/#brlcad kanzure (~kanzure@unaffiliated/kanzure)
23:42.24 *** join/#brlcad kanzure (~kanzure@unaffiliated/kanzure)
23:49.28 *** join/#brlcad Zitar (~Zitar@37.37.225.84)
23:51.26 *** join/#brlcad kanzure (~kanzure@unaffiliated/kanzure)

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