|
Author |
Topic: drawing 3D lines (Read 349 times) |
|
benelek
|
drawing 3D lines
« on: Mar 14th, 2003, 12:22pm » |
|
how about... line(x1,y1,z1,x2,y2,z2); -jacob
|
|
|
|
fry
|
Re: drawing 3D lines
« Reply #2 on: Mar 14th, 2003, 6:32pm » |
|
i'm not sure i follow.. line(x1,y1,z1,x2,y2,z2) is in there.. is it misbehaving? (there are some bugs with single-pixel lines not having a z-value..)
|
|
|
|
benelek
|
Re: drawing 3D lines
« Reply #3 on: Mar 15th, 2003, 2:14am » |
|
mm, looks like this topic should be moved to the website section - the reference page doesnt say anything about 3D lines.
|
|
|
|
Martin
|
Re: drawing 3D lines
« Reply #4 on: Mar 15th, 2003, 11:03am » |
|
hmmm... should have looked farther. ... there are the following methods in processing... public void line(float, float, float, float, float, float); public void bezier(float, float, float, float, float, float, float, float, float, float, float, float); public void curve(float, float, float, float, float, float, float, float, float, float, float, float); each parameter corresponds to x1,y1,z1,x2,y2,z2,x3,y3,z3,x4,y4,z4 for bezier and curve ... and x1,y1,z1,x2,y2,z2 for line. will hunt for other stuff.
|
|
|
|
|