Search found 8 matches

by ironwallaby
Fri Aug 09, 2013 7:33 pm
Forum: My First...
Topic: SSE 4-Ray vs. Sphere?
Replies: 2
Views: 2856

Re: SSE 4-Ray vs. Sphere?

Thanks a ton, that was exactly the nudge I needed. For example, here's a 4-ray vs. sphere: static v4sf intersect(const ray4_t *ray) { /* Compute discriminant. */ const v4sf b = -dot(&(ray->origin), &(ray->direction)), d = b * b - sq(&(ray->origin)) + V4SF_ONE, t = b - __builtin_ia32_sqrt...
by ironwallaby
Thu Aug 08, 2013 8:48 pm
Forum: My First...
Topic: SSE 4-Ray vs. Sphere?
Replies: 2
Views: 2856

SSE 4-Ray vs. Sphere?

I'm finally getting with the program and working on learning SSE, but I'm having trouble trying to build a 4 ray vs. 1 sphere intersection function. While it's trivial in single-ray land, when working with SIMD instructions I'm getting pretty confused about how one goes about handling branching. Doe...
by ironwallaby
Wed May 08, 2013 8:03 am
Forum: Tools, Demos & Sources
Topic: 5 faces / FLT
Replies: 3
Views: 4762

Re: 5 faces / FLT

Beautiful demo!

The author's writeup about making it is available here: http://directtovideo.wordpress.com/2013 ... y-tracing/
by ironwallaby
Thu Jan 24, 2013 1:06 pm
Forum: Visuals
Topic: A Little Path Tracer and a Little Dinosaur
Replies: 4
Views: 5793

Re: A Little Path Tracer and a Little Dinosaur

Dade wrote:It seems to run with only 2 threads on my Linux+Firefox+i7 3930K, is that expected ?


It's supposed to use up to four threads, but I honestly don't know how browsers go about scheduling them!
by ironwallaby
Thu Jan 24, 2013 2:25 am
Forum: Visuals
Topic: A Little Path Tracer and a Little Dinosaur
Replies: 4
Views: 5793

A Little Path Tracer and a Little Dinosaur

https://raw.github.com/ironwallaby/jellyjelly/master/nessie.png Nothing especially fancy, just a simple little path tracer and a cute little dinosaur, hacked together in a couple evenings and about 400 lines of JavaScript. The path tracer itself is pretty crude (I really need to read up more on the...
by ironwallaby
Sun Jan 13, 2013 1:43 pm
Forum: General Development
Topic: Beam Tracing and BSP Trees
Replies: 2
Views: 1790

Re: Beam Tracing and BSP Trees

Thank you for the link, it is an interesting read.
by ironwallaby
Wed Jan 09, 2013 9:00 pm
Forum: ompf2
Topic: No more emails notifications...
Replies: 7
Views: 5684

Re: No more emails notifications...

I am! (Was!)

I too have noticed a lack of outgoing notification emails (in addition to my signup emails), so I can confirm the issue.
by ironwallaby
Mon Dec 31, 2012 2:54 pm
Forum: General Development
Topic: Beam Tracing and BSP Trees
Replies: 2
Views: 1790

Beam Tracing and BSP Trees

I havn't touched ray tracing in a while, but recently stumbled across the article Ray tracing with the BSP tree , which piqued my interest in it again since it seems far more elegant to my mind to raytrace a single data structure (voxels in hierarchical grids or a SVO, polytopes in a BSP-tree, etc.)...

Go to advanced search