IRC log for #brlcad on 20110714

00:36.49*** join/#brlcad crux000 (~dan@66.110.178.234)
00:37.50*** part/#brlcad crux000 (~dan@66.110.178.234)
00:45.53CIA-62BRL-CAD: 03kunigami * r45470 10/brlcad/trunk/src/liboptical/sh_osl.cpp:
00:45.53CIA-62BRL-CAD: Instead of copying only a_rtip, a_hit and a_miss from the previous application,
00:45.53CIA-62BRL-CAD: I'm now copying the whole structure before calling rt_shootray at osl_render. I
00:45.53CIA-62BRL-CAD: have no idea why it worked for single threads but not for multiple threads.
00:47.29CIA-62BRL-CAD: 03brlcad * r45471 10/brlcad/trunk/ (7 files in 5 dirs): replace BU_LIST_MAGIC_OK() and BU_LIST_MAGIC_WRONG() with BU_LIST_MAGIC_EQUAL() in order for the API to be more consistent with convention already established in libbn.
00:48.00brlcadkunigami_: aha, so that fixed it?
00:49.23brlcaddidn't realize you were doing a partial copy there .. there are cpu-specific resource structures in an application struct, so when you weren't copying them it would have been in some peculiar uninitialized state (not suitable for threaded use)
00:51.37CIA-62BRL-CAD: 03brlcad * r45472 10/brlcad/trunk/include/bu.h: remove BU_LIST_CLOSE() since it appears to not be in use any where and it's use is rather limited with the embedded return; there's also no corresponding 'open' so it was just bad API to begin with
00:55.33CIA-62BRL-CAD: 03bhinesley * r45473 10/brlcad/trunk/src/ (3 files in 3 dirs):
00:55.33CIA-62BRL-CAD: Add edit and translate/rotate/scale to Archer. Edit command aliases are
00:55.33CIA-62BRL-CAD: intentionally only available to Archer, to keep existing mged commands intact
00:55.33CIA-62BRL-CAD: for the time being. Once everything is working, translate/rotate/scale will be
00:55.33CIA-62BRL-CAD: mapped directly to ged_edit.
00:56.18brlcadbasically, your new application struct wasn't being initialized properly
00:57.07brlcadanytime you do a full struct copy, you should denote it with a /* struct copy */ comment or similar
01:02.42brlcadstarseeker: is nirt building on windows?
01:03.56brlcadah, I see you just disabled those files .. never mind
01:04.28CIA-62BRL-CAD: 03brlcad * r45474 10/brlcad/trunk/src/nirt/dist_def.c: use FMAX() instead of fmax() since the latter is C99
01:32.51kunigami_brlcad: it seems to have been solved :) I'll add that comment
02:13.29*** join/#brlcad merzo (~merzo@252-7-132-95.pool.ukrtel.net)
02:29.32*** join/#brlcad mafm (~mafm@90.Red-83-42-153.dynamicIP.rima-tde.net)
02:49.41*** join/#brlcad IriX64 (~root@bas2-sudbury98-1177871903.dsl.bell.ca)
02:55.50*** join/#brlcad IriX64_ (~root@bas2-sudbury98-1177872273.dsl.bell.ca)
03:00.56*** join/#brlcad IriX64 (~root@bas2-sudbury98-1096601331.dsl.bell.ca)
03:05.59*** join/#brlcad IriX64_ (~root@bas2-sudbury98-1128564768.dsl.bell.ca)
03:35.14*** join/#brlcad Stattrav (~Stattrav@unaffiliated/stattrav)
04:18.25CIA-62BRL-CAD: 03brlcad * r45475 10/brlcad/trunk/src/nirt/ (CMakeLists.txt Makefile.am dist_def.c):
04:18.25CIA-62BRL-CAD: remove dist_def.c which was disabled from compilation, but appears to have been
04:18.25CIA-62BRL-CAD: related to an earlier implementation of nirt's backout command. since that code
04:18.25CIA-62BRL-CAD: has since changed and been improved, just kill this old bit.
04:21.53CIA-62BRL-CAD: 03brlcad * r45476 10/brlcad/trunk/ (3 files in 3 dirs): remove nurb's MIN/MAX macros since we already rely on FMIN/FMAX elsewhere.
04:28.06CIA-62BRL-CAD: 03brlcad * r45477 10/brlcad/trunk/src/burst/grid.c: remove the min()/max() functions since there don't seem to be any uses that will have side-effects, use FMIN()/FMAX() instead like already being used.
04:28.52CIA-62BRL-CAD: 03brlcad * r45478 10/brlcad/trunk/src/proc-db/masonry.c: get rid of the min/max macros in favor of the FMIN/FMAX decls from common.h
04:30.58CIA-62BRL-CAD: 03brlcad * r45479 10/brlcad/trunk/src/fb/pl-fb.c: remove unused min() macro
04:36.12CIA-62BRL-CAD: 03brlcad * r45480 10/brlcad/trunk/src/librt/primitives/brep/brep.cpp: call NEAR_EQUAL() instead of BN_APPROXEQUAL() since they do the same thing and the latter is unnecessary api.
04:41.03CIA-62BRL-CAD: 03brlcad * r45481 10/brlcad/trunk/include/bn.h: remove BN_APPROXEQUAL since NEAR_EQUAL is practically equivalent just without requiring a bn_tol. looks like the only use was isolated to brep.cpp, so yank it.
04:48.35*** join/#brlcad epileg (~epileg@unaffiliated/epileg)
04:58.48CIA-62BRL-CAD: 03brlcad * r45482 10/brlcad/trunk/src/irprep/ (CMakeLists.txt Makefile.am ir-sgi.1 ir-sgi.c): remove the antiquated ir-sgi tool since IRIX is no longer a supported platform
05:03.04CIA-62BRL-CAD: 03brlcad * r45483 10/brlcad/trunk/src/irprep/ (CMakeLists.txt Makefile.am irdisp.c pictsgi.1 pictsgi.c): same for pictsgi and irdisp tools, which called ir-sgi. remove pictsgi since it's no longer functional without ir-sgi.
05:10.11CIA-62BRL-CAD: 03brlcad * r45484 10/brlcad/trunk/include/ (bu.h raytrace.h): remove sgi/mips references, platform no longer relevant
05:16.58CIA-62BRL-CAD: 03brlcad * r45485 10/brlcad/trunk/src/lgt/ (6 files): remove all references to sgi since the platform is no longer maintainable
05:37.28CIA-62BRL-CAD: 03brlcad * r45486 10/brlcad/trunk/src/canon/ (Makefile.am canonlib.c): more sgi/irix/mips removal. no longer need libds too.
05:45.48CIA-62BRL-CAD: 03brlcad * r45487 10/brlcad/trunk/src/libfb/if_X.c: we still need this with Xorg, not SGI-specific
05:46.02CIA-62BRL-CAD: 03brlcad * r45488 10/brlcad/trunk/src/libfb/ (fbserv_obj.c if_ogl.c): remove sgi from comments
05:50.50CIA-62BRL-CAD: 03brlcad * r45489 10/brlcad/trunk/src/libfb/if_X.c: actually, it looks like peeking at the fd is the only internal we look for so call ConnectionNumber() to get it so we can unset XLIB_ILLEGAL_ACCESS.
05:52.53CIA-62BRL-CAD: 03brlcad * r45490 10/brlcad/trunk/src/ (bwish/Makefile.am conv/Makefile.am): LINK_STATIC_REQUIRED was needed for irix, simplify
05:58.36CIA-62BRL-CAD: 03brlcad * r45491 10/brlcad/trunk/ (16 files in 9 dirs): the sgi/irix/mips platform is no more and has been that way for many years now. reduce maintenance cost, remove and refactor accordingly.
06:17.26*** join/#brlcad Stattrav (~Stattrav@122.178.195.64)
06:17.26*** join/#brlcad Stattrav (~Stattrav@unaffiliated/stattrav)
07:12.43*** join/#brlcad merzo (~merzo@193.254.217.44)
08:05.59*** join/#brlcad merzo (~merzo@193.254.217.44)
09:34.51*** join/#brlcad mafm (~mafm@247.Red-83-38-35.dynamicIP.rima-tde.net)
11:49.25*** join/#brlcad abhi2011 (~chatzilla@wlan-145-94-187-000.wlan.tudelft.nl)
12:01.57CIA-62BRL-CAD: 03starseeker * r45492 10/brlcad/trunk/CMakeLists.txt:
12:01.57CIA-62BRL-CAD: Ah hah. Per http://www.cmake.org/Wiki/CMake_Version_Compatibility_Matrix, the
12:01.57CIA-62BRL-CAD: *IGNORE_PATH variables weren't around until 2.8.3 - that's probably why the new
12:01.57CIA-62BRL-CAD: mechanism for ignoring install paths wasn't working in some tests. Bump our
12:01.57CIA-62BRL-CAD: required version, as we need to avoid finding old installed BRL-CAD libraries.
12:22.20*** join/#brlcad d_rossberg (~rossberg@BZ.BZFLAG.BZ)
12:33.34brlcadmoin
13:18.35CIA-62BRL-CAD: 03brlcad * r45493 10/brlcad/trunk/src/ (5 files in 4 dirs): more irix reference removals.
13:29.51``Erikyargh
13:30.34``Erikhm, broken stuff, but vaccuum lady is here :/
13:43.37*** join/#brlcad Stattrav (~Stattrav@122.178.195.64)
13:43.37*** join/#brlcad Stattrav (~Stattrav@unaffiliated/stattrav)
14:07.56*** join/#brlcad kunigami__ (~kunigami@201.53.206.27)
14:18.16*** join/#brlcad dli (~dli@dsl-67-204-13-217.acanac.net)
14:40.48*** join/#brlcad dli (~dli@66.49.171.226)
16:34.50CIA-62BRL-CAD: 03r_weiss * r45494 10/brlcad/trunk/src/librt/primitives/ars/ars.c: (log message trimmed)
16:34.51CIA-62BRL-CAD: Updated the rt_ars_tess function within file ars.c. I disabled the functions
16:34.51CIA-62BRL-CAD: nmg_shell_coplanar_face_merge and nmg_simplify_shell unless the prototype
16:34.51CIA-62BRL-CAD: triangulation is enabled. The problem is these functions simplify the ars which
16:34.51CIA-62BRL-CAD: causes more work for later triangulating the ars. The original triangulation
16:34.51CIA-62BRL-CAD: code is unable to triangulate the resulting ars after being simplifed. In order
16:34.52CIA-62BRL-CAD: to raytrace an ars, it is first converted to a bot primitive which requires
16:36.08*** join/#brlcad dli (~dli@173.248.249.148)
16:56.49*** join/#brlcad dli (~dli@66.49.131.81)
17:03.28*** join/#brlcad starseeker (~starseeke@BZ.BZFLAG.BZ)
17:04.31starseekerwhoops
17:04.52starseekermake makes a note that quit != part in issi
17:04.55starseekerirssi even
17:19.20``Erikheh, nope, not equal :)
17:30.03*** join/#brlcad kunigami_ (~kunigami@201.53.206.27)
17:42.42*** join/#brlcad kunigami_ (~kunigami@201.53.206.27)
18:04.02*** join/#brlcad Stattrav (~Stattrav@unaffiliated/stattrav)
19:18.20*** join/#brlcad Stattrav (~Stattrav@122.178.195.64)
19:18.20*** join/#brlcad Stattrav (~Stattrav@unaffiliated/stattrav)
19:38.17CIA-62BRL-CAD: 03bhinesley * r45495 10/brlcad/trunk/src/libged/edit.c: remove trailing ws
19:54.56*** join/#brlcad IriX64 (~kvirc@bas2-sudbury98-1096601243.dsl.bell.ca)
19:55.44IriX64brlcad/regress is missing CMakeLists.txt
19:57.49IriX64btw i run el6Workstation now, cygwin is retired :)  ill ask my self to leave now.
20:02.11*** join/#brlcad IriX64 (~kvirc@bas2-sudbury98-1096600661.dsl.bell.ca)
20:02.50IriX64shouldn't do this so soon but cmake generates man/html, configure generates man/html/pdf if anybody cares
20:03.19IriX64i hear me asking myself to leave again, wont be back today
20:25.33kunigami_13min to render a scene with one processor. 14min to run with 2 :) The problem is that I'm blocking the OSLRender every time I query a color, which is probably where most all the time is spent. I'm currently looking for multi-threaded examples using OSL system to block less parts of code.  
20:56.14dlicmake trouble: [ 17%] make[2]: *** No rule to make target `usr/brlcad/share/tclscripts/archer/tclIndex', needed by `src/tclscripts/archer/CMakeFiles/archer_tclIndex'
20:58.54bhinesleyhmm.. . it's working for me
21:03.14bhinesleydli: are you working on a recent svn checkout, a tarball, or what?
21:03.25dlibhinesley, 7.20.2
21:03.36bhinesleywindows?
21:03.43dlibhinesley, linux
21:05.11bhinesleyunless someone else has an idea, I will take a look but it will take me a bit to download/compile
21:05.49dlibhinesley, this is my cmake line: http://pastebin.com/hrXWMCZn
21:08.52bhinesleyhmm... starseeker may have to take a look at that one
21:09.24bhinesleyis just a student
21:09.30dlibhinesley, I know he started the cmake branch
21:09.55bhinesleyyep, he's your man
21:10.54dlibhinesley, also, I have to tweak CMakefile.txt a little bit: http://paste.pocoo.org/show/438902/
21:11.47bhinesleyodd
21:13.33bhinesleywhat is there currently: http://pastebin.mozilla.org/1272356
21:13.48*** join/#brlcad mafm (~mafm@247.Red-83-38-35.dynamicIP.rima-tde.net)
21:14.12dlibhinesley, current some ${${path_label}_LABEL} contain space within
21:15.11dlibhinesley, therefore, sending more than two arguments to LENGTH, and break cmake
21:15.57bhinesleyyeah, I misread, your original is identical to the current revision
21:17.35bhinesleyI won't waste your time: I wouldn't know how to fix it.
21:18.03dlibhinesley, don't worry :)
21:34.56dlibhinesley, seems to be something wrong with make configure line, it builds now
21:39.11bhinesleycan you show me what you changed it to?
21:42.32dlibhinesley, sure
21:44.52dlibhinesley, http://paste.pocoo.org/show/438926/
21:45.10dlibhinesley, I guess the incorrect PREFIX broke it
21:53.20bhinesleydli: yeah I see that there there is no DCMAKE_PREFIX in your correct version, but there are two DCMAKE_INSTALL_PREFIX's
21:53.28bhinesleyer, working version
21:53.46bhinesleyer DBRLCAD_PREFIX I mean
21:55.27dlibhinesley, it's okay, one instance is always added by the gentoo script, the second one overrides it
21:56.55bhinesleynods
21:59.28dli^[[0m[ 98%] Built target step-g
21:59.28dlimake: *** [all] Error 2
21:59.32dlino luck :(
21:59.45bhinesley:-/
22:00.04dlibhinesley, can I disable step-g ?
22:00.33dlibhinesley, it says 'built', so it's not step-g
22:11.40brlcadmake VERBOSE=1
22:11.55dlibrlcad, doing that now
22:16.07*** join/#brlcad Stattrav (~Stattrav@unaffiliated/stattrav)
23:30.57``Eriknotes that --no-undefined is not a recognized option on some of his compilers O.o (like the mac)
23:54.34*** join/#brlcad kunigami_ (~kunigami@201.53.206.27)
23:56.29*** join/#brlcad kunigami__ (~kunigami@201.53.206.27)
23:57.00starseeker``Erik: yeah, need to test for that somehow or other
23:59.36starseekerdli: "usr" is still a really bad value for CMAKE_INSTALL_PREFIX
23:59.53starseekeralso, you don't need to set BRLCAD_PREFIX any more - it's just an interal thing now

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