# Is it possible to apply a "user image" to a mesh in-game?

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-apply-a-user-image-to-a-mesh-in-game/362028>\
**Category:** Rendering\
**Tags:** android-device, unreal-engine, question, Blueprint\
**Created:** [June 26, 2016, 1:49am UTC](https://forums.unrealengine.com/t/is-it-possible-to-apply-a-user-image-to-a-mesh-in-game/362028 "2016-06-26T01:49:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kusogaki77](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kusogaki77](https://forums.unrealengine.com/u/kusogaki77)\
**Post date:** [June 26, 2016, 1:49am UTC](https://forums.unrealengine.com/t/is-it-possible-to-apply-a-user-image-to-a-mesh-in-game/362028/1 "2016-06-26T01:49:34Z")

</div>

I’m working on Android.

tl;dr

- Is there a way to display the android’s secondary camera output in-app?
- Is it possible to take a screenshot/capture of the android device and access that screenshot in-app?

I have a character with a separate face.texture.  
I can swap out this face texture in the editor, and I know I can change it in real-time…

I’d like to know how I might go about allowing the user to change the character’s face texture with one of their own. That is, to take a picture of their self (via secondary camera on the android/smartphone) and use that picture as the face texture.

Example:

- User launches game and accesses “Set Face” menu.
- (“Set face” menu contains saved face textures and a “Take Picture” option) User selects “Take picture” option
- Outline of face texture dimensions is displayed over secondary camera output. (Here the user can adjust distance and angle to get their face to fit in the outline.)
- Take the picture (texture will be saved to the phone as normal, or perhaps a screenshot is taken and cropped to the size of the outline) and then the texture will be applied to the mesh.
- Player confirms picture. Retake the the picture by selecting “no”, or “yes” to confirm. (“yes” saves it to the phone photo dir or game dir)

I dare ask, would such a thing be possible using blueprint alone?

Thanks for any info!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ef23e124](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ef23e124](https://forums.unrealengine.com/u/anonymous_user_ef23e124)\
**Post date:** [June 26, 2016, 4:24am UTC](https://forums.unrealengine.com/t/is-it-possible-to-apply-a-user-image-to-a-mesh-in-game/362028/2 "2016-06-26T04:24:32Z")

</div>

Here is a link to a possible solution.

> **[Is it possible to load bitmap or JPG files at runtime and use them on assets...](https://forums.unrealengine.com/questions/75929/is-it-possible-to-load-bitmap-or-jpg-files-at-runt.html)**
>
> I am looking for functionality that is similar to Unity’s WWW.texture // Get the latest webcam shot from outside "Friday's" in Times Square var url = "http://images.earthcam.com/ec\_metros/ourcams/fridays.jpg"; function Start () { // Start a...

Hope this helps,

Inc.

---

<div class="post-metadata">

**Author:** ![kusogaki77](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kusogaki77](https://forums.unrealengine.com/u/kusogaki77)\
**Post date:** [June 27, 2016, 2:54pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-apply-a-user-image-to-a-mesh-in-game/362028/3 "2016-06-27T14:54:11Z")

</div>

Ah sweet, thanks for this, jayice! This solves half the problem. Now I just gotta figure out how I can access a smartphone’s data folder in-game.

If I can figure it out, I’ll be sure to come back here and update this with how I did it.

Much appreciated for taking the time to give me that link. I couldn’t find anything like it before I posted.

---

<div class="post-metadata">

**Author:** ![gulsensur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gulsensur](https://forums.unrealengine.com/u/gulsensur)\
**Post date:** [February 20, 2024, 3:44pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-apply-a-user-image-to-a-mesh-in-game/362028/4 "2024-02-20T15:44:46Z")

</div>

Have you found out a solution for this?
