Skip to main content
9 events
when toggle format what by license comment
Feb 12, 2017 at 15:51 comment added trichoplax is on Codidact now @Erik Thanks for speaking out about this. Hopefully I've made it clear that disrespectful behaviour is not acceptable here. Note that you can flag any question, answer or comment for moderator attention, and we will appreciate the chance to step in and calm things down.
Feb 12, 2017 at 14:48 comment added trichoplax is on Codidact now @wandering-warrior please be respectful to the people who are giving their time to help you. Whether you intended so or not, the repeated use of the phrase "you failed" comes across as aggressive and ungrateful. As for the confusion over the term "dude", it's worth noting that it is a slang term with a long history and a wide range of meanings, from complimentary to insulting. It's safest to avoid slang terms here as the intended meaning will not always match the understood meaning.
Feb 12, 2017 at 12:47 comment added gallickgunner ahem Ok you answered half. "For example if i have a color rgb(66, 170, 244) which is somewhat light blue. What should the Ks and Kd be for the above color?" If these aren't the color where can i get their values? Any reference?
Feb 12, 2017 at 12:08 comment added user18490 @wandering-warrior: I answered your question very precisely. But you need to get outside of the context of the code that you are using. I said that Kd and Ks are coefficients (they are not colors) and that should take values between 0 and 1 and that their sum should be ideally equal to 1. I also mentioned that you need to multiply these coefficients by the functions diffuse() and specular() which return the diffuse and specular responses of the surface. These functions are defined by shading model you use. If you are not familiar with these concepts you need to study them first.
Feb 12, 2017 at 10:19 comment added Erik Sorry, cant help it but I'm considering downvoating based on op's attitude and not on the questions merit. Dude, loose the attitude and have a little courtesy. We're all here to help.@user18490 made a more than decent effort to answer your question.
Feb 12, 2017 at 9:18 comment added gallickgunner Well sorry i can't tell your gender sitting in front of my LED. My native language isn't english so didn't know people get pissed off on the net if called a 'dude'. Yes i feel you don't answer the question because you didn't read it carefully. I clearly wrote "If Ks and Kd are the surface color or the reflectance ratio and if they are the ratio what their value should be?" You failed to answer what their value should be?
Feb 12, 2017 at 9:10 comment added user18490 @wandering-warrior: your commend is border line polite. I am not a dude to start with. Please stay within the limits of correctness. Second I spent a share amount of time answer your question so I would appreciate some appreciation of that. If you feel I don't answer your problem, maybe you start questioning whether your questions are properly formulated.
Feb 12, 2017 at 9:05 comment added gallickgunner Dude i've read all of those. And maybe i forgot to mention but i am working with floats. What do you expect when i say everything is in range [0,1] surely it can't be 0 and 1. Again i think you failed to understand my questions 1) and 3). I've read books and i know Ks and Kd are blah blah blah coefficients. But what exactly are those when it comes to putting numbers? Are those the diffuse and specular color or something else? Let me update my question with books references.
Feb 12, 2017 at 8:42 history answered user18490 CC BY-SA 3.0