IRC log for #brlcad on 20090724

01:01.31 mike111 hi all
01:02.12 Ralith hello
01:02.21 mike111 hi Ralith.
01:02.36 Ralith 05:17:14 < brlcad> the 'area' command gives projected/presented area, but just a rough approximation -- rtarea is the tool to use
01:02.39 Ralith 05:20:17 < ``Erik> totally awesome, I've gotten, like, NO mail at bz, but this morning, I get spam there. yayyyy
01:02.42 Ralith 05:20:33 < brlcad> he gets the bu_log write error because rtarea is async and mged terminates before rtarea finishes, yet it can't display the results because mged is gone
01:03.00 Ralith mike111: see above.
01:03.02 mike111 Thanks, saw that when I just checked the log.
01:03.21 mike111 any solution? I need to save the rtarea output into a file.
01:04.06 Ralith solution to what?
01:04.39 mike111 I'm trying to run rtarea from the commandline using mged -c new.g "Z;E s1.r;top;rtarea"
01:04.55 mike111 but getting bu_log: write error
01:05.03 mike111 that's the async thing brlcad mentioned.
01:05.15 Ralith mike111: you're hitting the exact same problem he mentioned, too.
01:05.20 Ralith don't use mged.
01:05.21 Ralith use rtarea.
01:06.12 mike111 but how do I set the correct view without mged? rtarea calculates the area of `projected/presented area', that is, you need to set the direction from which you view the object.
01:06.40 Ralith play with it and find out?
01:06.59 Ralith wait for someone who knows?
01:07.00 mike111 man rtarea doesn't say anything about setting the view angle.
01:07.15 Ralith that's why I said "play with it", rather than "read the manpage."
01:07.21 mike111 that's why I'm on the channel again today ;)
01:07.35 Ralith I suggest playing with it while waiting.
01:08.49 mike111 do you know what's the difference between arced and oed?
01:09.01 Ralith nope
01:09.05 Ralith mged's help command might.
01:09.17 mike111 Wasn't clear to me from reading the manual.
01:09.30 mike111 seems like I can modify an object's attribute with either.
01:09.37 starseeker mike111: you might try saveview inside mged and editing the generated script to call rtarea rather than rt
01:10.16 Ralith perhaps rtarea accepts the same options as rt?
01:10.26 Ralith much in the way that X apps tend to all accept the same X options?
01:11.24 starseeker appears to
01:11.37 Ralith mike111: then, see man rt for how to set the view.
01:12.20 starseeker tried it, and it looks like it worked: set up the desired view in mged, type saveview script.sh, edit script.sh to call rtarea rather than rt (probably want to delete the -o line and the redirect to a log, unless you want the rtarea output in a log file)
01:13.19 mike111 thanks Ralith and starseeker :) will try that
01:14.29 mike111 rtarea isn't an mged command so it's not in vol.II. Is there a manual for all such non-mged commands or at least a list of such commands?
01:15.16 Ralith ls /path/to/brlcad/bin
01:15.21 Ralith :P
01:15.59 starseeker mike111: our documentation is far from comprehensive - first thing to try is brlman commandname
01:18.07 starseeker Ralith: probably adding a screenshot of the g3d window with the knot to your log - the wiki does support images, IIRC
01:18.38 Ralith starseeker: you mean, I probably should?
01:18.46 Ralith yeah, sounds like a good idea
01:18.53 Ralith needs to sit down for half an hour at some point and bring his log up to date
01:23.53 starseeker glares at g-vrml, g-stl, and friends
01:24.03 starseeker or more specifically, the tesselation routines behind them
01:37.14 CIA-38 BRL-CAD: 03starseeker * r35275 10/brlcad/trunk/src/librt/opennurbs_ext.cpp: Tweak the isFlat comments
01:42.10 mike111 is there a way to find the surface area of an object and not the area of a projection?
01:44.49 *** join/#brlcad LarsG (n=lars@nusnet-191-70.dynip.nus.edu.sg)
01:44.55 *** part/#brlcad LarsG (n=lars@nusnet-191-70.dynip.nus.edu.sg)
02:06.37 CIA-38 BRL-CAD: 03starseeker * r35276 10/brlcad/trunk/ (7 files in 3 dirs): OK, enough of the benefits of the cleanup code are in the 'real' code that the cleanup code can be removed - flesh out the comments for subdivision and remove the cleanup files.
02:06.37 brlcad mike111: no, not presently, at least not a good way that doesn't involve heavy scripting/coding
02:07.25 mike111 the manual (Vol.II) mentions `analyze' but it only applies to arbs?
02:07.34 brlcad right
02:08.01 mike111 will `analyze' work on an ars?
02:09.06 brlcad mike111: to run rtarea like you wanted, instead of running it inside mged, instead run "saveview -e rtarea whatever.rt" in mged, and then run ./whatever.rt
02:09.16 brlcad no, analyze only works on arb8s
02:10.19 mike111 thanks for the rtarea tip. I'm now playing with a bash scripting to change a `saveview' script.
02:10.52 brlcad "help saveview" has a few other options
02:11.00 brlcad for logging output, inputs, etc
02:11.13 mike111 will check that.
02:11.15 mike111 what's the difference between arced and oed?
02:11.44 brlcad you want to use oed and not arced ;)
02:12.11 brlcad arced is an old command intended for animation manipulation/articulation
02:12.20 mike111 I read the manual about oed but Vol.II mentions arced which seems to do same.
02:12.40 mike111 OK. It's oed then ;)
02:12.44 brlcad huh, a bit surprised vol II would mention it..
02:13.13 brlcad i mean it'll do the trick, but oed is really the one to use -- whole tutorial on the site dedicated to explaining just that command in detail with lots of example
02:13.47 mike111 arced is in p.157-158
02:14.02 mike111 that's the manual I read. easy to follow.
02:27.02 starseeker oed doc is here: http://brlcad.org/w/images/3/36/Object_Editing_-_the_oed_Command.pdf
02:29.49 mike111 starseeker: thanks, that's the manual I mentioned above.
02:30.58 starseeker makes a stab at playing with C++ list push_back options and makes things worse... yech
02:31.27 starseeker ok, better to get some sleep and try with > 0.5 of brain tomorrow
02:34.52 Ralith nite!
02:39.47 brlcad Ralith: starseeker: all the rt* apps accept the same options as 'rt' -- if they have specialized options, they're '-c"set VAR=value"' options (man rtedge for examples)
02:40.00 Ralith cool, suspected as much
02:40.04 Ralith that explains the sparse manpage
02:40.30 brlcad also why saveview has a -e option, to specify another rt to exec instead
02:42.12 Ralith cool!
03:12.57 *** join/#brlcad b0ef (n=b0ef@084202026157.customer.alfanett.no) [NETSPLIT VICTIM]
03:22.18 *** join/#brlcad ChanServ (ChanServ@services.)
03:22.19 *** join/#brlcad b0ef (n=b0ef@084202026157.customer.alfanett.no) [NETSPLIT VICTIM]
03:22.19 *** mode/#brlcad [+o ChanServ] by irc.freenode.net
03:26.26 *** join/#brlcad louipc (n=louipc@archlinux/trusteduser/louipc)
03:31.46 CIA-38 BRL-CAD: 03n_reed * r35277 10/brlcad/trunk/src/libdm/dm-rtgl.c: lighting using open gl
03:35.55 *** join/#brlcad louipc (n=louipc@archlinux/trusteduser/louipc)
04:07.09 *** join/#brlcad louipc (n=louipc@archlinux/trusteduser/louipc)
05:25.29 *** join/#brlcad louipc (n=louipc@archlinux/trusteduser/louipc)
06:31.44 *** join/#brlcad d_rossberg (n=rossberg@bz.bzflag.bz)
07:23.48 *** join/#brlcad _clock_ (n=_sushi_@80-218-244-105.dclient.hispeed.ch)
08:08.52 *** join/#brlcad d-lo_ (n=claymore@bz.bzflag.bz)
10:27.58 *** join/#brlcad ornitorrincos (n=ilcra198@archlinux/trusteduser/ornitorrincos)
10:52.04 *** join/#brlcad cosurgi (n=cosurgi@atak.bl.pg.gda.pl)
10:59.37 *** join/#brlcad louipc (n=louipc@archlinux/trusteduser/louipc)
11:20.14 *** join/#brlcad Elrohir (n=kvirc@p5B14E33F.dip.t-dialin.net)
12:31.48 *** join/#brlcad mafm (n=mafm@74.Red-83-42-152.dynamicIP.rima-tde.net)
12:34.41 *** join/#brlcad BigAToo (n=BigAToo@host-69-95-46-65.spr.choiceone.net)
13:21.23 CIA-38 BRL-CAD: 03irpguardian * r35278 10/brlcad/trunk/src/proc-db/human.c: Added command line function for centering human model, -l, by xyz coordinate.
13:21.59 *** join/#brlcad rnkv2 (n=rnkv2@adqp209.neoplus.adsl.tpnet.pl)
13:22.06 rnkv2 hi
13:35.42 *** join/#brlcad mafm_ (n=mafm@74.Red-83-42-152.dynamicIP.rima-tde.net)
13:37.11 *** join/#brlcad samrose (n=samrose@c-24-11-185-57.hsd1.mi.comcast.net)
13:44.29 *** join/#brlcad kanzure (i=bryan@dhcp-84-36.me.utexas.edu)
14:08.49 brlcad hello rnkv2
14:08.52 rnkv2 could you help me with this problem: http://pastebin.com/m6f3d1b53 (it is the end of my compilation log)
14:09.07 brlcad can't get to pastebin.com
14:09.10 brlcad ~bzpaste
14:09.30 brlcad use, http://pastebin.bzflag.bz/ instead please
14:09.38 rnkv2 sure
14:09.46 brlcad ~bzpaste is http://pastebin.bzflag.bz/
14:09.46 ibot brlcad: okay
14:10.32 louipc rnkv2: looks like you need mesa
14:11.12 rnkv2 brlcad, it messed up, give me a moment please
14:11.29 rnkv2 (checking if i have mesa)
14:12.15 rnkv2 mesa-7.3-r1 here
14:12.23 louipc debian/ubuntu?
14:13.28 louipc may need mesa-dev then. Hmm I don't know what version is needed though. I have 7.5
14:14.05 rnkv2 gentoo here
14:14.17 rnkv2 media-libs/mesa-7.3-r1 exactly
14:14.37 rnkv2 ok, i will check for newest
14:15.05 louipc check if you have those functions
14:15.34 rnkv2 could you provide ma hint how should i do that?
14:16.00 louipc maybe `man glDeleteLists`
14:16.41 louipc that only says if you have the man page though hehe
14:16.54 rnkv2 the same here :)
14:21.08 louipc rnkv2: it's there yeah?
14:21.24 rnkv2 brlcad, here you go: http://pastebin.bzflag.bz/m25df21
14:21.53 rnkv2 no, it says that there is no such man page :(
14:21.54 louipc yeah try updating to latest version, post your full log
14:22.16 louipc rnkv2: oh ok. that might be a bad sign
14:22.26 louipc rnkv2: you don't have -docs USEFLAG do you?
14:22.42 rnkv2 i think i don't have
14:22.59 louipc ok
14:23.52 louipc hmm mesa 7.3 isn't that old
14:24.13 rnkv2 i have 'doc' flag in system and it's switched of globaly
14:24.21 rnkv2 off*
14:25.54 rnkv2 btw what is the difference between http://pastebin.bzflag.bz/ and http://pastebin.com ?
14:26.36 louipc I guess brlcad's company doesn't let him visit pastebin.com
14:27.16 rnkv2 thanks for explaining
14:27.18 louipc pastebin.com can get kind of slow though
14:35.45 rnkv2 what about libdrm? which version is needed?
14:35.56 rnkv2 mine is libdrm-2.4.5
14:36.46 louipc hmm no idea
14:37.26 rnkv2 ok, installing media-libs/mesa-7.5-r2
14:37.55 rnkv2 and libdrm-2.4.12 as dependency
14:38.36 louipc hehe that's what I have
14:39.12 louipc do you have libgl?
14:41.57 rnkv2 still checking...
14:43.52 rnkv2 louipc, with which ebuild it comes?
14:45.23 rnkv2 mesa compiled, trying to compile brl-cad
14:46.45 louipc rnkv2: not sure. `locate libGL.so`
14:48.16 rnkv2 usr/lib/libGL.so
14:48.18 rnkv2 /usr/lib/opengl/xorg-x11/lib/libGL.so
14:48.19 rnkv2 /usr/lib/opengl/xorg-x11/lib/libGL.so.1
14:48.21 rnkv2 /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
14:48.22 rnkv2 /usr/lib/opengl/nvidia/lib/libGL.so.96.43.11
14:48.24 rnkv2 /usr/lib/opengl/nvidia/lib/libGL.so
14:48.25 rnkv2 /usr/lib/opengl/nvidia/lib/libGL.so.1
14:51.42 rnkv2 my brlcad configuration: http://pastebin.bzflag.bz/d24c9bd9f
15:09.15 *** join/#brlcad BigAToo1 (n=BigAToo@host-69-95-46-65.spr.choiceone.net)
15:20.44 rnkv2 with new mesa and libdrm i got exactly the same error
16:13.48 *** join/#brlcad jdoliner (n=jdoliner@c-68-51-75-169.hsd1.il.comcast.net)
16:37.33 rnkv2 ok, next approach - I recompiled xorg-server and nvidia-drivers
16:38.04 rnkv2 compling brlcad
17:23.40 rnkv2 still the same error
17:28.34 jdoliner sry I missed your original msg where you said what the error was
17:28.38 jdoliner ming repeating?
17:29.00 rnkv2 sure, let me paste it again
17:29.17 rnkv2 here it is: http://pastebin.bzflag.bz/m25df21
17:30.07 *** join/#brlcad _sushi_ (n=_sushi_@84-72-9-84.dclient.hispeed.ch)
17:31.15 rnkv2 jdoliner, any idea what is wrong?
17:32.19 jdoliner did autogen and configure work w/o a hitch?
17:33.42 rnkv2 tail of my brl-cad configuration: http://pastebin.bzflag.bz/d24c9bd9f
17:33.58 rnkv2 what do you mean by w/o ?
17:34.03 jdoliner without
17:34.27 rnkv2 there was some warnings
17:35.07 rnkv2 do you want me to place it all on pastebin?
17:35.40 jdoliner yeah if you don't mind
17:35.51 rnkv2 sure, please wait
17:38.28 jdoliner okay I think you're missing a library
17:38.32 jdoliner let me figure out which one it is
17:39.15 jdoliner what do you have in the way of opengl?
17:39.48 rnkv2 could you rephrase it?
17:41.51 jdoliner are you using linux?
17:42.08 rnkv2 jdoliner, i'm not native english speaker and I don't get the 'in the way of' phrase
17:42.09 jdoliner that's not a rephrasing
17:42.16 rnkv2 yes, i'm using gentoo
17:42.38 jdoliner k
17:43.41 jdoliner do the command: `glxinfo'
17:43.41 jdoliner and paste me to output
17:45.08 rnkv2 here you go: http://pastebin.bzflag.bz/m6439682e\
17:45.15 rnkv2 http://pastebin.bzflag.bz/m6439682e
17:47.37 rnkv2 and here is a complete configuration log http://pastebin.bzflag.bz/m6a8a8c0f (I added all warnings at the end)
17:54.50 jdoliner okay it looks like you're missing your gl C bindings
17:55.55 jdoliner line 411:
17:55.56 jdoliner checking for OpenGL library availability... no
17:56.32 rnkv2 any idea how I make repair that?
17:56.40 jdoliner yeah you need to get mesa
17:56.49 jdoliner is I think the best solution
17:57.07 jdoliner i'm just checking exactly what it is I have here
17:57.12 rnkv2 i updated today to media-libs/mesa-7.5-r2
17:57.33 rnkv2 and still there is a problem
17:58.44 jdoliner hmm
17:59.16 rnkv2 i recompiled after that xorg-server and nvidia-drivers
18:00.13 jdoliner well I'll keep looking but let's get sean in here because he know more than me
18:00.20 jdoliner brlcad
18:00.31 jdoliner are you around someone could use your help
18:13.08 rnkv2 brb
18:13.16 rnkv2 reboot
18:13.49 jdoliner k
18:17.22 *** join/#brlcad rnkv2 (n=rnkv2@adqp209.neoplus.adsl.tpnet.pl)
18:17.31 rnkv2 back
18:19.41 jdoliner im kind of out of ideas
18:19.50 jdoliner sean will be able to help you for sure
18:21.23 rnkv2 thanks jdoliner :)
18:23.02 rnkv2 i rebooted and now there is now problem about nvidia in glxinfo
18:24.03 rnkv2 i cannot wait to see how this software is working :)
18:28.34 brlcad rnkv2: you don't need opengl, what's the issue?
18:28.58 brlcad it'll work fine with just X11 bindings
18:29.14 rnkv2 still the same error, i cannot finish compilation
18:29.57 brlcad what's the error?
18:30.44 brlcad the gl errors?
18:30.46 rnkv2 brlcad, http://pastebin.bzflag.bz/m25df21
18:30.57 brlcad yeah, is this an svn build?
18:31.03 rnkv2 yes
18:31.10 brlcad are you up to date?
18:31.28 brlcad svn up
18:31.29 rnkv2 i downloaded it yesterday morning
18:31.57 brlcad that doesn't answer the question :)
18:32.08 brlcad except hint at "probably not" ;)
18:32.47 rnkv2 brlcad, so what are you suggesting? svn export https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk source ?
18:33.09 brlcad did you export the first time or checkout?
18:33.16 rnkv2 export
18:33.19 brlcad ah, you shouldn't export
18:33.24 brlcad not if you're pulling trunk
18:33.33 brlcad one of our new display managers was left enabled for a few hours yesterday, which uses opengl
18:33.45 brlcad if you'd just done a checkout, you could now "svn up" and it'd work
18:33.52 brlcad now you can checkout again, though
18:34.15 rnkv2 ok, i will checkout it
18:53.35 rnkv2 now configuring and compiling
19:02.11 brlcad suggest --enable-all
19:02.15 brlcad but not critical
19:03.03 rnkv2 if current compilation would not work then i will try it
19:03.35 rnkv2 thank you for helping :)
19:07.54 brlcad np
19:10.34 *** join/#brlcad pacman87 (n=pacman87@pool-173-74-57-16.dllstx.fios.verizon.net)
19:12.11 *** join/#brlcad samrose (n=samrose@c-24-11-185-57.hsd1.mi.comcast.net)
19:13.45 brlcad howdy pacman87
19:13.54 brlcad how goes school? settling in?
19:36.01 rnkv2 brlcad, the compilation was successful :) i've got only an error when i tried to install- 'make install' wants to install some components at /usr/lib/ (like for example /usr/lib/Tkhtml3.0) - is there a way to install everything in user space (/home/brlcad) ?
20:12.54 starseeker rnkv2: tkhtml3 is a bit of a problem child in that respect
20:13.33 starseeker on some platforms it seems those makefiles insist on /usr/lib
20:14.19 rnkv2 i set now ./configure --prefix=/home/brlcad/usr --exec-prefix=/home/brlcad so we will see what it will bring
20:14.42 brlcad did you set prefix the first time?
20:14.57 rnkv2 only --prefix=/home/brlcad/usr
20:15.39 brlcad then shouldn't exec-prefix be /home/brlcad/bin already? :)
20:15.55 brlcad you'll probably have better luck just editing the Tkhtml Makefile
20:16.41 brlcad src/other/tkhtml3/Makefile and src/other/tkhtml3/src/Makefile .. see if there's a /usr/ or /usr/lib reference in there
20:17.01 rnkv2 there was created /home/brlcad/usr/bin, /home/brlcad/usr/lib etc with the first configuration
20:17.13 rnkv2 sure, thanks for hints
20:20.01 rnkv2 i run some other projects in user spaces and it's really convenient when you need to debug it or clear and try again, and it's also more secure when the software is working online
20:20.39 *** join/#brlcad CIA-37 (n=CIA@208.69.182.149)
20:24.26 brlcad rnkv2: we actually default install isolated into /usr/brlcad
20:24.31 brlcad for that same reason
20:25.11 brlcad the /usr/lib thing is just a tkhtml build file bug of some sort
20:26.33 rnkv2 brlcad, but how someone may easily uninstall brl-cad from /usr/brlcad (and eventual other parts of system) ?
20:39.44 CIA-37 BRL-CAD: 03n_reed * r35279 10/brlcad/trunk/ (include/vmath.h src/libdm/dm-rtgl.c): adjusted z-clipping when using z-buffer
21:12.27 *** part/#brlcad jdoliner (n=jdoliner@c-68-51-75-169.hsd1.il.comcast.net)
21:14.30 CIA-37 BRL-CAD: 03Ebautu 07http://brlcad.org * r1579 10/wiki/More_Changelog: July 24
21:15.32 CIA-37 BRL-CAD: 03Ebautu 07http://brlcad.org * r1580 10/wiki/More_Changelog: /* July 7 - Today */
21:21.34 rnkv2 brlcad, it seams that './configure --prefix=/home/brlcad/usr --exec-prefix=/home/brlcad' did the job. I haven't noticed problems with tkhtml3
21:21.53 rnkv2 i was able to lunch brl-cad
21:21.56 rnkv2 :)
21:23.53 rnkv2 thanks for all the help you all :)
22:42.51 *** join/#brlcad BigAToo (n=BigAToo@pool-96-230-124-27.sbndin.btas.verizon.net)
23:11.18 *** part/#brlcad rnkv2 (n=rnkv2@adqp209.neoplus.adsl.tpnet.pl)

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