Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Minilight, a minimal global illumination renderer

by wazoox (Prior)
on Mar 24, 2009 at 11:54 UTC ( [id://752837]=perlmeditation: print w/replies, xml ) Need Help??

Dear Monks,

I stumbled upon this :http://www.hxa.name/minilight/
I notice that it has been ported from C++ to several languages, Python, Ruby, Lua, Scala. But...There isn't any Perl version? For a program that should be less than 600 lines of code? Unbelievable, this should look like a provocation to the Monastery :)

  • Comment on Minilight, a minimal global illumination renderer

Replies are listed 'Best First'.
Re: Minilight, a minimal global illumination renderer
by mr_mischief (Monsignor) on Mar 24, 2009 at 14:06 UTC
    It's a neat project, and a good Perl version would be a nice advertising tool. Why the incitement to everyone else, though, if you're so interested? If you're so eager, get started already.

    If you're worried about your ability to turn out a quality representation that does Perl proud, then don't be. You already have the source in multiple other languages. Translate it to Perl the best you can, and ask for help and feedback here at PerlMonks as you need it. Keep a credits list of everyone that has helped on it, and put a special thanks in to PerlMonks.

    By heading up a collaborative effort with proper credit, you might learn something you didn't know you were ready to learn. You'd still get to show off Perl. You'd also expand your portfolio. You'd get some lead developer experience, even though the program is more a curiosity than a real problem-solver. By asking for help at PerlMonks, you'd likely get the involvement of very good programmers not interested enough to do the whole thing themselves. Maybe it would help some aspiring to be good programmers see how stepwise refinement can help the progress of their code and their ability, too. Only by involving multiple contributing authors can you market one of the strongest assets we as PerlMonks and members of the larger Perl programmer community have. A community like ours is difficult to find around many other languages, and the traditional "best thing about Perl" -- CPAN -- is in many ways a product of that community rather than only an attractant for it.

      Testify. Taking on this kind of project is the sort of resume bullet that can put a candidate over the top in hiring consideration too.

      Well I'd really want to get started on this, but right now I've got way too much tedious work, that's why I mentioned it here in case someone else get intersted! However, I already downloaded various versions to read the code and evaluate the feasability... when I'll have some time to spare on this :)
Re: Minilight, a minimal global illumination renderer
by ambrus (Abbot) on Mar 24, 2009 at 16:51 UTC

    See also this perl submission for icfp contest 2000. Admittedly it's not the same, it's a simplified (fast) ray tracing task which does not consider rays that are diffusely reflected more than once or that are reflected at least once before diffusely reflected.

Re: Minilight, a minimal global illumination renderer
by zentara (Archbishop) on Mar 24, 2009 at 12:45 UTC
    Yeah, Ray tracers are cool, but you will find that to do serious work with it, you need to run it with Aseembly language routines, and probably with a computer cluster. The problem you see, is how to position someone behind the "desk objects" and control there movement dynamically, WHILE the observer's POV moves too.

    I'm not really a human, but I play one on earth My Petition to the Great Cosmic Conciousness
Re: Minilight, a minimal global illumination renderer
by DrHyde (Prior) on Mar 25, 2009 at 11:17 UTC
    Might be an interesting problem. Shame the C++ version doesn't have any tests that we could run a port against to verify correctness.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://752837]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2024-04-25 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found