x


Converting a freeform line into a LOFTED 3d geometry during RUNTIME

How do you convert a freeform line, drawn in 2d, into a 3d mesh somewhat like a loft geometry based on the path of the freeform line, but with custom cross-section (chosen prior, and based on another 2d closed-line-shape) ... during runtime! ;-)

more ▼

asked Dec 21 '10 at 06:44 PM

ina gravatar image

ina
3.4k 500 554 615

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

There is now an asset on the asset store that does exactly this and a lot more as well, http://www.west-racing.com/mf/?page_id=2208 it offers simple and complex lofts as well as the ability to clone objects onto the newly created loft surface.

more ▼

answered Jun 21 '12 at 01:16 PM

SpookyCat gravatar image

SpookyCat
436 5 5 12

Hi Chris West! :)

Jun 22 '12 at 05:20 AM ina
(comments are locked)
10|3000 characters needed characters left

You can't in Unity. But you can in just about all 3D modeling applications. Start with 3ds Max.

Here's an excellent tutorial on making a wine glass. And we all LOVE wine... right?

http://www.pcguidelk.com/forum/index.php?topic=118.0

more ▼

answered Dec 21 '10 at 07:12 PM

dissidently gravatar image

dissidently
450 50 55 60

i meant to say loft. and yes i know how to create lathes and loft's in 3ds -- but i want to be able to do this in runtime in unity

Dec 21 '10 at 07:15 PM ina

Ok. It can be done in Unity. And anything with Vector information. You'll need to create an array that stores the information of all points on your free from line. You'll need to know where the loft point is (middle) and then you'll need to create another array with your points for your custom cross section. Now you need to goto university for a couple of years and study advanced trigonometry and some advanced mathematics. After that you should know the algorithms that turn those arrays and the lathe point into something you can apply the cross section to and get a predictable result.

Dec 21 '10 at 08:11 PM dissidently

Wanna do it as a loft, add another two years at university.

Dec 21 '10 at 08:12 PM dissidently
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1403
x307
x129
x66
x2

asked: Dec 21 '10 at 06:44 PM

Seen: 1528 times

Last Updated: Jun 22 '12 at 05:20 AM