Page 1 of 2

No bump mapping in scene or in preview scene

Posted: Fri Dec 19, 2008 10:40 pm
by dfro
I have been following borgleader's uv mapping tutorial. I have been successful at getting the STONESURFACE image mapped, but I have not been able to get bump mapping working. In both my scene render and a preview render, the object is perfectly smooth - the rocks are not sticking out at all.

Any thoughts on what I am missing?

I am using indigo 1.1.15 with blendigo 1.1.14 on ubuntu. The native linux build looks sweet, by the way!

Thanks.

Posted: Sat Dec 20, 2008 4:17 am
by Kram1032
image please...
And what where your A B and C values?

Posted: Sat Dec 20, 2008 7:50 am
by dfro
dumb question: How do I upload an image to the site? I cannot find a post that describes how to do this.

Kram1023,

I just uv mapped the STONESURFACE image to a default blender cube. Both the preview and the scene show the STONESURFACE color image mapped smooth on the objects with no bumping of the image.

I didn't touch the A,B,C values on the Albedo or Bump files. I have no idea what they do at this point in my noobness. Also, borgleader's tutorial does not mention doing anything to them.

Thanks.

Posted: Sat Dec 20, 2008 8:26 am
by pixie
You do a reply or edit your post, a quick reply don't give you the hability to post pictures

Posted: Sat Dec 20, 2008 8:58 am
by dfro
I get it: "Add an Attachment" in "Post a reply". Whew!

You can see that there are no bumps happening.

Posted: Sat Dec 20, 2008 10:25 am
by Kram1032
Hmm...
Ok... IC
Could you now add a screenshot of your stone material? *Here* there doesn't seem to be an error, except for the very weak bumpmap^^

Posted: Sat Dec 20, 2008 11:49 am
by dfro
I am using the STONESURFACE jpegs from the corresponding .pigm file in the site's Material Database. There is a color and a bump jpeg.

http://www.indigorenderer.com/joomla/in ... Itemid=107

Can anybody give a clear explanation of what the A, B, and C parameters are and how they work?

Posted: Sat Dec 20, 2008 12:04 pm
by dfro
Here is a yafray render of the cube.

It seems I have some setting wrong. The two images just seem to be blended rather than the color image over the bump map. I must have some blender setting wrong.

Posted: Sat Dec 20, 2008 12:08 pm
by dfro
And here is a blendigo render preview with the B parameter set to 1.000.
This does not look right. As with the yafray, it looks like the two images are blended in stead of the bump image changing the normals.

Any thoughts?

Posted: Sat Dec 20, 2008 12:39 pm
by Kram1032
nono, that's not what I meant^^
I mean, a screenshot of the blendigo-script on the material page, with said material shown...

That material btw look pretty much displaced, rather than bumpmapped... don't expect something like that, except you set up displacement (instead of bumpmapping)

The yafray render, to me, looks like the bump factor being far too high...

Try to double your B value for the Bumpmap.... :)

Posted: Sat Dec 20, 2008 8:49 pm
by dfro
Here is a screen shot of my blendigo settings and a render that is going.

On the textured/bumped .pgim material examples in the Material Database, the bump map changes the edges of the object. I am not getting this with any of my renders in indigo or yafray.

Also, I cannot find any explanations of the section I circled in red. Could I be missing something here?

Thanks.

Posted: Sat Dec 20, 2008 11:32 pm
by dfro
Well, I definitely found what I was looking for: DISPLACEMENT mapping!

Kram,

Thanks for helping me slog through my ignorance of the blender/indigo/rendering basics. I now get what you were saying:
That material btw look pretty much displaced, rather than bumpmapped... don't expect something like that, except you set up displacement (instead of bumpmapping)
An article called "Blender & Displacement Mapping for Beginners" in "Blender Art Issue 7" gave me the extra explanation I needed to finally understand you. Whew, my brain is fried!

Here was my first attempt at displacement mapping! Ha ha![/u]

Posted: Sat Dec 20, 2008 11:38 pm
by dfro
A "B=.0250" setting gets me a lot closer to the Material Database preview pic.

Posted: Sun Dec 21, 2008 12:55 am
by Kram1032
:D
strange though, that you didn't even see faked bumps (via bumpmapping)... B 0.3 should be strong enough...
Good that you found out :)

Posted: Sun Dec 21, 2008 9:07 am
by CTZn
Though it may have been inverted in the first pic, I think bump was applied but dfro was looking after displacement, I believe he was looking for a silhouette change ^^