IRC log for #brlcad on 20081014

00:19.43CIA-4BRL-CAD: 03brlcad * r32936 10/brlcad/trunk/src/libpkg/pkg.c: quell some g++ compilation errors related to exact function prototype matching and needing to declare errno globally
00:21.33CIA-4BRL-CAD: 03brlcad * r32937 10/brlcad/trunk/src/libpkg/tpkg.c: quell c++ error
00:25.28CIA-4BRL-CAD: 03brlcad * r32938 10/brlcad/trunk/src/libbu/bomb.c: quell warnings/errors for c++ compilation mode
00:31.20CIA-4BRL-CAD: 03brlcad * r32939 10/brlcad/trunk/include/cmd.h: include the complete function prototype, make the compiler happy
00:44.01*** join/#brlcad Twingy (n=justin@74.92.144.217)
00:47.12CIA-4BRL-CAD: 03brlcad * r32940 10/brlcad/trunk/ (6 files in 2 dirs): quell more compilation warnings that c++ compilation mode enjoys throwing a fit over. mostly constness and exact callback matching.
00:50.29CIA-4BRL-CAD: 03brlcad * r32941 10/brlcad/trunk/src/libbu/convert.c: cast accordingly
00:50.47CIA-4BRL-CAD: 03brlcad * r32942 10/brlcad/trunk/src/libbu/fnmatch.c: don't use 'class' for a variable name since it's a reserved word in c++
00:53.32CIA-4BRL-CAD: 03brlcad * r32943 10/brlcad/trunk/src/libbu/ (hash.c list.c log.c): more 'new' variables, rename to something less conflicting
00:59.32CIA-4BRL-CAD: 03brlcad * r32944 10/brlcad/trunk/src/libbu/malloc.c: more warning quellage related to c++ mode
01:34.08CIA-4BRL-CAD: 03brlcad * r32945 10/brlcad/trunk/ (6 files in 2 dirs): and round-robin we go. fix things back up on the C side since a variety of warnings crept in. mostly related to propagating constness, but it's not clear that bu_key_eq_to_key_val() is correct at the moment.
01:42.50CIA-4BRL-CAD: 03brlcad * r32946 10/brlcad/trunk/include/bu.h: revert back to an unknown function callback. there are other front-end callers that make up their own arguments for the callback table.
01:53.39CIA-4BRL-CAD: 03brlcad * r32947 10/brlcad/trunk/src/libged/ (view_obj.c wdb_obj.c wdb_vdraw.c): more quellage spillover
01:54.16CIA-4BRL-CAD: 03brlcad * r32948 10/brlcad/trunk/include/ (bu.h cmd.h): revert here too for callback args but because of constness and genptr_t args
02:06.06CIA-4BRL-CAD: 03brlcad * r32951 10/brlcad/trunk/src/libdm/dm_obj.c: constness quellage
03:41.39*** join/#brlcad pacman87 (n=Timothy@resnet2-46-90.dorm.utexas.edu)
06:03.20*** join/#brlcad clock_ (n=clock@77-56-92-123.dclient.hispeed.ch)
06:11.49brlcadyawns
06:14.35CIA-4BRL-CAD: 03brlcad * r32953 10/brlcad/trunk/src/liboptical/sh_prj.c: ws
06:31.49CIA-4BRL-CAD: 03brlcad * r32954 10/brlcad/trunk/src/util/bombardier.c: emphasize if the appname is not known
07:01.13*** join/#brlcad clock_ (n=clock@84-72-91-240.dclient.hispeed.ch)
07:31.00*** join/#brlcad elite01 (n=elite01@unaffiliated/elite01)
07:35.27brlcadthinks it's time to caffinate
07:43.22clock_just read about Kerrson Predictor and Norden Bombsight, analog computers used in a war.
07:55.43brlcadavoids the temptation to google
08:03.13*** join/#brlcad pacman87 (n=Timothy@resnet2-46-90.dorm.utexas.edu)
08:43.20brlcadhowdy pacman87
08:43.28brlcadup late, eh?
08:46.05*** join/#brlcad clock_ (n=clock@84-72-91-240.dclient.hispeed.ch) [NETSPLIT VICTIM]
08:46.05*** join/#brlcad punkrockgirl (i=Pandora@c-69-247-220-102.hsd1.mo.comcast.net) [NETSPLIT VICTIM]
09:04.58*** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6) [NETSPLIT VICTIM]
09:04.58*** join/#brlcad ``Erik (i=erik@c-68-54-174-162.hsd1.md.comcast.net) [NETSPLIT VICTIM]
09:04.58*** join/#brlcad elmom (n=elmom@hoasnet-ff04dd00-187.dhcp.inet.fi) [NETSPLIT VICTIM]
09:04.58*** join/#brlcad SWPadnos (n=Me@emc/developer/SWPadnos) [NETSPLIT VICTIM]
10:47.29Axman6brlcad: ever done any work using Ada?
11:03.48brlcadAxman6: not really
11:04.43Axman6righto. thought you may have, being in the army 'n all. anyway, you might like this all the same http://bit.csc.lsu.edu/~gb/csc4101/Reading/gigo-1997-04.html
11:04.55Axman6the real story behind Ada >_>
12:00.15*** join/#brlcad Bariton (n=Bary@p5B14F13C.dip.t-dialin.net)
12:18.15*** join/#brlcad scr4vee (n=4a5f56b6@bz.bzflag.bz)
12:18.23*** part/#brlcad scr4vee (n=4a5f56b6@bz.bzflag.bz)
12:21.10CIA-4BRL-CAD: 03bob1961 * r32955 10/brlcad/trunk/ (8 files in 5 dirs): Added support for commands that prompt for input. The first command of this type to be added to libged is "in". Also modified libtclcad's ged_obj to make use of this type of command.
12:22.52*** join/#brlcad Bariton (n=Bary@p5B14F13C.dip.t-dialin.net)
12:31.25*** join/#brlcad Bariton (n=Bary@p5B14F13C.dip.t-dialin.net)
12:40.21*** join/#brlcad mafm (n=mafm@elnet-111.lip.pt)
12:48.47mafmhi
12:59.30claymorehai!
13:15.19``Erikiie
13:15.20``Erik!
13:15.30``Erikano wa kuso tarre desu ne
13:15.37``Erik:D
13:17.22claymoreErik has been drinking again....
13:18.30``Erikyes, guzzling down coffee at the moment O.o OOAAAHHH </beavis|thegreatcornholio>
13:32.36starseekerclaymore:  How can you tell?
13:57.18*** join/#brlcad Bariton (n=Bary@p5B14F13C.dip.t-dialin.net)
15:00.54starseekeranyone else seeing a buggered build on libgcv/region_end.c?
15:01.24starseekeris building out of source
15:45.15brlcadciao monsignore mafm
15:45.26brlcadstarseeker: did you autogen.sh?
15:45.34brlcadhave to kick the tires because of the new dir
15:45.49brlcadi've also not done a linux build yet, so might need some tweaks
15:54.36mafmgoing to a job interview, see you
15:54.42brlcadcya!
15:54.43brlcadgood luck
15:55.31mafmthanks :)
16:14.52brlcadstarseeker: hm, actually I just noticed that I get a failure here too -- must have missed something
16:15.16brlcadhah, looks like I didn't commit gcv.h
16:25.45CIA-4BRL-CAD: 03brlcad * r32957 10/brlcad/trunk/include/ (Makefile.am gcv.h): dumb me. add the frelling gcv.h interface header and unbreak the build
16:28.32*** join/#brlcad agsdyag (n=usuario@200.222.244.131)
16:28.40*** part/#brlcad agsdyag (n=usuario@200.222.244.131)
16:39.05*** join/#brlcad tony-h (n=zolcos@aeheathe.resnet.mtu.edu)
17:09.05tony-hI have a question about the database format--
17:09.46tony-hFor the acoustic analysis project, I need a way to specify where the speakers are. I can model them, but how do I attach information like "this is speaker model xxxx and uses the dispersion info #5"
17:17.43claymoreyou could consider using the attr command:
17:18.31claymorehttp://brlcad.org/wiki/MGED_CMD_attr
17:18.41claymorethat might get you what you need.
17:37.16tony-hCool, sounds like it will make things easier than expected. But is there a good way to inspect all the regions with a particular attribute without combing the entire database?
17:45.07*** join/#brlcad elite01 (n=elite01@unaffiliated/elite01)
19:08.21starseekeryou can find all such regions with the search command, if you're using svn
19:19.07CIA-4BRL-CAD: 03starseeker * r32958 10/brlcad/trunk/src/tclscripts/mged/man.tcl: upgrade the doc viewer to list available man pages on the side. For now this will only trigger via the man command, but next step is to point the menu to this functionality.
19:34.35*** join/#brlcad clock_ (n=clock@77-56-79-203.dclient.hispeed.ch)
20:55.26*** join/#brlcad naroth (n=naroth@oak.csl.mtu.edu)
20:59.41brlcadtony-h: if you already have a process that works within mged (or can figure one out), it's easy enough to convert those steps into C code too
21:00.14brlcadbut yeah, attr and search  (and ged_attr() and ged_search() respectively) will probably be your friend, else other routines in librt
21:01.11narothHi everyone,  I'm working on finding a way to get the surface area and volume of a room modeled in BRLCAD. I was told a that these sort of calculations might be best performed if the model was converted to a mesh type of format as opposed to BRLCAD's constructive solid geometry. Any suggestions on how to do this?
21:01.48brlcadnaroth: ew
21:02.14narothhehe
21:02.19brlcadI wouldn't go about it that way only because conversion to polygonal from implicit csg is np complete and non-robust
21:02.37brlcadyou can do it, facetize command or any one of the dozen or so exporters that do it
21:02.48narothhmm ok
21:03.08brlcadbut it'd be a lot simpler (and probably faster) to shoot a grid of rays to sample the volume
21:03.31brlcadrtweight already does this for volume/mass computations (src/rt/viewweight.c)
21:04.01narothok, any ideas on how to get surface area of the inside of a room?
21:04.02brlcadas does g_qa using a better adaptive refinement method (src/gtools/g_qa.c)
21:05.58brlcadyou could subtract the room from an encompassing "air region" (using just one boolean) depending on the shape of the room and it'll automatically take care of everything in the room allowing something like rtweight to compute the volume with ease
21:06.51brlcadif the room is odd-shaped, but still encloses space, you could perform some sort of in/out parity check to find the segments that are "inside"
21:08.02naroththen those segments would represent corners in the room right?
21:08.11brlcador if you want to get really fancy, you could perform an ant-walker propagation step that starts someone in the known air volume and adaptively fills the space with geometry (testing for overlaps as it goes along)
21:08.39brlcadno, the segments would *be* the inner volume
21:10.15narothalright
21:11.24narothI'll see what I can do with these ideas then, thanks a lot
21:11.40brlcadpicture shooting a ray through the center of the room where H and X are where it goes through wall and reports the wall segments  out ----> wall_enter --> wall_exit ------> wall2_enter --> wall2_exit ----> inf
21:12.21brlcadthe distance from wall_exit to wall2_enter would be your "interior" sampled segment .. add that up with all of the other interior segments and you'd have your volume (within some sampled cell size tolerance)
21:13.08brlcadso long as you have at least two walls you go through and can start/end "outside" the room
21:14.09brlcadflood fill would be a little harder and time intensive (due to overlap testing), but probably more robust to implement (parity is a bitch with degenerate geometry)
21:25.51*** part/#brlcad naroth (n=naroth@oak.csl.mtu.edu)
21:36.56CIA-4BRL-CAD: 03starseeker * r32959 10/brlcad/trunk/ (8 files in 3 dirs): Both the menu and the command line now call mged/man.tcl.
22:12.20louipc<PROTECTED>
22:24.46CIA-4BRL-CAD: 03starseeker * r32960 10/brlcad/trunk/src/tclscripts/Makefile.am: Ooops - don't need man_dialog in here any more.
22:40.41starseekerstares at the mged man page with some amusement. I'd say rewriting is in order here...
22:41.09starseekerVector General 3300 probably isn't a selling point feature any more...
22:49.37starseekerheh - neither the Getting Started blurb nor the man page match the mged -h report on available options

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