You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks a lot to your work on this repository. And thanks a lot for the detailed documentation.
Recently I want to project curvature from 3D geometry to an image. Just like to generate a 2D normal image from 3D, a curvature is just a physical value, it should not be affected from lightning or shading at all. Almost all the render engines have controls about lightning model and shading, but they don't give a simple instruction how to shut this down. Does your rasterizer have this simple but useful function? Could you give me some instruction how to play around with it? I am very appreciated to your help.
The text was updated successfully, but these errors were encountered:
Currently there rasterizer doesn't have such functionality but it shouldn't be too hard to add it. Basically, what you want to is replace the function which the pixel its color. Right now, it takes into account the lights in the scene as well as the material properties. In your case, that function would just compute the curvature value and assign it to the pixel. For this, you may needto modify lines 40-45 in https://github.com/mtrebi/Rasterizer/blob/master/src/ForwardRasterizer.cpp
Hi,
thanks a lot to your work on this repository. And thanks a lot for the detailed documentation.
Recently I want to project curvature from 3D geometry to an image. Just like to generate a 2D normal image from 3D, a curvature is just a physical value, it should not be affected from lightning or shading at all. Almost all the render engines have controls about lightning model and shading, but they don't give a simple instruction how to shut this down. Does your rasterizer have this simple but useful function? Could you give me some instruction how to play around with it? I am very appreciated to your help.
The text was updated successfully, but these errors were encountered: