IRC log for #brlcad on 20081014

00:19.43 CIA-4 BRL-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.33 CIA-4 BRL-CAD: 03brlcad * r32937 10/brlcad/trunk/src/libpkg/tpkg.c: quell c++ error
00:25.28 CIA-4 BRL-CAD: 03brlcad * r32938 10/brlcad/trunk/src/libbu/bomb.c: quell warnings/errors for c++ compilation mode
00:31.20 CIA-4 BRL-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.12 CIA-4 BRL-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.29 CIA-4 BRL-CAD: 03brlcad * r32941 10/brlcad/trunk/src/libbu/convert.c: cast accordingly
00:50.47 CIA-4 BRL-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.32 CIA-4 BRL-CAD: 03brlcad * r32943 10/brlcad/trunk/src/libbu/ (hash.c list.c log.c): more 'new' variables, rename to something less conflicting
00:59.32 CIA-4 BRL-CAD: 03brlcad * r32944 10/brlcad/trunk/src/libbu/malloc.c: more warning quellage related to c++ mode
01:34.08 CIA-4 BRL-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.50 CIA-4 BRL-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.39 CIA-4 BRL-CAD: 03brlcad * r32947 10/brlcad/trunk/src/libged/ (view_obj.c wdb_obj.c wdb_vdraw.c): more quellage spillover
01:54.16 CIA-4 BRL-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.06 CIA-4 BRL-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.49 brlcad yawns
06:14.35 CIA-4 BRL-CAD: 03brlcad * r32953 10/brlcad/trunk/src/liboptical/sh_prj.c: ws
06:31.49 CIA-4 BRL-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.27 brlcad thinks it's time to caffinate
07:43.22 clock_ just read about Kerrson Predictor and Norden Bombsight, analog computers used in a war.
07:55.43 brlcad avoids the temptation to google
08:03.13 *** join/#brlcad pacman87 (n=Timothy@resnet2-46-90.dorm.utexas.edu)
08:43.20 brlcad howdy pacman87
08:43.28 brlcad up 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.29 Axman6 brlcad: ever done any work using Ada?
11:03.48 brlcad Axman6: not really
11:04.43 Axman6 righto. 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.55 Axman6 the 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.10 CIA-4 BRL-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.47 mafm hi
12:59.30 claymore hai!
13:15.19 ``Erik iie
13:15.20 ``Erik !
13:15.30 ``Erik ano wa kuso tarre desu ne
13:15.37 ``Erik :D
13:17.22 claymore Erik has been drinking again....
13:18.30 ``Erik yes, guzzling down coffee at the moment O.o OOAAAHHH </beavis|thegreatcornholio>
13:32.36 starseeker claymore: How can you tell?
13:57.18 *** join/#brlcad Bariton (n=Bary@p5B14F13C.dip.t-dialin.net)
15:00.54 starseeker anyone else seeing a buggered build on libgcv/region_end.c?
15:01.24 starseeker is building out of source
15:45.15 brlcad ciao monsignore mafm
15:45.26 brlcad starseeker: did you autogen.sh?
15:45.34 brlcad have to kick the tires because of the new dir
15:45.49 brlcad i've also not done a linux build yet, so might need some tweaks
15:54.36 mafm going to a job interview, see you
15:54.42 brlcad cya!
15:54.43 brlcad good luck
15:55.31 mafm thanks :)
16:14.52 brlcad starseeker: hm, actually I just noticed that I get a failure here too -- must have missed something
16:15.16 brlcad hah, looks like I didn't commit gcv.h
16:25.45 CIA-4 BRL-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.05 tony-h I have a question about the database format--
17:09.46 tony-h For 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.43 claymore you could consider using the attr command:
17:18.31 claymore http://brlcad.org/wiki/MGED_CMD_attr
17:18.41 claymore that might get you what you need.
17:37.16 tony-h Cool, 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.21 starseeker you can find all such regions with the search command, if you're using svn
19:19.07 CIA-4 BRL-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.41 brlcad tony-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.14 brlcad but yeah, attr and search (and ged_attr() and ged_search() respectively) will probably be your friend, else other routines in librt
21:01.11 naroth Hi 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.48 brlcad naroth: ew
21:02.14 naroth hehe
21:02.19 brlcad I wouldn't go about it that way only because conversion to polygonal from implicit csg is np complete and non-robust
21:02.37 brlcad you can do it, facetize command or any one of the dozen or so exporters that do it
21:02.48 naroth hmm ok
21:03.08 brlcad but it'd be a lot simpler (and probably faster) to shoot a grid of rays to sample the volume
21:03.31 brlcad rtweight already does this for volume/mass computations (src/rt/viewweight.c)
21:04.01 naroth ok, any ideas on how to get surface area of the inside of a room?
21:04.02 brlcad as does g_qa using a better adaptive refinement method (src/gtools/g_qa.c)
21:05.58 brlcad you 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.51 brlcad if 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.02 naroth then those segments would represent corners in the room right?
21:08.11 brlcad or 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.39 brlcad no, the segments would *be* the inner volume
21:10.15 naroth alright
21:11.24 naroth I'll see what I can do with these ideas then, thanks a lot
21:11.40 brlcad picture 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.21 brlcad the 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.08 brlcad so long as you have at least two walls you go through and can start/end "outside" the room
21:14.09 brlcad flood 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.56 CIA-4 BRL-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.20 louipc <PROTECTED>
22:24.46 CIA-4 BRL-CAD: 03starseeker * r32960 10/brlcad/trunk/src/tclscripts/Makefile.am: Ooops - don't need man_dialog in here any more.
22:40.41 starseeker stares at the mged man page with some amusement. I'd say rewriting is in order here...
22:41.09 starseeker Vector General 3300 probably isn't a selling point feature any more...
22:49.37 starseeker heh - 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.