Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / Making Textures from Photographs

Author
Message
anwserman
11
Years of Service
User Offline
Joined: 20th May 2011
Location: Wisconsin
Posted: 2nd Apr 2014 06:31 Edited at: 2nd Apr 2014 06:35
So I originally thought it'd be all nice and cool to use photographs in my game, to cut down on texture work. Then I realized that with different lighting on different sides of a building, it'd be near impossible to do. I'd ideally just like to take a photo of a storefront and slap it on the side of a cube, ha.

I attached an example photograph - so if I wanted to use this building as a base design, I'd just use the brick as a repeating background and position the other extracted elements over it?

Hi there. My name is Dug. I have just met you, and I love you.

Attachments

Login to view attachments
MrValentine
AGK Backer
12
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 2nd Apr 2014 15:09
Pretty much how it is done, remember to place secondary textures a pixel in depth above the previous texture or you get umm clipping? Z-depth related issues...

Like a layer cake basically...

If that makes sense...

Alternatively you can bake the textures into a single image...

Remember ^2 for image sizes so instead of 250x250 it should be more like 256x256...

Better memory management that way...

Quik
14
Years of Service
User Offline
Joined: 3rd Jul 2008
Location: Equestria!
Posted: 2nd Apr 2014 22:39
You'd be much better of taking individual pictures of what you want to make, much more close up, and then make it seamless - and make sure you do it on a cloudy day, less weird light that way



Whose eyes are those eyes?
revenant chaos
Valued Member
15
Years of Service
User Offline
Joined: 21st Mar 2007
Location: Robbinsdale, MN
Posted: 10th Apr 2014 17:51 Edited at: 10th Apr 2014 17:53
Hi my fellow midwesterner
Be sure not use your camera's flash, stand at a distance and zoom in to avoid getting strange fish-eye effects.
HomerS
15
Years of Service
User Offline
Joined: 8th Apr 2007
Location:
Posted: 9th May 2014 03:27
Hi,

Own photo's (no flashing/ sun) are cool to use in your own programs.

I made a simple example of a container (just a box). I made it with wings. Took 2 pictures of the container. Only the front and the side. Forgot to take a picture of the back.

But in my game the camera doesn't have to go around the contaier (the example program does, its the game).

Just google for texture uv-mapping wings3d tutorials.

I exported it as an 3ds file and than convert it with the DBConf

The container is free to use for everyone.

Also take al look at the picture of my powersupply made pictures of it. Just used a box and a cylinder. Simple stuff, funny to do.

show us some pictures of your work!


greetings!
lol


Toedeledoki

Attachments

Login to view attachments

Login to post a reply

Server time is: 2022-12-09 09:25:45
Your offset time is: 2022-12-09 09:25:45