IRC log for #brlcad on 20111018

00:55.39 *** join/#brlcad archivist (~archivist@host81-149-189-98.in-addr.btopenworld.com)
00:55.39 *** join/#brlcad packrat (~packrator@99-67-225-40.lightspeed.livnmi.sbcglobal.net)
00:55.39 *** join/#brlcad piksi (piksi@pi-xi.net)
00:55.39 *** join/#brlcad starseeker (~starseeke@BZ.BZFLAG.BZ)
00:55.39 *** join/#brlcad dtidrow_desk (~dtidrow@c-68-84-167-135.hsd1.mi.comcast.net)
04:34.59 CIA-48 BRL-CAD: 03abhi2011 * r47282 10/brlcad/trunk/src/libged/simulate/ (simcollisionalgo.cpp simrt.c): Some corrections to normals and contact pair generation
05:25.52 abhi2011 hmm, I need to call the rt related C functions from the c++ code of Bullet's physics pipeline
05:26.22 abhi2011 however when I try to call them from within the C++ code, I see to run into undefined reference errors
05:26.40 abhi2011 even though I have declared the functions by including the header
05:27.20 abhi2011 is it possible to directly call C functions from within C++
05:29.49 abhi2011 hmm there seems to be some compiler mangling of C functions going on, need to smooth the linkage
05:31.02 abhi2011 this is turning out to be really loopy....from C code of libged >>>> C++ Code of Bullet >>> C code of RT to get the contact pairs >>>> C++ code of bullet for dynamics >>>> back to C code of libged to finish off
05:38.38 abhi2011 ok some useful info here : http://developers.sun.com/solaris/articles/external_linkage.html
05:49.03 abhi2011 hmm got around the linkage issue, seems raytracing code has to be inserted right into the bullet nearphase callback to ensure contact pairs are generated at the right place
06:35.27 *** join/#brlcad tofu (~sean@BZ.BZFLAG.BZ)
08:29.15 *** join/#brlcad jordisayol (~jordisayo@unaffiliated/jordisayol)
11:12.36 *** join/#brlcad jordisayol (~jordisayo@unaffiliated/jordisayol)
14:27.58 CIA-48 BRL-CAD: 03erikgreenwald * r47283 10/brlcad/trunk/src/libgcv/bottess.c: Finish up split cases. Fix bug in composer that didn't throw away faces. Combine both triangle sets in composer.
14:33.04 *** join/#brlcad abhi2011 (~chatzilla@ip170-79-211-87.adsl2.static.versatel.nl)
14:43.21 CIA-48 BRL-CAD: 03erikgreenwald * r47284 10/brlcad/trunk/src/libgcv/bottess.c: collapse switch into ternary/math
14:46.50 *** join/#brlcad n_reed (~molto_cre@BZ.BZFLAG.BZ)
15:00.42 *** join/#brlcad abhi2011 (~chatzilla@ip170-79-211-87.adsl2.static.versatel.nl)
15:18.00 CIA-48 BRL-CAD: 03abhi2011 * r47285 10/brlcad/trunk/src/libged/simulate/ (7 files): Moving towards tighter integration of raytracing with the Bullet pipeline to ensure the contact pairs are injected at the right point during the simulation, added some extern C linkage code to allow this integration
15:29.33 abhi2011 cant seem to find a way to get rid of this warning : http://bin.cakephp.org/view/975048800
17:16.07 tofu abhi2011: that's not your problem .. it's a valid warning when compiling that C struct within the context of a C++ file
17:17.18 abhi2011 tofu: ok
18:34.05 tofu basically, there's a C function (ged_view()) and a struct named ged_view ..
18:34.57 tofu struct is == class when compiling in C++, so when it creates the default constructor (ged_view()) it ends up shadowing the existing function
19:26.51 CIA-48 BRL-CAD: 03brlcad * r47286 10/brlcad/trunk/ (Makefile.am configure.ac):
19:26.51 CIA-48 BRL-CAD: add the tar-ustar option to AM_INIT_AUTOMAKE so that we're not limited to paths
19:26.51 CIA-48 BRL-CAD: 99 chars or less. ustar increases the limit to 256 chars (tar-pax would
19:26.51 CIA-48 BRL-CAD: increase it to unlimited, but requires 1.9). this effectively drops
19:26.51 CIA-48 BRL-CAD: out-of-the-box build support on Mac OS X 10.4 but it's an old system and
19:26.52 CIA-48 BRL-CAD: autotools is almost out the door so allow the bump in order to get a valid
19:26.53 CIA-48 BRL-CAD: release tarball.
19:45.59 CIA-48 BRL-CAD: 03abhi2011 * r47287 10/brlcad/trunk/src/libged/simulate/ (7 files): Removed 2 linked lists and replaced with static allocation, dynamic memory is more of a hassle than its worth
20:46.20 CIA-48 BRL-CAD: 03brlcad * r47288 10/brlcad/trunk/src/tclscripts/mged/reid.tcl: accept reid patch from carl moore that reorganizes the arg checking logic and reports a statement when the assembly is not a combination.
20:54.47 CIA-48 BRL-CAD: 03brlcad * r47289 10/brlcad/trunk/src/tclscripts/mged/reid.tcl: dry principle, put usage in only one place to reduce logic
20:57.23 CIA-48 BRL-CAD: 03brlcad * r47290 10/brlcad/trunk/AUTHORS: credit carl moore from ARL for tclscript patches (reid/remat/relos)
20:59.33 CIA-48 BRL-CAD: 03brlcad * r47291 10/brlcad/trunk/src/tclscripts/mged/remat.tcl: another change from carl moore, making remat similarly report 'Not a combination.' if the assembly isn't a comb.
21:02.29 CIA-48 BRL-CAD: 03brlcad * r47292 10/brlcad/trunk/src/tclscripts/mged/relos.tcl: add a new 'relos' command, similar to reid and remat, contributed from carl moore of ARL.
21:02.52 CIA-48 BRL-CAD: 03brlcad * r47293 10/brlcad/trunk/src/tclscripts/mged/ (CMakeLists.txt Makefile.am): add the new relos.tcl file to the build/install/dist
21:03.27 CIA-48 BRL-CAD: 03brlcad * r47294 10/brlcad/trunk/src/tclscripts/mged/relos.tcl: fix header
21:04.56 CIA-48 BRL-CAD: 03brlcad * r47295 10/brlcad/trunk/src/tclscripts/mged/help.tcl: apply final patch from carl moore, updating documentation to reflect the new relos command
21:05.54 CIA-48 BRL-CAD: 03abhi2011 * r47296 10/brlcad/trunk/src/libged/simulate/ (simcollisionalgo.cpp simutils.c): Corrected some indexing errors which arose while removing the linked lists
21:08.09 CIA-48 BRL-CAD: 03brlcad * r47297 10/brlcad/trunk/NEWS: credit carl moore with his last-minute contribution of a new 'relos' command to mged. similar to remat, assigns the specified los to all regions under a given assembly.
22:38.19 *** part/#brlcad n_reed (~molto_cre@BZ.BZFLAG.BZ)
23:10.52 CIA-48 BRL-CAD: 03abhi2011 * r47298 10/brlcad/trunk/src/libged/simulate/ (simcollisionalgo.cpp simrt.c): Corrected manifold point generation again to report the deepest points as those belonging to body B

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