Extrude a ribbon/tube and fly through it!
by Teja Muppirala
20 Aug 2009
(Updated 24 Dec 2009)
Extrude a 2D curve along a 3D path to create tubes/ribbons and then fly though it
|
Watch this File
|
| File Information |
| Description |
Sweeps out a 2D cross section (a circle, square, whatever, doesn't even have to be a closed path) through a 3D curve, and returns the generated surface as [X,Y,Z] for use with SURF.
Also, as a fun option, it will fly through the path generated, which looks really cool if you have a fast computer and you maximize the figure. In the DEMO mode, the ROAD cross-section is my favorite. Try changing the colormap as well.
|
| MATLAB release |
MATLAB 7.8 (R2009a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 08 Sep 2009 |
Made a few minor changes in the algorithm |
| 08 Sep 2009 |
Made some minor corrections |
| 18 Dec 2009 |
I added an option to close off the ends. I also changed the order of the input arguments. |
| 24 Dec 2009 |
Fixed a minor bug... |
| 24 Dec 2009 |
Sorry, one more fix (this time it's really OK) |
|
Contact us