Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 Jun 22
sparklines
Close Help
  • 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
0
Question by TakwaYousfi · Jul 05, 2015 at 04:38 PM · character3d modelsavatarphotomodel placement

how can i turn a photo into 3D character face?

Hello, I was wondering if it's possible to apply a picture of a human face at runtime as my character face (create real-time 3d-avatar). I've done my research but I couldn't figure out how to really do it. Is there facility for such functionality within Unity?

(Please forgive my noobiness!)

Comment
Add comment · Show 2
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 meat5000 ♦ · Dec 03, 2015 at 08:27 AM 0
Share

Something like this requires a lot of guesswork and definition when it comes do deciding the depths. Essentially you are creating information from nothing so its never going to be even remotely accurate.

You might have to settle for all the heads looking the same.

Edit : lol misread. Thought you wanted to scan a photo and create a 3D model from it.

avatar image dhruv1905 · Aug 05, 2017 at 07:24 AM 0
Share

Did you figure this thing? Actually I am working on the same concept in bit different way. If you can help! Thanks.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by tanoshimi · Jul 05, 2015 at 04:40 PM

Yes. Just load it in as a texture from your resources folder, and apply it to the material on your face mesh. http://docs.unity3d.com/Manual/LoadingResourcesatRuntime.html

Comment
Add comment · Show 4 · 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 TakwaYousfi · Jul 07, 2015 at 10:42 AM 0
Share

my problem is how to place the 2d image in exact 3d coordinates. (i have to place the eyes and mouth correctly)

avatar image Fattie TakwaYousfi · Dec 03, 2015 at 02:32 PM 1
Share

Takwa, the only realistic way to do this in a game is to just have the ability that the user can slide the texture around, until it fits nicely. that's all there is to it.

just adjust the texture offset and scale - you can easily do it in the Inspector to try how it works.

If you mean you want the software to automatically guess where the eyes are and so on ... you would then be dealing with face recognition software. It's inconceivable you could achieve this in a hobby project. (At Apple the face recognition division has dozens of the world's leading researchers in the field, scientists and mathematicians.)

avatar image meat5000 ♦ Fattie · Dec 03, 2015 at 03:23 PM 0
Share

Still, one doesnt learn without trying :)

https://www.google.co.uk/search?q=c%23+eye+detection&ie=utf-8&oe=utf-8&client=ubuntu&channel=fs&gfe_rd=cr&ei=TV5gVqi$$anonymous$$NZDj8weajYXoCg&gws_rd=ssl

avatar image tanoshimi · Jul 07, 2015 at 10:47 AM 0
Share

You might want to read about UV mapping - the process of mapping a 2d texture onto a 3d surface https://en.wikipedia.org/wiki/UV_mapping. Your human face texture would have to match the UVs assigned to your face mesh.

avatar image
1

Answer by Fattie · Dec 03, 2015 at 02:39 PM

it's possible that Unity's "UMA" system could help you, it would still be a lot of advanced work

https://www.assetstore.unity3d.com/en/#!/content/40959

as others have said, in the first instance very simply slap a texture (any image) on a shape, and learn how to use the texture offset and scale buttons, right there in the Inspector for the texture.

alt text

Hope it helps you get started!


screen-shot-2015-12-03-at-83748-am.png (75.7 kB)
Comment
Add comment · Show 4 · 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 7a · Dec 03, 2015 at 03:20 PM 0
Share

Have You tried it? Sounds too magical to be true :)

avatar image Fattie 7a · Dec 03, 2015 at 03:24 PM 0
Share

it's "sort of O$$anonymous$$". Unity's U$$anonymous$$A system is totally free, go download it (use google UNity3d U$$anonymous$$A asset store). as you say it's "too good to be true". we live in the early days of technology such as (for example) voice recognition. Do you use Google's voice thingy on your phone, or maybe the Apple one? they are "O$$anonymous$$, but not great" wouldn't you agree? So, it's the same sort of thing.

It's really not relevant to this very simple Noob question, the OP just did not know about "Tiling" and "Offset"

avatar image 7a Fattie · Dec 03, 2015 at 03:30 PM 0
Share

I've seen $35 in store. If it's free I'll try for sure. I'm with 3D graphics since nineties and it was not on too early stage even that time. I've got Windows Phone. Happy #3December :)

avatar image meat5000 ♦ 7a · Dec 03, 2015 at 03:26 PM 1
Share

Base functionality of $$anonymous$$aterials for textures. It works just fine ;) As fattie stated earlier though, perfor$$anonymous$$g this procedurally to correctly position detected eyes (as an example) is the difficult part.

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.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How should I go about anchoring a hat to a character's head? 1 Answer

Can you use Art of Illusion for creating characters for unity? 1 Answer

Placing A Player token/Avatar 1 Answer

How to make third person playble character 2 Answers

How to change the look of the 3rd person controller avatar in unity pro 0 Answers


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