Search found 9 matches

by AranHase
Tue May 26, 2015 5:49 pm
Forum: General Development
Topic: CPU (real time) raytracing references and articles?
Replies: 8
Views: 7802

Re: CPU (real time) raytracing references and articles?

CPU raytracing looks quite strong with Embree:

https://embree.github.io/
by AranHase
Sat Oct 25, 2014 2:09 am
Forum: General Development
Topic: How to render soft shadow from directional light
Replies: 4
Views: 4117

Re: How to render soft shadow from directional light

For point light the most straightforward way of producing soft shadows is to give an area to your light source, and take more than one sample for your shadow rays. This was initially proposed by Cook (http://en.wikipedia.org/wiki/Distributed_ray_tracing). For directional light, maybe use distance to...
by AranHase
Tue Sep 30, 2014 10:45 pm
Forum: General Development
Topic: Experimental Development Framework (C++ and ray tracing)
Replies: 12
Views: 10529

Re: Experimental Development Framework (C++ and ray tracing)

Would that make Embree a good choice? Referring back to my original post, I want to make a preview window with my models etc, and then an output window where the path tracer result is shown. I have previously built some simple GPU path tracers in D3D and ofcourse OptiX but I prefer to make my new i...
by AranHase
Mon Sep 29, 2014 8:36 pm
Forum: General Development
Topic: Experimental Development Framework (C++ and ray tracing)
Replies: 12
Views: 10529

Re: Experimental Development Framework (C++ and ray tracing)

Intel's Embree seems pretty suitable but it's documentation is fairly limited; I'm afraid I will hit another brick wall with that. I don't think the documentation is limited, but it may look like that because Embree is a low-level library. In practice, all it does is calculate the intersection betw...
by AranHase
Tue Jul 08, 2014 1:08 am
Forum: General Development
Topic: Realtime Raytracing on an already busy CPU?
Replies: 8
Views: 5921

Re: Realtime Raytracing on an already busy CPU?

There should be an example of how to obtain overlapped transfers inside the AMD OpenCL SDK (checking ... in samples/opencl/cl/TransferOverlap directory). Thank you again Dade. I somehow missed the samples from the AMD APP SDK. "TrasnferOverlap" is a very interesting sample. They use a "Zero-copy bu...
by AranHase
Sun Jul 06, 2014 8:59 pm
Forum: General Development
Topic: Realtime Raytracing on an already busy CPU?
Replies: 8
Views: 5921

Re: Realtime Raytracing on an already busy CPU?

To start, you should overlap OpenCL buffer write operations with kernel execution. How to achieve this result depends a bit on the OpenCL implementation you are using but you are probably going to need 2 buffers (one in use by the executed kernel and the other updated by the CPU). It will work like...
by AranHase
Sun Jul 06, 2014 4:13 pm
Forum: General Development
Topic: Realtime Raytracing on an already busy CPU?
Replies: 8
Views: 5921

Re: Realtime Raytracing on an already busy CPU?

They split render in two parts, photo-realistic render is other part http://embree.github.io/renderer.html http://embree.github.io/ do only ray traversal and basic shading. Nice, I'll start working on embree soon. And how static nodes fragmented with dynamic ones? I assume you update GPU buffer by ...
by AranHase
Sat Jul 05, 2014 8:01 pm
Forum: General Development
Topic: Realtime Raytracing on an already busy CPU?
Replies: 8
Views: 5921

Re: Realtime Raytracing on an already busy CPU?

For CPU render try http://embree.github.io/ I looked into Embree and if I understood correctly they focus on photo-realistic rendering. What I want is actually a way simpler raytracer. No global illumination, no soft shadows, no AA, no reflection, no refraction. Just basic, direct path, instant, il...
by AranHase
Thu Jul 03, 2014 10:35 pm
Forum: General Development
Topic: Realtime Raytracing on an already busy CPU?
Replies: 8
Views: 5921

Realtime Raytracing on an already busy CPU?

Hi, I'm having a major bottleneck on my system during the synchronization between my CPU and GPU and would like some help. Right now I have a realtime raytracer working on a discrete GPU (OpenCL + AMD Implementation). The raytracer is actually a very simple one and runs completely in the GPU. It com...