Bump map scene format

Discussions about LuxRender's materials, and how to make the most of them.

Moderator: coordinators

Bump map scene format

Postby Meelis » Fri Jul 01, 2011 5:22 am

Hi

I don't get where is the bump value in exported scene materials file and in what units (V 0.8)?

Code: Select all
Texture "Brushed-Pd Bump" "float" "imagemap"
   "string filename" ["Low_Q_mp3_Blender_2_5_V5_part1/Scene/00001/Brushed Pd Bump 8bit.png"]
   "integer discardmipmaps" [0]
   "string filtertype" ["bilinear"]
   "float gain" [1.000000000000000]
   "float gamma" [2.200000047683716]
   "float maxanisotropy" [8.000000000000000]
   "string wrap" ["repeat"]
   "string channel" ["mean"]
   "string mapping" ["uv"]
   "float udelta" [0.000000000000000]
   "float uscale" [1.000000000000000]
   "float vscale" [-1.000000000000000]
   "float vdelta" [0.000000000000000]

MakeNamedMaterial "Brushed-Pd"
   "texture bumpmap" ["Brushed-Pd Bump"]
   "float uroughness" [0.085000000894070]
   "float vroughness" [0.064999997615814]
   "string filename" ["Low_Q_mp3_Blender_2_5_V5_part1/Scene/00001/Pd.nk"]
   "string type" ["metal"]


And how long will it take the black look to go away (without bump metal is really shiny with uroughness 0.085 and v.. 0.065)?
Black on mp3 http://static3.nagi.ee/i/p/750/89/1877231613a8bd_o.jpg
User avatar
Meelis
 
Posts: 888
Joined: Sat Oct 17, 2009 2:16 am

Re: Bump map scene format

Postby Meelis » Fri Jul 01, 2011 7:21 am

I turned off the bump map, using the roughness U and V channels with textures.
:D Looks like metal now.
User avatar
Meelis
 
Posts: 888
Joined: Sat Oct 17, 2009 2:16 am

Re: Bump map scene format

Postby Meelis » Fri Jul 01, 2011 12:53 pm

Hi

Is the bump map issue exporter bug or LuxRender's or i did something wrong or is there way to manually write some lines in material file to get the bump to work.
The black doesn't go away in 4 hours.
User avatar
Meelis
 
Posts: 888
Joined: Sat Oct 17, 2009 2:16 am

Re: Bump map scene format

Postby J the Ninja » Fri Jul 01, 2011 1:59 pm

Seems you are using the texture without scaling it, which usually gives a very high bump amount. Btw, you normally want gamma=1 for float image textures (using them for bump maps, roughness, etc)
-Jason

Material DB Admin
User avatar
J the Ninja
Developer
 
Posts: 2249
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: Bump map scene format

Postby Meelis » Sat Jul 02, 2011 12:22 am

J the Ninja wrote:Seems you are using the texture without scaling it, which usually gives a very high bump amount. Btw, you normally want gamma=1 for float image textures (using them for bump maps, roughness, etc)


How to i scale? In screenshot "Bump Map: 0.000010" has no effect if it's 0,0005 or 0.000001.
I have tested with default u v roughness .

Image
User avatar
Meelis
 
Posts: 888
Joined: Sat Oct 17, 2009 2:16 am

Re: Bump map scene format

Postby J the Ninja » Sat Jul 02, 2011 1:53 am

Have to make sure the "M" button is checked to enable scaling by the base value. Otherwise, the texture just takes over for it and is used in place of the value you specify.
-Jason

Material DB Admin
User avatar
J the Ninja
Developer
 
Posts: 2249
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: Bump map scene format

Postby Meelis » Sat Jul 02, 2011 5:31 am

J the Ninja wrote:Have to make sure the "M" button is checked to enable scaling by the base value. Otherwise, the texture just takes over for it and is used in place of the value you specify.


Thank you so much, problem solved :D
User avatar
Meelis
 
Posts: 888
Joined: Sat Oct 17, 2009 2:16 am


Return to Materials Help

Who is online

Users browsing this forum: Google [Bot] and 0 guests