I would like a Visual Basic 6 version of smallPT. It is 95 lines of C++ code.
There are also ports to Javascript, Python, Go, pascal and so on. I don't care which one you convert as long as it works in VB6. No external dependencies! That means no dll or anything else. I want all functions in VB6. I don't care if you stuff them in modules, classes or in the form code, but no compiling smallpt to a dll and call it from VB6 in case you thought about that.
Original source (95 lines c++ if you disregard comments!) :
[login to view URL]
There are some ports on that website, just google for "smallpt" and your favorite language if you wanna use a different port as a base.
To make things clear:
- You deliver the whole VB6 source
- No dependencies (i.e. dll calls etc)
- Must render to a PictureBox or image on a form within your project
- Clear code. I don't need comments, but no obfuscation or anything else
Allright, looking forward to your offers.