Oberon Community Platform Forum
November 21, 2019, 07:04:52 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: adventures in raytracing  (Read 5932 times)
soren renner
Global Moderator
Full Member
*****
Posts: 216



« on: January 13, 2009, 02:34:11 AM »

http://www.youtube.com/watch?v=7GAQina3xGY

Visually near-perfect mirror sphere made of tiny cubes and traced in realtime.
Logged
sage
Full Member
***
Posts: 170



WWW
« Reply #1 on: January 13, 2009, 07:09:24 AM »

Nice sphere Wink
How about to apply some adaptive antialiasing to smooth edges a bit?  Roll Eyes
Is this technique suitable for voxel renderers? Because generation of sub-rays needed.
I've experimented with it a little: http://sage.com.ua/files/ScratchAPixelLesson1.zip
Take a look at lesson1Antialiasing.Mod
Logged
soren renner
Global Moderator
Full Member
*****
Posts: 216



« Reply #2 on: January 13, 2009, 06:32:45 PM »

Shooting more rays at edges is definitely a possible trick. The one difficulty is this: When do we find the edges? After an initial pass? It's better to find them during one pass, because that preserves cache coherency. Still, yeah, it's probably something that should be implemented.
Logged
BohdanT
Sr. Member
****
Posts: 271


Life is difficult, but fortunately is short!


WWW
« Reply #3 on: January 13, 2009, 07:55:22 PM »

Quote
definitely a possible trick

You may need to try to use the library Alexey Morozov (ocpcomun SVN)!
It is considerably (ten times) will increase the speed of calculation....
and, as result,  therefore the possibility!
Logged
sage
Full Member
***
Posts: 170



WWW
« Reply #4 on: January 14, 2009, 06:54:59 AM »

After an initial pass?
Definitely Wink
In my experiment I was analysing the pixels in resulting framebuffer, without extra-rays on initial pass. Framebuffer was obtained as usual. Only then extra-rays was shooted for pixels with high color-distance from neighbor pixels.
« Last Edit: January 14, 2009, 07:01:09 AM by sage » Logged
sage
Full Member
***
Posts: 170



WWW
« Reply #5 on: January 14, 2009, 10:05:10 AM »

I've translated to english a small description of antialiasing algorithm, as I understand it: adaptive antialiasing algorithm
Enjoy! Wink
« Last Edit: January 15, 2009, 08:33:48 AM by sage » Logged
soren renner
Global Moderator
Full Member
*****
Posts: 216



« Reply #6 on: January 14, 2009, 10:43:21 PM »

This is extremely interesting. I have discovered several things directly as a result of your suggestion. I will try to describe them in detail soon.
Logged
soren renner
Global Moderator
Full Member
*****
Posts: 216



« Reply #7 on: January 18, 2009, 05:29:22 PM »

http://www.youtube.com/watch?v=lkoNqfY-p1c
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!