Re: Clojure raytracing scene description language

2012-12-10 Thread Thomas
A very cool idea, something I was thinking about myself as well (but never had the time/knowledge for). Are you planning to make use of multithreading? (there is a another Clojure Raytraces on githubm and that one doesn't unfortunately). And sticking close to the pov syntax would make sense I

Re: Clojure raytracing scene description language

2012-12-10 Thread Karsten Schmidt
Hi Mike, you could maybe take some inspiration from Structure Synth, which is based on CFDG (http://www.contextfreeart.org/)... http://structuresynth.sourceforge.net/learn.php Apart from that, wouldn't it be more worthwhile to just focus on the actual scenegraph generation and scene export in

Re: Clojure raytracing scene description language

2012-12-10 Thread Mikera
I'd like to keep it close to POVRay if possible. Although I think there is a good opportunity to clojurize the POVRay syntax and also iron out a few rough edges. Also, I'm hoping to the automatic generation of scenes much more powerful. The POVRay macro language is OK for what it is designed

Re: Clojure raytracing scene description language

2012-12-10 Thread Mikera
Thanks for some great links! I want to build a custom renderer mainly because I like an interesting challenge :-) Also I've written a couple of renderers before and I reckon it's a fairly manageable task. I also think that to make a really good Clojure DSL it is important to design the

Re: Clojure raytracing scene description language

2012-12-10 Thread Mikera
Yep, I'll probably use the trick I used in clisk and chunk the image up into different pieces that can be handed off to different processors. Also I'm planning to make the scene data structures immutable, so the concurrent access should work nicely. Long term goal might be to do some

Re: Clojure raytracing scene description language

2012-12-10 Thread Mikera
Hi Brandon, I'm thinking to allow for animations via two main methods: a) A time parameter that can be inserted in formulae to allow variation over frames. Good for simple animation. b) Allowing procedural generation of multiple frames from regular Clojure code. So you could theoretically run a

Clojure raytracing scene description language

2012-12-09 Thread Mikera
Hi all, I'm working on a hobby project to implement a Clojure raytracer, something along the lines of POV-Ray: https://github.com/mikera/enlight It's a a fairly preliminary stage right now, but I'm interested in ideas on how to create the scene description language. Roughly the objectives are:

Re: Clojure raytracing scene description language

2012-12-09 Thread Brandon Bloom
Are you only interested in static scenes? Or are you interested in simulations too? On Sunday, December 9, 2012 4:03:36 PM UTC-8, Mikera wrote: Hi all, I'm working on a hobby project to implement a Clojure raytracer, something along the lines of POV-Ray: https://github.com/mikera/enlight

Re: Clojure raytracing scene description language

2012-12-09 Thread Grant Rettke
On Sun, Dec 9, 2012 at 6:03 PM, Mikera mike.r.anderson...@gmail.com wrote: Any thoughts / ideas / feedback? What if you try keeping it pretty close to the current POV syntax/format? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this