by forgeflow » Wed Oct 28, 2009 7:45 pm
I've figured out the UV mapping troubles. The trick is to open up C4D's UV editor and change the projection type to "box". That seems to sort out the UV mapping issues. Simple cube-mapping doesn't work - makes UVs outside the coordinates that LuxRender expects to find them, and the cube and cube2 projection mappings introduces distortion in the UVs that make them difficult to resolve.
I think I have something "sort of - kind of" figured out with the bump mapping issue. Looking at the texture setup in LuxBlend, it seems there are two components to bump maps - bump scale, and gain. Bump scale seems to control the size of the bump features, and gain gives the strength of the bump effect. LuxC4D is translating the bump strength to bump scale, but not providing any gain. As the strength of the bump effect seems to be tied directly the scale of the object (unlike C4D) there seems to be no easy way of controlling the effect, currently, other than directly editing the .lxm file and guessing different values. Since I want to see more of a definite bump effect, I keep turning up the bump strength, but all this does is spread the bump effect out wider and wider (kind of what C4D does with the "delta" value in procedural textures) rather than doing anything meaningful with the DEPTH of the bump effect, to the point where the hills and grooves are out of place with each other, giving the the appearance that the bumps are facing the wrong way.
So.. I guess what I am asking for is some kind of control over bumpiness in LuxC4D, or at least have it write out some intelligent default values for gain and scale.
My trouble right now is that I have the object UV mapped correctly (confirmed with a colored UV checkerboard pattern), but the scale of the bump map effect that I am trying to apply simply is too large for Lux - I can put same texture on a simple cube object and it bumps just fine, but the building object shows nothing until I turn the gain up to 64, and then it it apparent that the scale is WAY off - the bump is 20x wider than it should be, and it's proving impossible to find the right values to plug in there to make it work. I'm about to give up on this as unworkable at this point. This is far too much time and energy spent on applying what should be a simple cube-mapped repeating texture pattern to a surface.
Last edited by
forgeflow on Wed Oct 28, 2009 9:17 pm, edited 1 time in total.