Search found 28 matches

by mrluzeiro
Wed Jul 15, 2015 12:34 pm
Forum: General Development
Topic: Question about normal mapping in Ray tracingIt looks like al
Replies: 7
Views: 6610

Re: Question about normal mapping in Ray tracingIt looks lik

I believe "bump map" and "normal maps" are different things. You will use "bump map" when you think about a texture (i.e the material properties of an object), it will fake some texture properties of the material. You will use "normal map" when you think about...
by mrluzeiro
Wed Jul 01, 2015 10:40 pm
Forum: General Development
Topic: Ideas request for a specific raytracing application
Replies: 28
Views: 16004

Re: Ideas request for a specific raytracing application

Hi koiava, thanks for your valuable suggestions! would you please elaborate more the 4 and 5? regarding "Environment illumination"? Any papers? Right now, I dont plan to go for something so advance as the path tracing Another aspect is that in my scenario application I dont have easy way t...
by mrluzeiro
Thu Jun 25, 2015 8:09 pm
Forum: General Development
Topic: Ideas request for a specific raytracing application
Replies: 28
Views: 16004

Re: Ideas request for a specific raytracing application

I would take the BVH code from somewhere else. It's tricky to get it right (and fast). As a library developer, of course I recommend using my own library, Visionaray ;) Embree is the state of the art, but no GPU code unfortunately. Very cool for incoherent rays because of a special BVH type. Aila a...
by mrluzeiro
Thu Jun 25, 2015 7:15 pm
Forum: General Development
Topic: Ideas request for a specific raytracing application
Replies: 28
Views: 16004

Re: Ideas request for a specific raytracing application

The primitives in your BVH node can and should be stored contiguously. I see, I was thinking that when you load a model from a file, you cannot assure that one polygon is next to the other. So I guess you mean that in BVH, you try to keep the polygons next to each other (as they are in object space...
by mrluzeiro
Thu Jun 25, 2015 3:13 pm
Forum: General Development
Topic: Ideas request for a specific raytracing application
Replies: 28
Views: 16004

Re: Ideas request for a specific raytracing application

I would not suggest using virtual C++ objects. Problem is that you store pointers. What you want to do is store primitives contiguously in memory. With virtual objects, you just store pointers contiguously in memory, while the primitives are probably scattered. Bad for caches. A way to achieve the ...
by mrluzeiro
Thu Jun 25, 2015 12:17 pm
Forum: General Development
Topic: Ideas request for a specific raytracing application
Replies: 28
Views: 16004

Re: Ideas request for a specific raytracing application

When going for real-time ray tracing you should minimize the number of supported primitive types (e.g. only triangles, or only quadrics). This is because you'll have some switch case (or similar) in your inner traversal loop, that must determine each time what primitive type you'd like to intersect...
by mrluzeiro
Thu Jun 25, 2015 11:54 am
Forum: General Development
Topic: Ideas request for a specific raytracing application
Replies: 28
Views: 16004

Re: Ideas request for a specific raytracing application

But this I also wrote in the program's comments, so it's probably not what you're worrying about. So AO means you sample the hemisphere above the intersection position. In order to find the hemisphere, you need the normal. Then you (may) form an orthonormal basis with the normal being the up direct...
by mrluzeiro
Thu Jun 25, 2015 11:00 am
Forum: General Development
Topic: Ideas request for a specific raytracing application
Replies: 28
Views: 16004

Re: Ideas request for a specific raytracing application

Thanks I will have a look in more detail. Why are you calculate a direction vector with w,u,v ? why not just use the normal (as direction) and the hit point to trace the hemisphere? For the CSG part, you'd probably like to support both quadrics and bounding boxes? Then you circumvent problems with s...
by mrluzeiro
Thu Jun 25, 2015 7:46 am
Forum: General Development
Topic: Ideas request for a specific raytracing application
Replies: 28
Views: 16004

Re: Ideas request for a specific raytracing application

@szellmann Ya, that's what I meant. So I will have +better quality details of the (quadrics) objects and solve at the same time the CSG problem. This would be possible to do also with rasterisation, but I found it very tricky (using stencils .. or maybe shaders). @straaljager That is a nice example ...
by mrluzeiro
Wed Jun 24, 2015 9:39 pm
Forum: General Development
Topic: Ideas request for a specific raytracing application
Replies: 28
Views: 16004

Re: Ideas request for a specific raytracing application

I think at this time I am also still trying to figure out why :) - this is an opensource project (KiCAD) and I have time to play with this ideas. - user are requesting more render quality and functionalities to the renders (marketing proposes and technical analysis) - they[ ref?] say that raytracing...

Go to advanced search