No bump mapping in scene or in preview scene

Announcements, requests and support regarding the Blender Indigo export script
dfro
Posts: 18
Joined: Sun Jul 27, 2008 3:17 pm

No bump mapping in scene or in preview scene

Post by dfro » Fri Dec 19, 2008 10:40 pm

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.

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

Post by Kram1032 » Sat Dec 20, 2008 4:17 am

image please...
And what where your A B and C values?

dfro
Posts: 18
Joined: Sun Jul 27, 2008 3:17 pm

Post by dfro » Sat Dec 20, 2008 7:50 am

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.

User avatar
pixie
Indigo 100
Posts: 2345
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
3D Software: Cinema 4D
Contact:

Post by pixie » Sat Dec 20, 2008 8:26 am

You do a reply or edit your post, a quick reply don't give you the hability to post pictures

dfro
Posts: 18
Joined: Sun Jul 27, 2008 3:17 pm

Post by dfro » Sat Dec 20, 2008 8:58 am

I get it: "Add an Attachment" in "Post a reply". Whew!

You can see that there are no bumps happening.
Attachments
im1229677860.png
preview
im1229677860.png (528.69 KiB) Viewed 14576 times
im1229681604.png
uv mapped cube
im1229681604.png (692.92 KiB) Viewed 14576 times

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

Post by Kram1032 » Sat Dec 20, 2008 10:25 am

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^^

dfro
Posts: 18
Joined: Sun Jul 27, 2008 3:17 pm

Post by dfro » Sat Dec 20, 2008 11:49 am

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?
Attachments
STONESURFACE.jpg
STONESURFACE.jpg (96.44 KiB) Viewed 14552 times
Last edited by dfro on Sat Dec 20, 2008 12:05 pm, edited 1 time in total.

dfro
Posts: 18
Joined: Sun Jul 27, 2008 3:17 pm

Post by dfro » Sat Dec 20, 2008 12:04 pm

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.
Attachments
stonesurface_yafray_render.jpg
stonesurface_yafray_render.jpg (29.55 KiB) Viewed 14553 times

dfro
Posts: 18
Joined: Sun Jul 27, 2008 3:17 pm

Post by dfro » Sat Dec 20, 2008 12:08 pm

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?
Attachments
im1229730390.png
im1229730390.png (500.97 KiB) Viewed 14552 times

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

Post by Kram1032 » Sat Dec 20, 2008 12:39 pm

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.... :)

dfro
Posts: 18
Joined: Sun Jul 27, 2008 3:17 pm

Post by dfro » Sat Dec 20, 2008 8:49 pm

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.
Attachments
Screenshot.png
Screenshot.png (626.71 KiB) Viewed 14520 times

dfro
Posts: 18
Joined: Sun Jul 27, 2008 3:17 pm

Post by dfro » Sat Dec 20, 2008 11:32 pm

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]
Attachments
im1229769911.png
im1229769911.png (488.53 KiB) Viewed 14507 times

dfro
Posts: 18
Joined: Sun Jul 27, 2008 3:17 pm

Post by dfro » Sat Dec 20, 2008 11:38 pm

A "B=.0250" setting gets me a lot closer to the Material Database preview pic.
Attachments
im1229770489.png
im1229770489.png (526.3 KiB) Viewed 14504 times

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

Post by Kram1032 » Sun Dec 21, 2008 12:55 am

: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 :)

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Sun Dec 21, 2008 9:07 am

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 ^^

Post Reply
17 posts

Who is online

Users browsing this forum: No registered users and 1 guest