IRC log for #brlcad on 20140918

00:05.42 Notify 03BRL-CAD:starseeker * 62811 brlcad/trunk/src/libdm/dm-wgl.c: Closer to building...
00:08.30 Notify 03BRL-CAD:starseeker * 62812 brlcad/trunk/src/libdm/dm-wgl.c: Add NULLs to match dm-ogl init
00:11.57 *** join/#brlcad archivist (~archivist@host81-149-189-98.in-addr.btopenworld.com)
00:18.23 Notify 03BRL-CAD:starseeker * 62813 (brlcad/trunk/include/dm.h brlcad/trunk/src/libdm/dm-generic.c): Don't use the same name for a struct and a data member within the struct.
00:28.42 Notify 03BRL-CAD:starseeker * 62814 (brlcad/trunk/include/ged.h brlcad/trunk/src/mged/attach.c): More Windows tweaks.
00:38.40 Notify 03BRL-CAD:starseeker * 62815 brlcad/trunk/src/other/openscenegraph/src/osgPlugins/freetype/FreeTypeFont.cpp: Fix includes so local freetype works
00:39.38 Notify 03BRL-CAD:starseeker * 62816 brlcad/trunk/src/mged/wdb_obj.c: Add ged.h
00:42.00 Notify 03BRL-CAD:starseeker * 62817 brlcad/trunk/src/mged/wdb_obj.c: Use the ged.h header declaration.
00:48.18 Notify 03BRL-CAD:starseeker * 62818 brlcad/trunk/src/libged/wdb_importFg4Section.c: include ged.h in wdb_importFg4Section.c
01:01.59 *** join/#brlcad caen23 (~caen23@92.85.88.197)
01:10.30 *** join/#brlcad Stragus (~alexis@173-166-149-129-washingtondc.hfc.comcastbusiness.net)
01:17.44 Notify 03BRL-CAD:starseeker * 62819 brlcad/trunk/src/libfb/if_wgl.c: wgl_open_existing was still in its original form.
01:25.30 Notify 03BRL-CAD:starseeker * 62820 brlcad/trunk/src/libfb/if_wgl.c: copy paste error
02:26.50 Notify 03BRL-CAD:starseeker * 62821 brlcad/trunk/src/libfb/if_wgl.c: Fix typo. wgl+mged are back.
02:31.27 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
02:47.05 Notify 03BRL-CAD:starseeker * 62822 brlcad/trunk/src/libfb/fb_generic.c: Fix bu_strncmp in interface assignment. This gets things going with osgl on Windows, although I'm not sure about the stand-alone framebuffer due to problems with TextureRectangle and the VirtualBox OpenGL.
03:29.40 Notify 03BRL-CAD:starseeker * 62823 brlcad/trunk/src/libbu/malloc.c: Can't use bu_log here due to semaphores
03:32.40 *** join/#brlcad Roby_ (75cf9e5e@gateway/web/freenode/ip.117.207.158.94)
03:33.43 Roby_ brlcad: Hello, Start working on BRL-CAD. Too good.
03:34.47 Roby_ I have read documentation. .g is brlcad data file. A binary file. So to read it I found a g2asc converter
03:35.59 Roby_ Is it convert binary file into ascii code, means to say its only the translation of binary into text?
03:37.40 Roby_ What are the specification of .g and ascii file of BRL-CAD.
03:37.44 Roby_ ?
04:02.03 Roby_ brlcad: in case you forget, .g is brlcad data file. A binary file. So to read it I found a g2asc converter. Is it converting binary file into ascii code, means to say that its only the translation of binary into text?
04:09.49 Stragus He's probably asleep, expect an answer in about... 8 hours :)
04:10.03 Stragus But I believe BRL-CAD tools can read both the binary and the text format of .g files
04:17.02 mihaineacsu Roby_: have a look here http://brlcad.org/w/images/2/2d/BRL_CAD_g_format_V5.pdf
04:17.17 Roby_ hmm, for text format there are some standards.
04:19.31 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
04:19.35 mihaineacsu and yes, as Stragus mentioned, data in .g files is stored both binary and/or ASCII format. the pdf above will give you a better idea of what's going on
04:23.25 Roby_ mihaineacsu: Thanks for this pdf :)
04:59.32 Roby_ mihaineacsu: it uses .g file to read informatrion for making models. Can it also read data from .asc file and make model from that?
05:03.49 mihaineacsu Roby_: I know of asc2g that can help you convert .asc to .g format
05:04.44 Roby_ I tried that. Its true but can it also read data directly from asc format?
05:05.51 mihaineacsu no, I doubt there is a way to do that (as far as I know)
05:13.42 mihaineacsu Roby_: you might also want to have a look here http://brlcad.org/w/images/6/66/Converting_Geometry.pdf
05:17.39 Roby_ I have read this.
05:18.19 Roby_ I think it requires conversion from asc to g file
05:18.42 mihaineacsu surely
05:20.32 Roby_ haha if thats true then its a converter. Not as a translater to translate text into binary.
07:17.04 *** join/#brlcad caen23 (~caen23@92.85.88.197)
07:19.32 *** join/#brlcad ries (~ries@D979EA84.cm-3-2d.dynamic.ziggo.nl)
07:20.13 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
07:40.26 *** join/#brlcad Izakey (~Isaac@195.24.220.134)
08:00.06 *** join/#brlcad Ch3ck_ (~Ch3ck@66-118-151-70.static.sagonet.net)
08:12.23 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
08:45.03 *** join/#brlcad caen23 (~caen23@92.85.88.197)
09:20.21 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
10:08.22 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
10:24.38 *** join/#brlcad bhattigurjot (~scott@202.164.53.117)
10:27.26 bhattigurjot Hi, I want to know about rt^3. Is it a standalone library? Does it have CSG support?
10:37.43 *** join/#brlcad s3gfault (~s3gfault@185.2.31.240)
11:05.11 *** join/#brlcad s3gfault (~s3gfault@185.2.31.240)
11:22.00 *** join/#brlcad s3gfault (~egards@185.2.31.240)
11:55.28 *** join/#brlcad ries (~ries@D979EA84.cm-3-2d.dynamic.ziggo.nl)
12:16.02 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
12:25.56 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
12:33.49 *** join/#brlcad megaton (5e645242@gateway/web/freenode/ip.94.100.82.66)
12:35.21 megaton Hello, anybody here?
12:41.48 *** join/#brlcad DarkCalf (~DarkCalf@173.231.40.98)
12:53.53 *** join/#brlcad mihaineacsu (~mihaineac@92.81.156.14)
13:10.26 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
13:37.19 *** join/#brlcad mihaineacsu (~mihaineac@92.81.46.113)
13:46.35 Notify 03BRL-CAD:starseeker * 62824 brlcad/trunk/src/other/CMakeLists.txt: Try to override all the relevant CACHE variables created by find_package, so we don't end up with accidental mix-and-match.
14:36.53 *** join/#brlcad Stragus (~alexis@50-193-129-193-static.hfc.comcastbusiness.net)
14:37.19 Notify 03BRL-CAD:starseeker * 62825 brlcad/trunk/src/libdm/dm-osgl.cpp: Not properly working yet (state changes mess up everything else after faceplate is enabled) but get actual text drawing correctly and in the right place.)
14:47.58 Notify 03BRL-CAD:starseeker * 62826 brlcad/trunk/src/libdm/dm-osgl.cpp: Do more matrix restoring - can now get full faceplate GUI up and interactive. Embedded framebuffer still doesn't work with faceplate on, and may be other problems, but getting closer.
15:06.43 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
15:54.30 *** join/#brlcad Stragus (~alexis@50-193-129-193-static.hfc.comcastbusiness.net)
16:47.47 Notify 03BRL-CAD:starseeker * 62827 brlcad/trunk/src/libdm/dm-osgl.cpp: Blend state was messing with the embedded framebuffer, and the rest of the settings don't appear to be critical to the text working. This gets the embedded framebuffer working.
17:01.58 Notify 03BRL-CAD:starseeker * 62828 brlcad/trunk/src/libdm/dm-osgl.cpp: Enable color for text
17:04.36 brlcad wonders what's up with the surge of web-based irc users
17:06.57 brlcad starseeker: you know, just about everything you're doing, ftgl does for you
17:10.29 brlcad it's purpose is to render text via freetype onto an opengl context, really makes it crazy simple :)
17:12.43 Notify 03BRL-CAD:carlmoore * 62829 (brlcad/trunk/src/libdm/fontstash/fontstash.h brlcad/trunk/src/libdm/fontstash/glfontstash.h and 2 others): fix spellings (including 'Hello World') and remove trailing blanks/tabs
17:14.31 Notify 03BRL-CAD:starseeker * 62830 brlcad/trunk/src/libdm/dm-osgl.cpp: Dynamically size the text if we don't have a hardcoded value
17:17.33 starseeker brlcad: I can look at that I guess, but as of r62830 it looks like everything is working
17:19.22 starseeker does happy dance
17:20.18 brlcad hey, if it works, good enough for now ..
17:21.04 brlcad just beware though
17:21.42 starseeker ?
17:21.56 brlcad there are lots of gotchas that may become apparent later, portability issues, driver issues, performance issues, and futureproofing (configurable fonts, etc)
17:22.08 brlcad each on their own not so bad, but it can add up
17:22.34 brlcad that's exactly what the lib exists, it handles most of those issues on top of being a simple drop-in "render this text"
17:23.10 starseeker nods - fair enough
17:23.11 brlcad but if you got it working, I'd move on until another issue is encountered
17:23.39 starseeker eventually (once the scene graph is in use) I'll be using osgText instead
17:23.44 brlcad have you tried minimizing and restoring a window yet?
17:24.10 starseeker seems to work here
17:25.01 ``Erik used to be that dragging another window infront of a gl window was problematic, not sure if drivers have 'fixed' that yet
17:25.30 brlcad nods ... and note that osg uses ftgl under the hood
17:25.52 starseeker cool
17:26.56 starseeker figures eventually osgl will fade out, as osg proper (with scenegraph) gets working properly - osgl is an intermediate stage that gives us portability without the more invasive reworking
17:26.58 ``Erik (can I get a woot woot for kilgards texfont? aw yeah)
17:27.02 brlcad most projects I know of that render text to opengl use ftgl, it's pretty darn pervasive
17:27.11 brlcad really should push out another ftgl release
17:28.01 brlcad ``Erik: heh, woot!
17:28.55 starseeker brlcad: you're welcome to switch it out if you like - I went with fontstash because it's very self-contained (doesn't need freetype, all headers, very tiny) and seems to meet our (currently fairly minimal) needs
17:30.32 brlcad even I'd move on if it's working well enough for now
17:30.46 brlcad more just a big yellow caution sign .. here be dragons
17:30.57 brlcad sleeping ones
17:31.02 starseeker nods
17:31.13 starseeker goes dragon prodding with archer...
17:31.33 ``Erik /* if you plan on fixing this, sub ftgl instead */ ?
17:33.06 ``Erik btw, dovecot is running on bz now, pop3, imap4, pops and imaps (ssl ones use elfga.com for the cert)
17:47.33 *** join/#brlcad Stragus (~alexis@50-193-129-193-static.hfc.comcastbusiness.net)
17:52.56 Notify 03BRL-CAD:starseeker * 62831 (brlcad/trunk/src/tclscripts/lib/Dm.tcl brlcad/trunk/src/tclscripts/mged/openw.tcl): Add osgl in to a couple of the Tcl/Tk scripts.
17:55.18 brlcad okie dokie, never heard of it before, sounds good :)
17:56.51 Notify 03BRL-CAD:brlcad * 62832 brlcad/trunk/src/libged/comb_std.c: expand comb_std with support for unicode operators and more consistent op handling.
18:03.14 Notify 03BRL-CAD:brlcad * 62833 brlcad/trunk/src/libged/combmem.c: parse the csg operator through db_str2op for consistent handling and unicode support.
18:06.27 Notify 03BRL-CAD:brlcad * 62834 brlcad/trunk/src/libged/combmem.c: don't bother passing a var in, let the macro deal with it.
18:55.50 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
19:06.01 Notify 03BRL-CAD:starseeker * 62835 (brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl brlcad/trunk/src/tclscripts/lib/Ged.tcl and 5 others): Either tweak scripts or make notes that something will need to be done to support osgl (lots of hard-coding of wgl vs. ogl in here, which is bad to begin with...
19:09.19 Notify 03BRL-CAD:starseeker * 62836 (brlcad/trunk/src/libdm/query.c brlcad/trunk/src/libfb/fb_generic.c): This flips the switch to prefer osgl for libdm and libfb when it is available.
19:30.41 Notify 03BRL-CAD:brlcad * 62837 brlcad/trunk/src/external/Cubit/g-sat.cpp: ws style cleanup
19:40.31 *** join/#brlcad javampire (~ncsaba@p4FF73635.dip0.t-ipconnect.de)
19:45.35 Notify 03BRL-CAD:brlcad * 62838 brlcad/trunk/src/external/Cubit/g-sat.cpp: restructure to avoid forward declarations, mark all static, and fix various compilation issues that went unnoticed. should compile again now with cubit/acis headers.
19:49.42 Notify 03BRL-CAD:carlmoore * 62839 brlcad/trunk/src/rt/opt.c: add comment because I got tripped up and tried inserting 0
19:53.40 Notify 03BRL-CAD:brlcad * 62840 brlcad/trunk/src/external/Cubit/g-sat.cpp: OUTPUT_FILE is not used, provide a default filename that is the input with a new extension
19:58.22 Notify 03BRL-CAD:brlcad * 62841 brlcad/trunk/src/external/Cubit/g-sat.cpp: using 'using namespace std;' is discouraged. best practice is to make that particular namespace explicit.
19:59.55 Notify 03BRL-CAD:brlcad * 62842 (brlcad/trunk/src/libged/combmem.c brlcad/trunk/src/libged/red.c): more consistent op handling propagation for red and combmem.
20:00.38 Notify 03BRL-CAD:brlcad * 62843 brlcad/trunk/src/librt/db_tree.c: elminiate the custom handling of 'n' here for the adjust command.
20:01.13 Notify 03BRL-CAD:brlcad * 62844 brlcad/trunk/src/libged/red.c: eliminate dead debuggin code
20:13.15 Notify 03BRL-CAD:brlcad * 62845 brlcad/trunk/src/librt/db_tree.c: implement consistent and unicode-extended csg op handling for put/adjust commands
20:18.51 Notify 03BRL-CAD:starseeker * 62846 brlcad/trunk/src/libdm/dm-osgl.cpp: Don't crash if we don't find the font file, just don't draw text. Also don't fail quietly if the file isn't found.
20:18.58 Notify 03BRL-CAD:brlcad * 62847 brlcad/trunk/src/libged/comb.c: expand the comb command with support for unicode and consistent op letter conventions
20:26.21 *** join/#brlcad Stragus (~alexis@173-166-149-129-washingtondc.hfc.comcastbusiness.net)
20:34.04 Notify 03BRL-CAD:starseeker * 62848 brlcad/trunk/src/libdm/CMakeLists.txt: Make sure the ProFont file gets copied - doesn't matter if we have symlinks, but important on Windows.
20:39.25 Notify 03BRL-CAD:brlcad * 62849 (brlcad/trunk/src/conv/dxf/dxf-g.c brlcad/trunk/src/conv/enf-g.c): ws style indent cleanup
20:54.35 *** join/#brlcad javampire (~javampire@v10024.1blu.de)
20:58.12 Notify 03BRL-CAD:brlcad * 62850 brlcad/trunk/src/conv/stl/stl-g.c: ws
21:00.27 Notify 03BRL-CAD:brlcad * 62851 (brlcad/trunk/src/libged/comb.c brlcad/trunk/src/libged/ged_private.h and 4 others): remainder of operator parsing commands that are now using db_str2op for consistent unicode-aware handling.
21:02.52 brlcad starseeker: you plan on getting back to the fd_set problem? (r62809)
21:03.09 brlcad that was working...
21:07.04 *** part/#brlcad javampire (~javampire@v10024.1blu.de)
21:12.54 Notify 03BRL-CAD:starseeker * 62852 (brlcad/trunk/include/fb/fb_osgl.h brlcad/trunk/src/libfb/if_osgl.cpp): In principle, it should be possible to fall back on the older drawing approach if texture rectangles aren't supported...
21:13.18 starseeker brlcad: I'll try
21:13.26 starseeker it was working on Windows?
21:28.39 *** join/#brlcad s3gfault (~egards@188.72.106.9.leadertelecom.ru)
21:55.09 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
21:56.06 *** join/#brlcad javampire (~javampire@v10024.1blu.de)
22:05.18 Notify 03BRL-CAD:starseeker * 62853 brlcad/trunk/src/other/openscenegraph/CMakeLists.txt: Don't try to force specific architectures (at least not while part of BRL-CAD's build...)
22:08.10 Notify 03BRL-CAD:starseeker * 62854 brlcad/trunk/src/other/tk/CMakeLists.txt: Need our freetype (if in play) to come before any possible X11 system version.
22:09.43 *** join/#brlcad s3gfault (~egards@188.72.106.9.leadertelecom.ru)
22:35.30 *** part/#brlcad javampire (~javampire@v10024.1blu.de)
22:36.05 *** join/#brlcad javampire (~javampire@v10024.1blu.de)
22:53.17 *** join/#brlcad mihaineacsu (~mihaineac@92.81.46.113)
23:35.13 starseeker well crud. OSG isn't working on the Mac
23:37.18 *** join/#brlcad konrado (~konro@41.205.22.54)

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