Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

Temporary workaround for artifacts in bump mapping #87

Conversation

DavidBluecame
Copy link
Member

Dirty workaround/hack to avoid artifacts (slightly shadowed triangles with slightly different normals?? coincidently with changes in dSdU, dSdV, etc) when using image textures for bump mapping. This change effectively disables this entire calculation intended to be done for image textures, which is not really a good solution. We sould review why is this problem happening in the first place. Looks like some strange issue when using dSdU/dSdV for calculations???

More information and examples here: http://yafaray.org/node/660

Changes to be committed:
modified: src/textures/basicnodes.cc

Dirty workaround/hack to avoid artifacts (slightly shadowed triangles with slightly different normals?? coincidently with changes in dSdU, dSdV, etc) when using image textures for bump mapping. This change effectively disables this entire calculation intended to be done for image textures, which is not really a good solution. We sould review why is this problem happening in the first place. Looks like some strange issue when using dSdU/dSdV for calculations???

 Changes to be committed:
	modified:   src/textures/basicnodes.cc
@DavidBluecame
Copy link
Member Author

We need to find the root cause, I'm closing thia pull request for now

@DavidBluecame DavidBluecame deleted the texture_mapping_normal_artifacts branch July 18, 2015 03:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant