Comments (5)
Hi,
-
The implementation here has diverged from what is described in the paper. This is one of the changes that the note on the front page is alluding to when it says "The Linearly Transformed Cosine (LTC) tables in this implementation differ in their parameterisation and storage compared to the original paper". We made changes for accuracy and performance reasons.
-
These are just the axes of a rotation matrix. They're updated here:
https://github.com/selfshadow/ltc_code/blob/master/fit/fitLTC.cpp#L238-L243 -
It's calculating the inverse Jacobian and dividing rather than multiplying. As such, it's equivalent, but I agree that this could be simplified. It's something I had meant to clean up a while ago but forgot about.
from ltc_code.
Hello,
These days I read your paper and code again and agian.Now, I think I maybe undstand your LTCs method.
For the question above,
-
Q1,Q2. Is the m11 m22 in the matrix M meaning scaling and the m13 meaning the skewness? The rotation matrix mat3(X,Y,Z) is not the parameters to be optimized, and it is just for better and faster fit the brdf*cos(theta). According to my understanding,the matrix M to be optimized also can have 9 free degree,but it is too slow. Is it right?
-
Q3. I got it.
Thanks a lot.
from ltc_code.
Actually regarding 1, I was referring to the final storage, whereas I see now that you're talking about a different location in the code. I think this submatrix is sparser since those were the only terms that had a significant impact on the fit, but the final matrix can still follow the cross form of the paper due to the rotation matrix [X Y Z].
from ltc_code.
Ahh, it looks as though my second reply came at the same time as yours. Yes, regarding 1 and 2, that's correct. We didn't find a benefit to adding more degrees of freedom and in fact it could have made the fitting worse (could get stuck in local minima).
It sounds as though things are clear now, so I will close this ticket.
from ltc_code.
ok, Thanks.
from ltc_code.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ltc_code.