[brlcad-devel] GSoC: Hello All

2012-03-27 Thread crdueck
Hello everyone, my name is Chris and I'm hoping to participate in the Summer of Code 2012 with BRL-CAD. I'm a mathematics major at the University of Waterloo (Canada), with an interest in computer science and programming. I have little dev experience at the moment, but hopefully that will chang

[brlcad-devel] GSoC Application - WIP

2012-03-30 Thread crdueck
Hello everyone, I've began drafting my GSoC Application. It's not complete yet, but i want to get an early draft out for review. I'm VERY open to suggestions, please let me know what needs to be impoved. Also, as it is i feel that my project needs more content. I'd very much appreciate input as

Re: [brlcad-devel] GSoC Application

2012-04-02 Thread crdueck
Hello all, I've posted a complete first draft of my GSoC application. It's mostly finished in terms of content for now, but I'd love to get some feedback on anything that can be improved or added. You can find it here: http://brlcad.org/wiki/User:Crdueck thanks ---

Re: [brlcad-devel] GSoC Application

2012-04-02 Thread crdueck
On 04/02/2012 11:10 PM, Christopher Sean Morrison wrote: > On Apr 2, 2012, at 6:43 PM, crdueck wrote: > >> Hello all, I've posted a complete first draft of my GSoC application. >> It's mostly finished in terms of content for now, but I'd love to get >>

Re: [brlcad-devel] GSoC Application

2012-04-02 Thread crdueck
On 04/02/2012 11:10 PM, Christopher Sean Morrison wrote: > On Apr 2, 2012, at 6:43 PM, crdueck wrote: > >> Hello all, I've posted a complete first draft of my GSoC application. >> It's mostly finished in terms of content for now, but I'd love to get >>

[brlcad-devel] Issues compiling, undefined reference to 'X24_open_existing', 'X24_interface'

2012-04-04 Thread crdueck
hey all, I'm having issues when compiling BRLCAD from a svn checkout. Here's the relevant error message: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: X11_Xi_LIB (AD

Re: [brlcad-devel] Issues compiling, undefined reference to 'X24_open_existing', 'X24_interface'

2012-04-04 Thread crdueck
On 04/04/2012 06:06 PM, Christopher Sean Morrison wrote: > On Apr 4, 2012, at 1:40 PM, crdueck wrote: > >> hey all, I'm having issues when compiling BRLCAD from a svn checkout. >> Here's the relevant error message: >> [snip] >> I'd really like to get B

Re: [brlcad-devel] Issues compiling, undefined reference to 'X24_open_existing', 'X24_interface'

2012-04-16 Thread crdueck
ibxml2 libxmu libxpm libxrandr libxrender libxss libxt libxtst libxv libxvmc libxxf86dga libxxf86vm I am using the ubuntu image currently, but i'd like to be able to work in my own environment if possible. thanks, chris On 04/04/2012 01:40 PM, crdueck wrote: > hey all, I'm having issues

[brlcad-devel] progress update, and hello to Ed Davisson

2012-05-07 Thread crdueck
Hello all, a quick update on my progress so far: I've got BRLCAD compiling and installing fine after some initial issues. Cliff was able to provide a patch that should increase the robustness of the build for future *nix distros who may choose to forgo 32-bit support. I've been following the I

[brlcad-devel] MGED's Joint command

2012-05-24 Thread crdueck
hello everyone, I've been trying to find information on MGED's joint command, so that I can test a patch related to bu_lex. I've found that the joint command has a "test" option for this very purpose, but it requires a "joint" file. I've looked through the introduction to MGED pdf (http://brlc

Re: [brlcad-devel] MGED's Joint command (UNCLASSIFIED)

2012-05-29 Thread crdueck
On 05/29/2012 12:50 PM, Cericole, Victor Jr CIV (US) wrote: Classification: UNCLASSIFIED Caveats: NONE That's awesome Victor, Thanks! You wouldn't happen to remember a few commands on how to articulate and use> it too? That should make a good (and timely) addition. :) Hmm, seems like the

Re: [brlcad-devel] MGED's Joint command (UNCLASSIFIED)

2012-05-29 Thread crdueck
On 05/29/2012 01:18 PM, Christopher Sean Morrison wrote: On May 29, 2012, at 1:07 PM, crdueck wrote: Hmm, seems like the .g file got blocked. Made an .asc file of it maybe this will go through. Didn't get blocked externally. thanks for providing these files victor. unfortunately joint

Re: [brlcad-devel] [brlcad-commits] SF.net SVN: brlcad:[50742] brlcad/trunk/src/mged/animedit.c

2012-05-29 Thread crdueck
n > > > On May 29, 2012, at 3:30 PM, crdu...@users.sourceforge.net wrote: > >> Revision: 50742 >> http://brlcad.svn.sourceforge.net/brlcad/?rev=50742&view=rev >> Author: crdueck >> Date: 2012-05-29 19:30:43 + (Tue, 29 May 2012) >>

[brlcad-devel] Adding function tables to MGED

2012-05-31 Thread crdueck
hello, I've written some volume and surface area functions dealing with primitives that I want to make available to MGED. In particular, the analyze commands from libged/analyze should be able to use these functions, but i was also thinking that making them available as stand alone functions c

Re: [brlcad-devel] Adding function tables to MGED

2012-06-01 Thread crdueck
On 05/31/2012 04:08 PM, crdueck wrote: > hello, > > I've written some volume and surface area functions dealing with > primitives that I want to make available to MGED. In particular, the > analyze commands from libged/analyze should be able to use these > functions,

[brlcad-devel] next step in project

2012-06-26 Thread crdueck
I've just about finished working on the analysis functions for basic primitives with explicit formulae for their surface areas and volumes, the ones remaining are more exotic like ars, arbn or bot, or cannot be computed exactly because they involve ellipses or hyperbola. There are a number of g

[brlcad-devel] next steps for my project

2012-07-03 Thread crdueck
i've made good progress on my project so far. volume, surface area and centroid functions have been written for: ell tor tgc (rcc, rec, tec, and volume but no surface area for trc) rpc eto epa and these new functions have been added to the rt_functab interface and implemented in MGED's analyze

Re: [brlcad-devel] [brlcad-commits] SF.net SVN: brlcad:[51436]brlcad/trunk/src/librt/primitives/part/part.c

2012-07-05 Thread crdueck
primitive is defined in that way. If you raytrace it, you will find it slightly different from what you see from the draw command. Cheers! Wu -- Original -- *From: * "crdueck"; *Date: * Fri, Jul 6, 2012 08:09 AM *To: * "brlcad-commits"; *Subjec

Re: [brlcad-devel] [brlcad-commits] SF.net SVN: brlcad:[51436]brlcad/trunk/src/librt/primitives/part/part.c

2012-07-06 Thread crdueck
ng close, but different -- at least for volume? Cheers! Sean On Jul 6, 2012, at 12:25 AM, crdueck wrote: Hi Wu, could you clarify that please? this link (http://brlcad.org/wiki/BRL-CAD_Primitives#part) states that a particle is defined by either a circular frustum or a circular cylinder with

[brlcad-devel] triangulation/tesselation of a sketch primitive

2012-07-06 Thread crdueck
hello all, I've begun working on an analysis function for the sketch primitive. To compute its area, Sean suggested creating a tesselation. Could someone describe the method for doing this? My first take at it would be to choose one vertice and draw a line from each other vertice to it to crea

Re: [brlcad-devel] triangulation/tesselation of a sketch primitive

2012-07-06 Thread crdueck
-Matt- On Sat, Jul 7, 2012 at 1:01 PM, crdueck <mailto:crdu...@uwaterloo.ca>> wrote: hello all, I've begun working on an analysis function for the sketch primitive. To compute its area, Sean suggested creating a tesselation. Could someone describe the method

Re: [brlcad-devel] triangulation/tesselation of a sketch primitive

2012-07-07 Thread crdueck
great resources guys, thanks very much. I have lots of reading to do now. Also, currently the rt_sketch_tess function doesnt (really) exist. I'm not sure what kind of outputs the rt_*_tess functions are supposed to provide, but would I be able to use it in the analysis functions to determine a

Re: [brlcad-devel] triangulation/tesselation of a sketch primitive

2012-07-09 Thread crdueck
finding the new inside corners is working now for sketches consisting of only line segments and circular arcs as the important points used to divide the sketch into rectangular sections are simply their end points. but for bezier/NURBS segments I'll need their critical points. plussai mentione

Re: [brlcad-devel] triangulation/tesselation of a sketch primitive

2012-07-10 Thread crdueck
es will be created by the bezier curve->circular arcs function which will divide the bezier segment into more circular arcs the greater the change in curvature. On 07/10/2012 07:23 AM, Christopher Sean Morrison wrote: > On Jul 10, 2012, at 2:12 AM, crdueck wrote: > >> finding

[brlcad-devel] working with ON_BezierCurve

2012-07-10 Thread crdueck
hello, i have a few questions regarding working with ON_BezierCurves. I want to evaluate the tangents at the start and end points of a bezier curve. the function ON_BezierCurve::TangentAt() seems to be what i want, but it takes a double as its argument instead of a point. what does the double

Re: [brlcad-devel] [brlcad-commits] SF.net SVN: brlcad:[51451] brlcad/trunk/src/librt/CMakeLists.txt

2012-07-10 Thread crdueck
t > error). > > Cheers! > Sean > > On Jul 11, 2012, at 1:05 AM, crdu...@users.sourceforge.net wrote: > >> Revision: 51451 >> http://brlcad.svn.sourceforge.net/brlcad/?rev=51451&view=rev >> Author: crdueck >> Date: 2012-07-11 0

Re: [brlcad-devel] working with ON_BezierCurve

2012-07-12 Thread crdueck
hello, I have another Bezier question. I'm splitting a bezier curve with ON_BezierCurve::Split, and I get two pieces. Lets call them first and rest. Then I need to split "first" again into first1, first2. Is it possible to join first2 and rest into one bezier curve? there shouldnt be any probl

Re: [brlcad-devel] working with ON_BezierCurve

2012-07-12 Thread crdueck
i suppose i could just get all the control points of first2 and rest with GetCV, and then create a new Bezier which uses all the control points. Would that be the best way to do it? On 07/12/2012 01:57 PM, crdueck wrote: hello, I have another Bezier question. I'm splitting a bezier

[brlcad-devel] approximating bezier curves with circular arcs

2012-07-13 Thread crdueck
hello everyone, as of r51503 i've added functions to librt/primitives/sketch_tess.cpp to enable approximation of bezier curves by a set of circular arcs using the algorithm discussed here: http://itc.ktu.lt/itc354/Riskus354.pdf I'd like some feedback on the new functions, in particular bezier_

Re: [brlcad-devel] approximating bezier curves with circular arcs

2012-07-15 Thread crdueck
king at this now, so I'll have a read through it in the next day or so and hopefully be able to provide some useful feedback. Great work! -Matt- On Sat, Jul 14, 2012 at 12:16 PM, crdueck <mailto:crdu...@uwaterloo.ca>> wrote: hello everyone, as of r51503 i've

[brlcad-devel] creating an ON_2dPointArray/ON_BezierCurve from a C style array

2012-07-15 Thread crdueck
Hello, another question about working with the openNURBS library. I'm trying to create an ON_BezierCurve from a C array of 2d points (defined as pointers to fastf_t's). I thought i could easily turn the C array into an ON_2dPointArray and then call the ON_BezierCurve constructor on the ON_2dPoi

Re: [brlcad-devel] creating an ON_2dPointArray/ON_BezierCurve from a Cstyle array

2012-07-15 Thread crdueck
thanks Wu, Append() was the method I was looking for. If I had looked through the ON_SimpleArray base class i would have found it. On 07/15/2012 11:28 PM, phoenix wrote: > So how does one turn a C style array of 2d points into a ON_2dPointArray? Maybe you can first construct an empty ON_2dPoi

Re: [brlcad-devel] approximating bezier curves with circular arcs

2012-07-16 Thread crdueck
be more than tolerance at some point but wouldn't necessarily ever be EQUAL at any point, unless I'm misunderstanding. On 07/16/2012 11:50 AM, Christopher Sean Morrison wrote: > On Jul 13, 2012, at 10:16 PM, crdueck wrote: > >> I'd like some feedback on the new

[brlcad-devel] Midterm Summary

2012-07-18 Thread crdueck
Hello all, The original goal of my project was to add volume/centroid functions to a few primitives (most, but not all) as well as refactor the analyze_* functions used by MGED's analyze command to use the newly added functions. As a relatively young student with little developement experience

Re: [brlcad-devel] [brlcad-commits] SF.net SVN: brlcad:[51585] brlcad/trunk/src/librt/primitives/sketch/ sketch_tess.cpp

2012-07-19 Thread crdueck
raytrace.h). > > Cheers! > Sean > > > On Jul 19, 2012, at 2:42 AM, crdu...@users.sourceforge.net wrote: > >> Revision: 51585 >> http://brlcad.svn.sourceforge.net/brlcad/?rev=51585&view=rev >> Author: crdueck >> Date: 2012-07-19 06:42:39 +

Re: [brlcad-devel] problem with rt_shootray

2012-07-20 Thread crdueck
Oliver, One method i've seen used in the librt library is to count the number of times a ray originating at the point in question intersects with the surface of the object. If the number of times is even, the point is outside the object. If odd, the point is inside. What specific BRL-CAD objec

[brlcad-devel] BRLCAD specific tesselation process

2012-08-09 Thread crdueck
Hello, i'm curious how tesselation works in BRLCAD. Looking at example rt_*_tess() functions in librt, it seems that first an empty nmg region is created with nmg_mrsv(), then each "point_t vertex" in the primitive is associated with a "struct vertex" using nmg_vertex_gv() and added to the shel

[brlcad-devel] GSoC 2012

2012-08-25 Thread crdueck
Hello all, I'd just like to say thank you for the great opportunity I had this summer to learn and contribute to BRL-CAD. It was an thoroughly enjoyable experience and I feel like I've learned a lot by myself and from the supportive devs who work on this project. Unfortunately, I've recently s

Re: [brlcad-devel] [brlcad-commits] SF.net SVN: brlcad:[51564] brlcad/trunk/src/librt/primitives/sketch/ sketch_tess.cpp

2013-03-10 Thread crdueck
to make sure we > properly document it. > > Cheers! > Sean > > > > On Jul 17, 2012, at 1:42 PM, crdu...@users.sourceforge.net wrote: > >> Revision: 51564 >> http://brlcad.svn.sourceforge.net/brlcad/?rev=51564&view=rev >> Author: crdueck