IRC log for #brlcad on 20070928

00:36.48*** join/#brlcad IriX64 (n=IriX64@bas2-sudbury98-1096600612.dsl.bell.ca)
00:37.17IriX64regards
00:40.37IriX64still can't find that xlib, darn thing mustev run off to get married or something :)
00:54.57brlcadssh access and it could potentially get fixed quickly
01:05.53yukonbob...and IriX64.
01:10.32brlcadhowdy yukonbob
01:10.35brlcadhow goes it?
01:11.24yukonbobnot bad at all... working away on projects bit-by-bit
01:11.46yukonbobyou?
01:30.36brlcadpretty good, working on a fun projected area computation task at the moment
01:30.56brlcadusing rtarea along with some scripting to see how coverage changes from various perspectives
01:31.50yukonbobso seeing what surface area is presented as an object rotates around various axes?
01:32.06brlcadsomething sort of like that
01:32.12yukonbob;)
01:32.16yukonbob"sort of"
01:33.31brlcadif this were clothing, it'd be sort of like looking at the presented surface area as different skirts and dresses are compared, and doing so from various directions so you could characterize the "coverage" (or lack thereof)
01:35.10yukonbobah
01:37.58yukonbobso, with a complex composite object, one could "dig in" to find a certain object and see how much is exposed "to the world", depending on the view.
01:40.04brlcadyeah, something like that
01:40.44brlcadeven for something simple like a person's face, you could talk about what % of their face is taken up by their eyes or nose or ears, etc
01:41.16brlcadit's pretty simple, it just reports the values for whatever objects -- drop-in replacement for rt
01:41.20yukonbobright -- so the object doesn't have to be "buried" by other objects... just identifiable.
01:42.13brlcadthe tool could be further improved, right now the "presented" area as it's listed isn't quite what one usually wants as it'll count how many surfaces you go through
01:42.45brlcadbut exposure is the more useful one .. what projected surface area is there for all fo the given exposed objects
01:42.59``Erikheh
01:43.00yukonbobcould you calculate, for example, how much sunshine would hit the side of a house with the sun at a certain spot, and a tree in the way?
01:43.44``Erik*wave*
01:44.26brlcadyukonbob: yeah, definitely
01:44.45yukonbobbrlcad: cool -- I'm gonna finish typing a report and play ;)
01:45.16brlcador (and sort of like what i'm doing right now) how that % coverage of the trees changes as the sun progresses across the sky during the day
01:45.36yukonbobsure -- script it, take values, look for curve...
01:45.43brlcadscript that to a table of values for various elevations and you have a nifty coverage curve
01:49.28yukonbobis this kind of analysis typical w/ professional CAD (ie: solidworks, Pro/E) (am I wrong to be lumping SW w/ Pro/E?)
01:50.57louipcI don't think it's wrong. I've never used Pro/E though heh
01:56.06louipcyeap everyone uses it
01:56.35louipcit doesn't do 2d drawings all that well though :P
01:56.56yukonbobbut then, neither does brl-cad ;)
02:02.01brlcadit's not wrong, we're in the solid modeling CAD domain, which is solidworks, unigraphics, pro/e, catia
02:02.33brlcadwe just don't do the drafting side really well (which they wander into a lot more, and for which autocad is king)
03:21.48brlcadreport?
03:22.33yukonbobseperate work...
03:23.57yukonbobbrlcad: can I just "rtarea mydb.g myobj" and get something interesting back? -- I've got some info, but now it appears to be wait()ing.
03:26.11brlcadyeah
03:26.14brlcadwhat version are you on?
03:26.26brlcadthere's an SMP bug in an older version
03:26.44brlcadcauses it to hang, later fixed
03:26.54yukonbobstill 7.8.x
03:27.02brlcadoh yeah, that one has issues
03:27.24brlcaddoesn't matter ;)
03:27.32yukonbobfeh
03:27.53brlcadyou could fix it in code for 7.8.0, but there's a semaphore condition that causes a deadlock
03:28.54brlcad7.10 is so much better in many under-the-hood ways
04:07.25IriX64brlcad: can't be done im on cyggy remeber
04:08.11brlcadcyggy isn't a crutch
04:08.18brlcadit's just a matter of figuring out the compile
04:08.43brlcadlemme know if you change your mind on the access
04:08.49IriX64sure
05:13.36IriX64how do i work ssh ive never used it
05:13.41IriX64have it tho
05:17.35brlcadinstall sshd, run it, open up port 22 on your firewall/router, create an account for the user you want to allow in, let them know the username password and IP address
05:18.11brlcadthere's got to be several guides or tutorials up on-line somewhere for doing this specifically in cygwin
05:18.27IriX64thanks ill look around
05:18.30brlcadotherwise, I imagine it's the same as creating any new user account, and just running the binary
05:18.43IriX64right
05:19.13brlcadi've had others provide remote cygwin account access in the past to debug stuff, but I didn't ask what they did to set it up
05:19.45brlcadhe controls his router/firewall settings last I noticed .. at least enough for him to run a public web server off it .. :)
05:20.00yukonbobthere you go -- no problems ;)
05:20.04brlcadi think he has pictures of havoc to prove it ;)
05:20.16yukonboblol
05:58.48*** join/#brlcad Z80-Boy (i=clock@217-162-111-40.dclient.hispeed.ch)
06:32.05brlcadwoo hoo, all done
07:19.12*** join/#brlcad Z80-Boy (n=clock@zux221-122-143.adsl.green.ch)
08:58.46*** join/#brlcad CIA-4 (n=CIA@208.69.182.149)
08:59.25CIA-4BRL-CAD: 03brlcad * 10brlcad/src/tclscripts/mged/openw.tcl:
08:59.25CIA-4BRL-CAD: fix the .mgedrc saving. this was actually an 8.5 issue -- [font names] is no
08:59.25CIA-4BRL-CAD: longer empty. Tk now provides five fonts by default (TkCaptionFont
08:59.25CIA-4BRL-CAD: TkTooltipFont TkHeadingFont TkTextFont TkDefaultFont) which was causing mged to
08:59.25CIA-4BRL-CAD: not initialize its own fonts (and later causing the tclscript error about the
08:59.26CIA-4BRL-CAD: font variable not being set). actually check for one of our fonts via
08:59.28CIA-4BRL-CAD: mged_default(text_font)
08:59.47brlcadZ80-Boy: that should fix the problem with the create/update .mgedrc menu option
09:00.06Z80-Boybrlcad: cool!
09:13.35CIA-4BRL-CAD: 03brlcad 07STABLE * 10brlcad/src/tclscripts/ (helplib.tcl mged/openw.tcl mged/text.tcl): merge from head, tab completion and .mgedrc fix
09:15.36Z80-Boybrlcad: do you already have an idea what's causing the arbn mirroring problem?
09:15.47Z80-BoyMaybe the cause is the same as what causes the arbn to be incorrectly shaded
09:16.17brlcadi've not gotten to that one yet
09:16.41brlcadbut not very likely at all -- mirroring is a self-contained function implemented per primitive
09:16.53Z80-Boyit's cool that you fix so fast, Samba needed 2 years for some of my bugreports.
09:17.19brlcadprobably just a bug in that primitive's mirroring
09:18.12Z80-BoyBut mirroring is not any special operation, it's just applying a matrix isn't it?
09:18.23brlcadthis is actually a bit slower than the cad team has historically operated, though we still do okay from time to time for short periods of time
09:18.28brlcadno it's not
09:18.48Z80-BoyDoes it check if a matrix is the special case - mirroring?
09:19.01brlcadit gets down to fundamental operations, like how you saw that for ray-tracing we perform what you called "direct calculations"
09:19.28Z80-Boycause it seemed to happen also with a mere translation matrix
09:19.47Z80-Boylooked like any matrix applied on this particular arbn screwed it up significantly
09:19.54brlcadit's different for every primitive, some have a transformation matrix, but some (most) don't (as they really don't need it, you just flip a sign on a vector or similar operation)
09:20.03Z80-Boylike the directions of the facets seems to be still OK, but they were shifted
09:20.31Z80-BoyHere I did mirroring by typing a matrix into red
09:20.34brlcadit could be something more fundamental to the arbn, but still specific to it
09:20.45brlcadahh
09:20.48brlcadyou didn't run mirror?
09:20.51Z80-Boythat looks like the constants are wrong, doesn't?
09:21.00Z80-BoyNo. I don't even know there's a special "mirror" function
09:21.07Z80-BoyI type everything into the red
09:21.14brlcadsee if mirror works
09:21.17brlcadjust curious
09:21.57brlcadthat's good to know/annotate actually, as that would be a general unpushed matrix transform on an arbn
09:22.20Z80-Boyis it push/pop like with a stack?
09:22.50brlcadnot really
09:23.06brlcaddepends how you want to think about it, but it's matrices on nodes of the dag
09:23.19Z80-Boyunpushed matrix is a matrix that resides with the combination rather than with the solid?
09:23.34brlcadyou can push the matrix down to the leaf nodes (the primitives) or leave them higher up
09:23.37brlcadright
09:23.49Z80-Boyhow do you push them?
09:23.54brlcadthe push command
09:24.05brlcador the xpush command if you have multiple references
09:24.06Z80-Boyaha
09:24.43Z80-BoyNo I don't use that
09:25.19Z80-Boyarbns are actually quite useful
09:25.26Z80-BoyYou can make a dodecahedron and icosahedron with arbn right?
09:26.07brlcadsure
09:26.23Z80-Boybtw the display of spheres is annoying - couldn't it display a circle as outline of the sphere?
09:26.33Z80-BoyNow it display some kind of kid's playground attraction
09:26.35brlcadexceptionally compact for some of the shapes it can represent
09:26.57Z80-Boyor a potatoid if you generata a lot of randomly placed planes?
09:27.22Z80-BoyI also found that the command to make a lot of copies, I don't remember, shows only the first two
09:27.30Z80-BoyFOr example I make a cube, then tell it to make a row of 10 cubes
09:27.36Z80-BoyOnly 2 cubes are displayed
09:27.49Z80-Boythen I need to actually redisplay (B again?) to show them
09:28.05Z80-BoyAnd also rt renders the last cube to be cut off
09:28.17brlcadclone command
09:28.18Z80-BoyI think you already said that it's because of Z clipping or something like that
09:28.22Z80-Boyyes clone was that
09:28.31brlcadare you up to date, clone was recently "completed" for beta-testing
09:28.37brlcad(like two days ago)
09:28.40Z80-Boyoh cool
09:28.45Z80-BoyNo that was much more before
09:29.17brlcadah, it was incomplete before -- it used to blather a big ol' warning
09:29.36brlcadbut I vaguely recall erik taking that out as he started gettting the transforms to work
09:29.39Z80-Boyclone is mega cool
09:30.21brlcadclone is one of the most powerful commands available
09:31.19brlcadaccording to the modelers that have used it in the past, it's a feature that beats out the commercial packages by quite a bit
09:31.45Z80-Boylollie lol :)
09:31.50brlcadoriginally implemented by this small company called GSI that did some really impressive models back in the early 90's
09:32.32brlcadthey made a bunch of brl-cad mods, one of them was clone -- but implemented for our old API, so it's taken a long while to update it to our newest API so it could be integrated
09:33.19brlcadcheck out the pix-g tool in the src/proc-db directory ;)
09:34.00Z80-Boypix2g?
09:34.13brlcader, yeah, pix2g
09:34.27Z80-Boywhat does it do?
09:36.23brlcadalmost exactly what you said.. takes an image and generates a brl-cad model of it
09:36.40CIA-4BRL-CAD: 03brlcad * 10brlcad/src/proc-db/pix2g.c: take the blame
09:36.41brlcadby creating a bunch of spheres in a plane, one for each pixel
09:36.49brlcadcolored to the pixel value color
09:36.52Z80-Boywow
09:37.18brlcadit was just for kicks
09:37.47Z80-Boya million spheres, does mged choke?
09:37.48brlcadmost of the proc-db tools are just instructional or passive tests, safe for a few that have some common use
09:38.20brlcadit did provoke a lot of issues in mged that I had to fix
09:38.31Z80-Boy;-)
09:38.40brlcadand you can still blow the stack, I forget what the practical limit is
09:38.43Z80-Boywhere is the code to draw a sphere on screen?
09:39.10brlcadbut no, it should actually not choke mged  (though you might need a large stack size)
09:39.11Z80-Boysrc/mged?
09:39.19brlcadthe wireframe?
09:39.25Z80-Boydraw multipane slowly?
09:39.30brlcadevery primitive is almost entirely self-describing
09:39.56brlcadin just one file -- src/librt/g_PRIMITIVE.C
09:40.48brlcadthe *_plot() function does the wireframe
09:41.03Z80-BoyELL versions of the plot and tess functions are used
09:41.07brlcadlibrt is the geometry engine
09:41.09brlcadyep
09:41.20brlcadsph are ell
09:41.42brlcadit's just an optimized specialization for performance and user convenience
09:42.02Z80-BoyOh RT_ADD_VLIST
09:42.28brlcadthat's another one of GSI's mods that I'll probably work on merging next
09:42.43Z80-Boywhat mod?
09:42.58brlcadthey had high and low commands to display crisp wireframes
09:43.11brlcadinstead of using N segments, it displays a smooth curve
09:43.16Z80-Boycool!
09:43.33brlcaddoesn't do the sillouette that you're talking about, but it's definitely a nice addition
09:43.35Z80-Boycause with this it's often impossible to see if a sphere touches something or if it's misaligned
09:43.46Z80-Boythat should help too
09:43.54brlcad(it intentionally doesn't draw the sillouette, but would be interesting to try it (again))
09:44.09Z80-Boywhat's bad on silhoutette?
09:44.17brlcadthey had another routine to snap spheres to surfaces ;)
09:46.21brlcadit's not that it's bad, but it'd need to be on all the curved surfaces to be consistent and that gets rather tricky for several of the primitives
09:47.05brlcadfinding the projection of the sillouette of a torus for example, a lil tricksy
09:49.52*** join/#brlcad elite01 (n=elite01@dslb-088-070-024-077.pools.arcor-ip.net)
09:51.42Z80-BoyI guess "toroid" is a typo of "tyroid", like have a shape of tyre
09:52.04brlcadhuh?
09:52.08brlcadthat's not a typo :)
09:52.20brlcada toroidal surface
09:52.40brlcadah
09:53.00brlcadhumor, my brain isn't firing on all pistons at the moment, been up all night
10:00.32CIA-4BRL-CAD: 03brlcad 07STABLE * 10brlcad/configure.ac: partial merge from head for the xno fix
10:37.52*** join/#brlcad thing0 (n=ric@124-169-43-146.dyn.iinet.net.au)
14:00.46*** join/#brlcad elite01_ (n=elite01@dslb-088-070-019-150.pools.arcor-ip.net)
14:05.19CIA-4BRL-CAD: 03brlcad 07STABLE * 10brlcad/ (76 files in 15 dirs): more merging from HEAD. bring in build system tweakage updates that should fix some library symbol problems from croping up post-release.
14:08.32CIA-4BRL-CAD: 03brlcad 07STABLE * 10brlcad/src/libfb/ (14 files): merge from head, make linger the default framebuffer action instead of transient for all windowing framebuffer interfaces.
14:13.27CIA-4BRL-CAD: 03brlcad * 10brlcad/NEWS: separate out the 7.11 section so the STABLE branch can be kept in sync more easily
14:16.21CIA-4BRL-CAD: 03brlcad 07STABLE * 10brlcad/NEWS: merged from head was lingering framebuffer windows, red command, and .mgedrc editor setting
14:17.18CIA-4BRL-CAD: 03brlcad * 10brlcad/NEWS: new mged 'clone' object copy command
14:19.48CIA-4BRL-CAD: 03brlcad * 10brlcad/NEWS: oop, don't forget the lil ol 'tracker' command that was done early on; all to be announced for 7.12
14:21.57CIA-4BRL-CAD: 03brlcad * 10brlcad/TODO: clone and tracker are pretty much done, need some tender loving care and testing
14:33.57*** join/#brlcad yukonbob_ (n=yukonbob@198.235.198.234)
15:00.01*** join/#brlcad SWPadnos_ (n=Me@dsl245.esjtvtli.sover.net)
15:46.19yukonbob_.
17:03.49brlcadhappy friday!
17:13.17``Erikw00t
17:14.07``Erikhave we gotten the green light for a release yet?
17:24.28brlcadnope
17:49.34poolioyay weekend :)
17:49.42pooliowhat's all this STABLE CIA spam I see?
17:49.55poolioAnd how many months late are you guys? :P
17:54.16``ErikO.o
18:07.33``ErikCatapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum immane mittam.
18:12.05*** join/#brlcad PK (i=Matt@74.86.45.130)
18:14.20brlcadpoolio: just one
18:16.59poolioheh, not too bad.
18:17.14pooliobrlcad: I'm thinking about starting up coding again. Not having a programming class is really bugging me.
19:37.24``Erikheh, cvs -z3 update -ACPdRrt
21:29.13*** join/#brlcad docelic (n=docelic@77.237.115.174)
22:08.05*** join/#brlcad CIA-4 (n=CIA@208.69.182.149)
22:36.58yukonbobdum de dum dum
22:38.23thing0morning yall
22:38.27thing0hey yukonbob
22:38.28thing0;)
22:38.33yukonbobafternoon thing0 :)
22:38.39thing0hehe
22:38.48thing0it is 638am
22:39.02yukonbobWhere?
22:42.59thing0Perth
22:43.06thing0sorry so many windows
22:43.07thing0hehe
22:43.51yukonbobI guess that means my friend in Adelaide is starting his day now too...
22:44.38thing0he is two hours ahead
22:44.43thing0hehe
22:45.56yukonbobya --- but oh -- it's Saturday too...  ;)
22:46.13thing0hehe
22:46.31yukonbobhappy weekend, thing0 :)
22:46.51thing0it will be
22:47.07thing0i have to get my legs better
22:47.15thing0hurt them a bit while I was away
22:47.25thing0noticed on Tuesday after sitting down for ages
22:50.21thing0hehe
22:50.23thing0have fun
22:50.40thing0i am deciding what new language to learn (re-learn)
22:50.41yukonbobI'll be having fun once it's done...
22:50.47thing0i am thinking of python again
22:50.48thing0hehe
22:51.01yukonboblua
22:51.20thing0lua?
22:51.31yukonboblittle embeddable scripting lang
22:51.43thing0i was thinking that
22:51.49thing0lua did look familar
22:56.03thing0yukonbob: i am after a language that is good for data parsing
22:56.16yukonbobtcl?
22:56.17thing0preferably can use windows hooks aswell
23:06.24``Erikweekend? I'll drink to that
23:06.52``Erikum, the bezier widget shtuff can't wrk with tk8.4
23:07.22``Erikthing: scheme. or lithp. It'll expand your mind in ways you didn't imagine possibile, it's the LSD of languages :D
23:08.56thing0lol
23:09.02thing0nice "Erik
23:09.06thing0thanks for that
23:09.10thing0I will look into them

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