IRC log for #brlcad on 20160517

00:21.44 Notify 03BRL-CAD:starseeker * 67901 (brlcad/trunk/CHANGES brlcad/trunk/include/bu/file.h and 11 others): Do some bu_*_argv -> bu_argv_* conversions. There are a couple others, but want to double check that they should be renamed - bu_vls_from_argv, for example, fits that regex but seems appropriately named...
00:25.27 Notify 03BRL-CAD:starseeker * 67902 (brlcad/trunk/CHANGES brlcad/trunk/TODO and 4 others): bu_dir_list -> bu_file_list
00:43.20 Notify 03BRL-CAD:starseeker * 67903 (brlcad/trunk/include/bu/uuid.h brlcad/trunk/regress/repository.sh and 3 others): qsort -> bu_sort was already in HACKING - add it to the regress-repository list and make appropriate tweaks. The glob.c file is not active yet and it will be a while before it is, so just remove it until we need it.
00:52.31 Notify 03BRL-CAD:starseeker * 67904 brlcad/trunk/src/rt/read-rtlog.c: make array size match format string size
00:53.19 Notify 03BRL-CAD:starseeker * 67905 brlcad/trunk/src/rt/do.c: make array size match format string size
00:55.03 Notify 03BRL-CAD:starseeker * 67906 brlcad/trunk/src/conv/off/off-g.c: make array size match format string size
00:55.58 Notify 03BRL-CAD:starseeker * 67907 brlcad/trunk/TODO: got qsort
00:59.04 starseeker brlcad: How did you want to handle sphflake.c ? I recall you mentioned something about using a trick of multiple strings to make math work with a #define for length...
00:59.59 Notify 03BRL-CAD:starseeker * 67908 brlcad/trunk/src/conv/euclid/euclid-g.c: make array size match format string size
01:00.43 Notify 03BRL-CAD:starseeker * 67909 brlcad/trunk/src/libged/gqa.c: make array size match format string size
01:03.44 Notify 03BRL-CAD:starseeker * 67910 (brlcad/trunk/src/shapes/bolt.c brlcad/trunk/src/shapes/gastank.c and 4 others): make array size match format string size
01:05.50 *** join/#brlcad teepee_ (~teepee@unaffiliated/teepee)
01:06.05 Notify 03BRL-CAD:starseeker * 67911 brlcad/trunk/src/util/plot3rot.c: array size too small
01:08.04 Notify 03BRL-CAD:starseeker * 67912 brlcad/trunk/src/nirt/nirt.c: make array size match format string size
01:09.20 *** join/#brlcad LordOfBikes (~armin@dslb-092-074-236-158.092.074.pools.vodafone-ip.de)
01:09.24 Notify 03BRL-CAD:starseeker * 67913 brlcad/trunk/src/conv/nmg/asc-nmg.c: make array size match format string size
01:13.56 Notify 03BRL-CAD:starseeker * 67914 brlcad/trunk/src/util/ttcp.c: Make sure we end up with long int for %ld (didn't do so on openbsd)
01:14.43 starseeker brlcad: similar situation in libged/loadview.c
01:15.54 starseeker ditto libged/clone.c
01:18.00 Notify 03BRL-CAD:starseeker * 67915 brlcad/trunk/src/proc-db/molecule.c: make array size match format string size
01:18.56 starseeker OK, I think it's down to proc-db/sphflake.c, libged/loadview.c and libged/clone.c
01:36.17 Notify 03BRL-CAD:brlcad * 67916 brlcad/trunk/TODO: oops... those were my own notes, not release stoppers.
01:37.37 Notify 03BRL-CAD:starseeker * 67917 brlcad/trunk/doc/docbook/system/mann/search.xml: Add the best available example (so far) of how to achieve dbfind-like output with search.
01:38.37 brlcad yeah, sorry .. I only meant to commit the bottom changes in TODO
01:38.54 brlcad the top ones were just some notes I threw in quick to not forget them
01:38.59 brlcad still good changes :)
02:10.21 Stragus Compilation-time strlen(), eh... I want constant expressions in C, darn it! :)
02:11.44 Stragus Seems silly to switch from C to C++ just for constexpr
03:04.46 starseeker O.o https://github.com/GPUOpen-LibrariesAndSDKs/FireRays_SDK
03:06.49 starseeker wonder if we could hook in librt...
03:45.44 Stragus I thought the problem was CSG raytracing?
04:14.33 Notify 03BRL-CAD Wiki:Catchchaos * 9712 /wiki/Google_Summer_of_Code/2016: /* GPGPU Support for Boolean Evaluation Used in Ray Tracing */
04:25.59 Notify 03BRL-CAD Wiki:Catchchaos * 9713 /wiki/Google_Summer_of_Code/2016:
06:52.59 Notify 03BRL-CAD:brlcad * 67918 brlcad/trunk/NEWS: cezar's last name has an l
06:54.26 *** join/#brlcad Shalom (~Shalom@122.169.223.142)
07:28.20 *** join/#brlcad teepee_ (~teepee@unaffiliated/teepee)
07:31.31 Notify 03BRL-CAD:brlcad * 67919 brlcad/trunk/include/common.h: stub in the canonical macros for wrapping common preprocessor string operations. these replace bu's, minimally impacting.
07:34.01 *** join/#brlcad d_rossberg (~rossberg@104.225.5.10)
07:48.58 Notify 03BRL-CAD:brlcad * 67920 brlcad/trunk/include/common.h: include common example use cases for the stringification/concat macros
07:53.45 *** join/#brlcad merzo (~merzo@user-94-45-58-141.skif.com.ua)
08:34.13 *** join/#brlcad teepee` (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
09:09.02 *** join/#brlcad ries (~ries@D979C7EF.cm-3-2d.dynamic.ziggo.nl)
09:27.37 boj Hi, I create a 'plate mode' cube(closed) with thickness 2mm, and use nirt to trace the model, here is the result. I am confused that why the hit point is (5000, 0,0) but not (4999, 0, 0)?
09:27.44 boj http://paste.ubuntu.com/16472812/
09:29.14 boj BTW, does 'nirt' only report the entry point? Because I want to see the out hit point.
09:43.51 *** join/#brlcad sniok (~sniok@89.252.29.238)
10:27.02 *** join/#brlcad ries (~ries@D979C7EF.cm-3-2d.dynamic.ziggo.nl)
10:38.26 d_rossberg boj: are you sure it's plate mode?
10:53.45 boj yes, you can see the model_min and model_max, the original box should be (-5000, -5000, -5000) and (5000, 5000, 5000). I set the thickness value to be 2mm
10:55.42 boj and I use obj-g -o p -p 2 ... to generate this cube-t.g model.
10:56.53 boj I import the model into mged, and use 'get ... mode' the check it, it shows the solid is 'volume' but not 'plate'? So strange?
10:57.58 boj sorry for my typo, the command I used is obj-g.exe -o p -H 2 cube.obj cube-t.g.
11:05.42 boj Hi, d_rossberg, what do you mean 'intrinsic values' you mentioned in the mail list?
11:06.36 *** join/#brlcad yorik (~yorik@177.139.88.136)
11:15.15 d_rossberg hm, nirt reports a LOS (line of sight) of 10000, this would be plausible for the volume mode
11:16.21 d_rossberg you could run g2asc and inspect the ascii file
11:30.30 d_rossberg intrinsic values: e.g. in games often only the appearence is important, for a tree-trunk the rendering of bark and moss is what the programmers care fore
11:33.05 d_rossberg but other programs would like to know what's inside the trunk, is it hard, soft, fresh, or rotten - simply the "intrinsic values"
11:59.08 ``Erik open source hardware (gpu/opencl) raytracing http://gpuopen.com/firerays-2-0-open-sourcing-and-customizing-ray-tracing/ https://news.ycombinator.com/item?id=11710444
12:10.43 *** join/#brlcad Shalom (~Shalom@122.175.87.200)
12:56.01 boj d_rossberg, thanks for your reminding, I just checked source code of 'obj-g', there is a closure test before outputing to BoT, it means if the input mesh is closed, the default output type will be *RT_BOT_SOLID*.
12:57.05 boj I use obj-g to generate two cubes w/wo thickness value, and then use g2asc to output the ascii file, they two are exactly same, and the type for inside regions are all volume.
12:57.57 boj please correct me if I make some mistakes?
13:00.32 boj I use 'nirt' to trace a single plate mode plane(thickness value equals to 2mm), the reported LOS is 2mm, I think I almost get it..
13:15.09 d_rossberg i'm not an expert for obj-g, all i can see is that it has a parameter for the bot mode it should use for open bots
13:19.36 boj yes, it is actually for open bot.
13:20.46 boj d_rossberg: do you know how to generate a plate mode cube, which tool should work properly?
13:26.16 *** join/#brlcad Shalom_ (~Shalom@122.175.87.200)
13:27.32 boj or the closed mesh actually does not need to be assigned a thickness value, because they can already be considered as solid model..
13:28.36 d_rossberg once i posted it here in irc, but i don't know when ... let me see ...
13:43.30 d_rossberg put {dings.s} bot mode plate orient no flags {} V {{1000 0 0} {0 1000 0} {0 0 1000}} F {{0 1 2}} T {2} fm 00
13:45.09 boj it only contains one face?
13:45.43 d_rossberg this yes, but you can add more if you like ;)
13:46.35 boj yes, I get it, I can generate a cube by myself..hah..a good way...thanks d_rossberg
13:48.35 boj by the way, is 'asc2g' designed for transform ascii format to binary *.g?
13:48.45 boj I think it is.. :)
13:50.09 d_rossberg the only tricky part are the fm (face mode) flags at the end: i think you have to add two additional 0s every 8 faces (or so)
13:50.45 d_rossberg asc2g: indeed
13:51.03 boj what does 'fm' mean?
13:51.06 boj face ...?
13:51.19 boj face mode..sorry...
13:52.19 boj thanks d_rossberg I will try it asap..
14:05.04 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
14:07.42 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
14:10.00 *** join/#brlcad Mathnerd314 (~quassel@supertux/Mathnerd314)
14:32.11 *** join/#brlcad amarjeet (~amarjeet@101.216.219.48)
14:37.18 Notify 03BRL-CAD Wiki:116.7.245.187 * 9714 /wiki/Google_Summer_of_Code/2016: /* Plate Mode NURBS raytracing */
14:42.22 *** join/#brlcad sniok (~sniok@89.252.29.238)
14:46.17 *** join/#brlcad amarjeet_ (~Amarjeet@101.216.219.48)
14:59.03 *** join/#brlcad amarjeet (~Amarjeet@101.216.219.48)
15:17.46 *** join/#brlcad teepee`_ (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
15:24.03 *** join/#brlcad ries (~ries@D979C7EF.cm-3-2d.dynamic.ziggo.nl)
15:49.35 *** join/#brlcad amarjeet (~Amarjeet@101.216.219.48)
16:10.36 *** join/#brlcad shalom (~shalom@122.175.87.200)
16:32.05 *** join/#brlcad amarjeet (~Amarjeet@101.215.26.158)
16:43.14 *** join/#brlcad amarjeet (~amarjeet@101.211.169.153)
16:52.15 *** join/#brlcad ickby (~stefan@x5d846f79.dyn.telefonica.de)
18:19.24 Notify 03BRL-CAD:brlcad * 67921 brlcad/trunk/TODO: here's a preliminary list of user-visible commit changes that didn't have a corresponding doc update near them. some may have been documented later, some require doc/docbook docs, some require a news line entry.
18:37.54 brlcad boj: obj-g currently assumes that if a mesh encloses a volume, that it is supposed to be a volume-mode bot
18:38.20 brlcad the -o p flag only applies to open meshes
18:39.14 brlcad ah, which I see you figured out later :)
18:46.20 brlcad boj: you can change the mode of a bot in mged with the adjust command, example: make sph sph; facetize sph.bot sph; B sph.bot; form bot; get sph.bot mode; nirt -f entryexit -b; adjust sph.bot mode plate; get sph.bot mode; nirt -f entryexit -b
18:46.58 brlcad threw in a couple extra commands just to give the gist so you can know how to figure it out again in the future
19:12.27 *** join/#brlcad Stragus (~alexis@modemcable090.29-19-135.mc.videotron.ca)
19:15.32 *** join/#brlcad ickby_ (~stefan@x5d846f79.dyn.telefonica.de)
19:35.49 *** join/#brlcad LordOfBikes (~armin@dslb-092-074-236-158.092.074.pools.vodafone-ip.de)
19:44.58 *** join/#brlcad ickby_ (~stefan@x5d846f79.dyn.telefonica.de)
19:50.23 *** join/#brlcad ickby (~stefan@x5d846f79.dyn.telefonica.de)
20:03.58 *** join/#brlcad ickby_ (~stefan@x5d846f79.dyn.telefonica.de)
20:33.32 *** join/#brlcad ickby_ (~stefan@x5d846f79.dyn.telefonica.de)
20:39.02 Notify 03BRL-CAD Wiki:Feragon.xi * 9715 /wiki/Google_Summer_of_Code/2016: /* Automatic Polygonal Mesh Healing */
20:46.25 Notify 03BRL-CAD:brlcad * 67922 (brlcad/trunk/include/bu/defines.h brlcad/trunk/include/bu/malloc.h and 10 others): step one, get the generic preprocessor symbols out of libbu and into common.h
21:37.21 *** join/#brlcad djkonro (~djkonro@41.202.219.78)
22:01.18 Notify 03BRL-CAD Wiki:Mandeeps708 * 9716 /wiki/User:Mandeeps708/GSoC16/logs: added dev logs
22:04.14 Notify 03BRL-CAD Wiki:Mandeeps708 * 9717 /wiki/Google_Summer_of_Code/2016: updated dev logs link
23:41.14 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)

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