• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by ina · Dec 21, 2010 at 06:44 PM · meshprocedurallinemeshfilter

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! ;-)

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by SpookyCat · Jun 21, 2012 at 01:16 PM

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ina · Jun 22, 2012 at 05:20 AM 0
Share

Hi Chris West! :)

avatar image
-2

Answer by dissidently · Dec 21, 2010 at 07:12 PM

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

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ina · Dec 21, 2010 at 07:15 PM 0
Share

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

avatar image dissidently · Dec 21, 2010 at 08:11 PM 0
Share

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.

avatar image dissidently · Dec 21, 2010 at 08:12 PM 0
Share

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

Your answer

Hint: You can notify a user about this post by typing @username

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

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Generate a highpoly sphere with mesh collider procedurally 2 Answers

Procedurally generated mesh not Rendering all triangles 1 Answer

difference between sharedMesh and Mesh 1 Answer

Converting a number of runtime-created prefab GameObject cube's for export 0 Answers

Selecting a single polygon / face at runtime 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges