Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Does anyone have a link to a sample implementation of how to create/handle 4D BRDFs?

I found a few interesting papers and websites,

but cannot seem to find any reference implementation to play with. Anyone have any?

brdf

Image from Predicting reflectance functions from complex surfaces

share|improve this question
    
This question is unclear to me. There are quite a lot of different BRDF models out there; which one(s) do you want a reference implementation for? –  Nathan Reed Oct 17 '11 at 23:43
    
Any one, to give me an idea of how they are programmed! –  bobobobo Oct 18 '11 at 1:54
1  
nVidia's own site has an entry on SBRDF if you want source for a spatial variant on pure BRDF. Check here: brdflab.sourceforge.net for an open source (Ogre3D based) application. –  Patrick Hughes Oct 18 '11 at 4:49
    
@PatrickHughes Great! –  bobobobo Oct 19 '11 at 21:17
add comment

1 Answer

up vote 4 down vote accepted

There are quite a few implementations of BRDFs in pbrt, the (open-source) raytracer described by the Physically Based Rendering book. That book is also a great reference for anyone interested in 3D graphics, even if you're not interested in raytracing.

share|improve this answer
    
I am interested! Very interested. –  bobobobo Oct 19 '11 at 21:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.