Latest Comments
While perhaps a suggestion for a more advanced article, we might like to speak to downfalls of pointers. Downfalls like reference semantics (over value semantics) and losing “domain association". I say “we” because as programmers we have to face these downfalls when say deciphering existing code and dealing with the cognitive load pointer usage comes with. Maybe call the article “The Spooky Action At A Distance of Pointers"!
aqsa,
Yes! Definitely!
Just about every industry uses computers, and therefore needs computer programmers to develop their systems.
Software development is mostly about solving problems. Sometimes math is required to solve the problems, other times it’s more about transmitting and transforming data into a way that is useful to your users.
One more thing about math, when it is completely abstract (like the way it is taught before college), it is difficult to see how to use it, beyond the algorithms they teach us to perform calculations. If you choose to become a programmer, when you reach a topic that you have to dive into math, you may surprise yourself at how much easier it is to learn when you are trying to directly apply it to solving a problem.
Good Luck on your endeavors.
thanks, was useful
but I didn’t get from code how to convert directly without going to base 10
maybe it was better to give rich description or a flowchart or something
could you still become a software engineer or get a degree in computer science if you suck at math?
Thanks for the great article. I didn’t know how the compiler handled samples. I want to learn more about how compiles work, now.
I try to convert this c++ code to java code, just i have a problem with Qx, Qy and Qz must be initiliazed, please any help
Pete,
Thanks for pointing out the file link was no longer working.
I re-uploaded the version I use in my alchemy library. I don’t remember how the file differs from the original, but this one is based on the concepts in this article, including all of the functions.
You can refer to my alchemy library if you would like to see how a library like this can be used.
Regards,
Paul
sivabalan,
Thanks for identifying those typos. The < is part of the formatting that I typed in incorrectly, so it didn’t display the ‘<’. You identified the proper fix.
From looking at the code, I think it assumes a 24-bit color bitmap. That is the first thing that I would verify.
Otherwise, maybe you could send me a sample image.
eiselekd:
the “type*=nullptr” code is setting a default value to the template “type” parameter equal to “nullptr”
It would probably been clearer if I had written like this:
…
This taught me a lot about Modern C++ template programming.
The link to the type_list.h file is not working. Please update it.
Thanks, Pete
I wonder what the “type*=nullptr” syntax in the template parameter means. Is meaning has the “*"…
Hi, What is ‘&1t;’ at line 6, 7 of RenderProjection function. I am using ‘<’ instead of that.
at line 3 of BilinearSample function, int(u) is incorrect. I am using int(y) instead.
I am getting a weird little planet (looks like having two little planets merged in the opposite direction, with a different color.
Thanks for the support
good work on the detail. But lacks a complete working example for someone to fully comprehend without referring to other material. Hope you can add.
I apologize about the link.
I will edit this post to point to the latest stuff found on GitHub.
https://github.com/PaulMWatt/Alchemy
Regards,
Paul
Love the blog, found this entry most interesting. One of the things that drives me nuts is the assumptions about copy rights; to wit; on youtube is a copy of Robert Johnson’s classic “32-20 Blues", its a “tribute” type video with the audio overlaid with some deep south pictures and so on. The guy who put the video together mentions something about a copy right (I forget the attribution) even though the song passed into the public domain years ago. One should never make assertions about things they know NOTHING ABOUT!
Argh!
The download link is broken.
From where can I download the sources mentioned in this article.
-Ameya
Recent Comments