Search found 8 matches
- Fri Aug 09, 2013 7:33 pm
- Forum: General Development
- Topic: SSE 4-Ray vs. Sphere?
- Replies: 2
- Views: 5511
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_sqrtps(d); /* Wh...
- Thu Aug 08, 2013 8:48 pm
- Forum: General Development
- Topic: SSE 4-Ray vs. Sphere?
- Replies: 2
- Views: 5511
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...
- Wed May 08, 2013 8:03 am
- Forum: Visuals, Tools, Demos & Sources
- Topic: 5 faces / FLT
- Replies: 3
- Views: 7709
Re: 5 faces / FLT
Beautiful demo!
The author's writeup about making it is available here: http://directtovideo.wordpress.com/2013 ... y-tracing/
The author's writeup about making it is available here: http://directtovideo.wordpress.com/2013 ... y-tracing/
- Thu Jan 24, 2013 1:06 pm
- Forum: Visuals, Tools, Demos & Sources
- Topic: A Little Path Tracer and a Little Dinosaur
- Replies: 4
- Views: 8017
Re: A Little Path Tracer and a Little Dinosaur
It's supposed to use up to four threads, but I honestly don't know how browsers go about scheduling them!Dade wrote:It seems to run with only 2 threads on my Linux+Firefox+i7 3930K, is that expected ?
- Thu Jan 24, 2013 2:25 am
- Forum: Visuals, Tools, Demos & Sources
- Topic: A Little Path Tracer and a Little Dinosaur
- Replies: 4
- Views: 8017
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...
- Sun Jan 13, 2013 1:43 pm
- Forum: General Development
- Topic: Beam Tracing and BSP Trees
- Replies: 2
- Views: 3188
Re: Beam Tracing and BSP Trees
Thank you for the link, it is an interesting read.
- Wed Jan 09, 2013 9:00 pm
- Forum: ompf2
- Topic: No more emails notifications...
- Replies: 7
- Views: 11430
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.
I too have noticed a lack of outgoing notification emails (in addition to my signup emails), so I can confirm the issue.
- Mon Dec 31, 2012 2:54 pm
- Forum: General Development
- Topic: Beam Tracing and BSP Trees
- Replies: 2
- Views: 3188
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.)...