extrude shape along spline #1551

Closed
JDok opened this Issue Mar 20, 2012 · 2 comments

Projects

None yet

3 participants

@JDok
JDok commented Mar 20, 2012

Hello,

First, three.js is awesome! Two week ago I found some really nice demos made with three.js so I took a look and
decided to switch to three.js.

I found this Demo

http://jsfiddle.net/mcvdx/

I want to do something similar.
My aim is to extrude a shape along a spline.

I tried this

http://pastebin.com/nFTZ72NB

It creates a mesh like the shape but it doesnt follow the path.
It seems that the model only go up and down and not right or left.

What do I wrong?
Is it the right way or isnt there any built-in function?

Hope somebody help me :)

Good morning

@zz85
zz85 commented Mar 21, 2012

shape extrusion along a spline is still under development. even tube extrusion along a spline is a little experimental (see #905)

if you are brave enough, you can try out the code in my branch https://github.com/zz85/three.js/tree/extrude_spline_rebasing

@mrdoob mrdoob closed this Mar 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment