graphics - Doubts on some results: from raytracing to distributed raytracing -


i have simple ray tracer did time ago. trying improving , transforming in distributed ray tracer. first thing doing shooting bunch of rays instead of single ray through each pixel. each ray of bunch jittered center of relative pixel. final color of pixel decided average of results given rays. want ask if results having correct , reasons why correct or if there wrong. below can find pics:

normal raytracing:

enter image description here

distributed raytracing 10 rays through each pixel:

enter image description here

distributed raytracing 10 rays through each pixel , light increased:

enter image description here

so questions are:

1) normal need increase intensity of light when switch 1 10 rays?

2) result in third picture reasonable one?

i guess wrong reason: have similar result if instead of using 10 rays use 1, jittered center. see picture below:

enter image description here

thanks in advance!

distributed raytracing isn't shooting multiple rays per pixel. pixel small, shooting 10 rays through has no significant effect on image. in distributed raytracing, multiple rays shot points of intersections simulating soft shadow, motion blur, glossy reflection etc. jitter you're adding rays through pixels should applied shadow rays.

1) normal need increase intensity of light when switch 1 10 rays?

it depends on how you're combining colors each ray. if calculate illumination each ray , average them, pixel should not dark.

2) result in third picture reasonable one?

i think more aliased than 1 generated shooting single ray.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -