IRC log for #brlcad on 20090531

01:41.29 *** join/#brlcad IriX64 (n=IriX64@bas2-sudbury98-1177680700.dsl.bell.ca)
02:06.35 *** join/#brlcad IriX64 (n=IriX64@bas2-sudbury98-1177680700.dsl.bell.ca)
02:15.46 ``Erik http://newmedia.funnyjunk.com/pictures/baconflowchart_700.jpg brilliant
04:03.00 *** join/#brlcad Axman6_ (n=Axman6@pdpc/supporter/student/Axman6)
04:14.48 *** join/#brlcad dreeves__ (n=dreeves@64.178.177.71)
07:18.33 *** join/#brlcad PrezKennedy (i=Matthew@whitecalf.net)
13:02.59 *** join/#brlcad docelic_ (n=docelic@78.134.196.36)
13:11.04 *** join/#brlcad samrose (n=samrose@c-24-11-214-181.hsd1.mi.comcast.net)
14:03.19 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
14:09.04 CIA-28 BRL-CAD: 0398.218.53.50 07http://brlcad.org * r1459 10/wiki/Main_Page: lighting
14:11.50 *** join/#brlcad docelic_ (n=docelic@78.134.196.36)
14:16.40 *** join/#brlcad docelic (n=docelic@78.134.196.36)
16:52.36 *** join/#brlcad n00b_in (n=suryajit@202.3.77.38)
19:47.31 *** join/#brlcad jdoliner (n=jdoliner@c-98-227-157-38.hsd1.il.comcast.net)
19:51.57 jdoliner who had a good working knowledge of openNurbs?
19:52.16 jdoliner has rather*
20:28.02 brlcad jdoliner: a least a couple of us have a decent working knowledge -- what's the question?
20:28.26 jdoliner so I've been code reading it for a while
20:28.37 jdoliner first all the documentation I've found
20:28.44 jdoliner well I haven't found much
20:29.04 jdoliner that really gives me an idea how things are working
20:29.33 jdoliner so if I've just failed to find the good stuff but it does exist somewhere
20:29.39 jdoliner that would be really useful
20:29.54 jdoliner really I'm having trouble understanding exactly how to work with nurbs/surfaces
20:30.13 jdoliner particularly exactly what fields are they storing in them
20:30.18 jdoliner because I can't find that anywhere
20:30.48 jdoliner ultimately I need to just get the paramatric form, however it's stored, which seems like it shouldn't be too hard
20:36.02 brlcad jdoliner: their only 'official' documentation is in the header files, same ones in src/other/openNURBS
20:36.42 brlcad everything stems from what is found there (which is a lot, so it can be a bit complicated to search for specific things)
20:37.24 brlcad I assume you've read the openNURBS examples in src/proc-db that talk about the basic structure, create 2d and 3d curves
20:38.07 brlcad er, those are 'our' examples, and then there are the openNURBS examples in src/other/openNURBS/example_*/.
20:39.52 brlcad if you've not seen this image, it describes the data structures pretty well: http://en.wiki.mcneel.com/content/upload/images/Brep_structure.gif
20:43.01 jdoliner okay I also found some code hosted on their wiki wish is a MeshMesh intersect
20:43.14 jdoliner but as far as I can see it's not included in their toolkit
20:43.23 jdoliner and it's not in our copy of it
20:43.51 brlcad erm, if it was included, you wouldn't have much of a project ;)
20:44.08 brlcad aside from needing to intersect a lot more than Mesh objects :)
20:44.46 brlcad need to evaluate the intersection of an arbitrary ON_Brep against another ON_Brep
20:45.16 brlcad there is a LOT missing from openNURBS that is included in the Rhino3D toolkit, particularly evaluation routines
20:45.31 brlcad they removed much of their bread-n-butter than makes Rhino pretty uniquely powerful
20:48.28 jdoliner okay that's good
20:48.39 jdoliner I've written some stuff that would have been redundant with that function
20:56.41 brlcad note that we have a lot of curve+surface and surface+surface intersection routines written, particularly for polygonal surfaces but even for spline surfaces
20:57.24 brlcad they're just not very robust the way they're implemented, and they're not for/using the openNURBS ON_Brep data structures (which form the basis of our new 'brep' object type)
20:58.32 jdoliner i see
20:58.58 brlcad src/librt/primitives/nmg/nmg_eval.c for example for how it's done on our generalized polygon mesh nmg object type
20:58.58 jdoliner so should I avoid dependancy on any of their intersection routines
20:59.17 brlcad you can use any openNURBS routines
20:59.23 brlcad or routines you write
20:59.39 brlcad or even routines that we've already written, but updated to ON types
21:00.08 jdoliner right but you said their intersection routines aren't that robust
21:00.12 brlcad just saying your job might be a little easier to survey what you need and what's available to you, you don't have to start from scratch ;)
21:00.19 jdoliner okay
21:00.25 jdoliner that's comforting
21:00.59 brlcad if you blindly implement from scratch, you will just as likely end up with a non-robust solution too :)
21:01.10 jdoliner also can you give me a little tutorial on how to compile something against the opennurbs library
21:01.39 jdoliner for some reason I can't seem to get my object files to binaries without it saying it can't find the all the opennurbs functions
21:01.45 brlcad see src/proc-db/breplicator.cpp and the build rules in src/proc-db/Makefile.am
21:02.25 jdoliner okay
21:02.30 brlcad you can start another example app in there for that matter
21:02.38 brlcad you shouldn't be coding outside of revision control
21:03.01 jdoliner I've been putting things in the ON example folder
21:03.26 jdoliner but I couldn't find a makefile for them
21:03.37 brlcad which ON example folder?
21:04.33 brlcad there are seven, but yeah they don't have Makefiles, can just hand-compile them
21:04.43 brlcad not that your code belongs there :)
21:04.49 jdoliner no it doesn't
21:04.49 brlcad src/other shouldn't be directly modified
21:05.04 jdoliner that's something I didn't know
21:05.07 jdoliner k
21:05.12 jdoliner no more modifying that
21:05.22 jdoliner i'd actually made my own example folder
21:05.23 brlcad those are 3rd party codes, external dependencies
21:05.59 brlcad they're bundled primarily as a download/compile convenience -- instead of telling people to go download and install A, B, C, ...
21:06.22 brlcad configure autodetects what is available on a given system and compiles the remainder of what it needs
21:06.51 brlcad src/proc-db is a good 'scratch playground' for new routine and new app development
21:08.22 jdoliner k that sounds good
21:38.28 CIA-28 BRL-CAD: 03brlcad * r34601 10/brlcad/trunk/src/conv/iges/readstrg.c: if id is null, crash. so check it. (ran into it after stack corruption)
22:21.42 Ralith anyone seen jonored around?
22:46.22 brlcad ~seen jonored
22:46.24 ibot jonored <n=jonored@dsl092-076-134.bos1.dsl.speakeasy.net> was last seen on IRC in channel #brlcad, 41d 3h 12m 17s ago, saying: '...er... wrong project. the brlcad database, not the reprap... wrong project I want to work on.'.
23:48.10 brlcad hm, he was here at least on the first too, but didn't say anything

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