[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-user: pcjc2 tessellation
On 11/09/10 07:59, Peter Clifton wrote:
On Fri, 2010-09-10 at 14:16 -0400, Windell H. Oskay wrote:
On Fri, Sep 10, 2010 at 01:31:48AM +0100, Peter Clifton wrote:
PS.. have you tried any of the GL stuff?
http://www2.eng.cam.ac.uk/~pcjc2/geda/trans_poly.png
http://www2.eng.cam.ac.uk/~pcjc2/geda/pcb+gl_3d/pcb+gl_3d-1.png
http://www2.eng.cam.ac.uk/~pcjc2/geda/pcb+gl_3d/pcb+gl_3d-2.png
http://www2.eng.cam.ac.uk/~pcjc2/geda/pcb+gl_3d/pcb+gl_3d-3.png
http://www2.eng.cam.ac.uk/~pcjc2/geda/pcb+gl_3d/pcb+gl_3d-4.png
http://www2.eng.cam.ac.uk/~pcjc2/geda/pcb+gl_3d/pcb+gl_3d-5.png
http://www2.eng.cam.ac.uk/~pcjc2/geda/pcb+gl_3d/pcb+gl_3d-6.png
http://www2.eng.cam.ac.uk/~pcjc2/geda/pcb+gl_3d/pcb+gl_3d-7.png
Wow. These screenshots are incredible.
Thanks!
Please excuse my naive question, but is this something that the rest of us
can expect to see in PCB someday?
Some day.. eventually. It is a slow work in progress to get the code
clean enough to push into git HEAD. In the mean time, the branch is
"before_pours" in this repository:
git://repo.or.cz/geda-pcb/pcjc2.git
I've been working slowly to get the OpenGL stuff to co-exist with a
standard GDK build, but for the moment that isn't finished.
Hi,
From pcjc2/src/borast/borast-bentley-ottmann.c, i used some functions
to make a small test program to see how bo_contour_to_traps() works.
In bo_contour_to_traps(), i get num_events = contour->Count = 0,
so i must be missing something. Here's the test i was trying:
void
borast(void)
{
Vector v;
v[0] = 0; // x
v[1] = 0; // y
PLINE *contour = poly_NewContour(v);
v[0] = 1; // x
v[1] = 0; // y
VNODE *node = poly_CreateNode(v);
VNODE *after = &contour->head;
poly_InclVertex(after, node);
v[0] = 1; // x
v[1] = 1; // y
VNODE *node2 = poly_CreateNode(v);
poly_InclVertex(node, node2);
borast_traps_t traps;
bo_contour_to_traps(contour, &traps);
}
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user