N00b trying to add bump and texture mapping.

Announcements, requests and support regarding the Blender Indigo export script
Post Reply
12 posts • Page 1 of 1
User avatar
pauljohns
Posts: 48
Joined: Sat Nov 17, 2007 12:39 pm
Location: Los Angeles, CA
Contact:

N00b trying to add bump and texture mapping.

Post by pauljohns » Sat Dec 01, 2007 8:56 am

Hello everyone. I'm a n00b. I spent a few hours yesterday trying to learn UV mapping, and I made the planet Earth from the famous UV mapping tutorial found here: http://en.wikibooks.org/wiki/Blender_3D ... Map_Basics

Great, now I think I have a basic idea of how texture maps work. Today, I spent an hour trying to figure out how to use a bump map with the texture map to make it look a little more real. I took the standard cube and mapped a nice brick/stone texture onto it. Then I looked up a tutorial on bump mapping, but everytime bump mapping is mentioned, most tutorials spend more time on normal mapping. So i used an nVidia plugin for Photoshop that makes normal maps. I saved that as a .png.

Can someone please tell me what I must do to add my normal map?

I've tried alot of stuff, but nothing is working. Can someone please tell me what they would do after texturing an object to add bump or normal mapping, and making it work in Indigo?

thanks![/img]

User avatar
Olis
Posts: 215
Joined: Tue Mar 20, 2007 6:46 am
Location: Stockholm, Sweden

Post by Olis » Sat Dec 01, 2007 10:50 am

Which exporter to Blender are you using?
With blendigo it is quite simple.

When you edit your materials in blendigo, you can set the bumpmap texure in the area that i've marker red. The "b" defines the strength of the bump. Indigo doesn't support normalmaps. Only bumpmaps.
Attachments
blendigo.PNG
blendigo.PNG (19 KiB) Viewed 4608 times

User avatar
pauljohns
Posts: 48
Joined: Sat Nov 17, 2007 12:39 pm
Location: Los Angeles, CA
Contact:

Post by pauljohns » Sat Dec 01, 2007 12:48 pm

Ok, I thank you very much for that response. I didn't know Indigo didn't support normal maps, but that's fine with me, bump maps seem more intuitive anyway, but now, I have some new questions. By the way, I am using Blendigo.

Obviously, I'm going to want my bumps to line up with my texture. where do i do that and how? Do I do it in Blender using UV mapping? I don't know where to edit how the bump map lines up with the texture map. Does that make sense? I know in Indigo to open the file where it says bump map, but how do i know it will all line up?

Thanks again.

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sat Dec 01, 2007 9:17 pm

if it doesn't by default, that could be problematic...

you need to tweak the off-set, I think.

If you use textures, which match anyway, it should match perfectly without any tweaking...

User avatar
alexmeyer
Posts: 150
Joined: Tue Jan 16, 2007 7:55 am
Contact:

Post by alexmeyer » Sun Dec 02, 2007 5:37 am

All you really need to do is uv-map one texture onto your cube to get the positioning right, then set up both textures in blendigo. The box where is says "UVset" is telling them what uv coordinates to use. By default, they'll use the same one.

So, as Mark said, as long as you have textures that match (which you should if you're just using the same image greyscaled for your bumpmap), then they'll match.
From uncyclopedia.org, on "Elephant's Dream":

"The choice of the title is highly significant, because while the movie does not feature any elephants nor dreams, no one understands what happens anyway."

User avatar
pauljohns
Posts: 48
Joined: Sat Nov 17, 2007 12:39 pm
Location: Los Angeles, CA
Contact:

Post by pauljohns » Sun Dec 02, 2007 8:09 am

Thanks Kram and Alex. It kinda sort started making sense to me after I messed with it for a few more hours. I have a texture. I UV map it, then I essentially make a black and white bump map from that same image in Photoshop, where white is high and black is low. Then in Blender I load the bump map as a separate texture, or Texture 2, then unclick the "col" button and click the "nor" button. Then I make sure that 'UV' is clicked on the Map To section, then export to Blendigo, then make sure Albedo has the texture and Bump has the Bump map. Then I sit back, smoke some crack and shoot some heroin while the thing renders, and when I wake up, it should be fine, right?

User avatar
alexmeyer
Posts: 150
Joined: Tue Jan 16, 2007 7:55 am
Contact:

Post by alexmeyer » Sun Dec 02, 2007 8:13 am

Besides the drug use, yeah, sounds fine. :D
From uncyclopedia.org, on "Elephant's Dream":

"The choice of the title is highly significant, because while the movie does not feature any elephants nor dreams, no one understands what happens anyway."

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Mon Dec 03, 2007 4:24 am

I can just quote alex :)

Felix
Posts: 2
Joined: Sun Jan 06, 2008 1:25 am

and how about bumpmapping

Post by Felix » Sun Jan 06, 2008 1:40 am

Hi, another n00b here. I tried the above and it worked on a cube. But when I try it on a cylinder (I'm trying to render a coin) Indigo maps the same bumpmap to every face (32 of them). I could break up my bumpmap into 32 triangles, map a different material to every face etc. But that seems a little impractical. How to do this ? I use Blender with Blendigo.
Thanks !

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sun Jan 06, 2008 1:48 am

try "cylinder" UV-projection ;

Felix
Posts: 2
Joined: Sun Jan 06, 2008 1:25 am

Post by Felix » Sun Jan 06, 2008 2:22 am

Thanks for your answer Kram. I was looking where to make this setting, butI can't find it. In Blendigo ? In Blender ?

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sun Jan 06, 2008 2:37 am

In Blender, in UV-mapping mode, and with one tab being set to Image-preview/UV-map *something* don't know the exact name... It's the icon with the small portrait of a woman...

Post Reply
12 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests