Yup. Actually getting close to done...all I really need to do is lighting and a few touch ups and I should be good. I'll post pictures soon.
Offline
Cool! Can't wait to see it.
Offline
awesome :3
Offline
Oh, awesome. I'm currently learning Java, I really should start learning to use graphics libraries. Maybe LWJGL.
Mind releasing the source code? It could help me eventually ;P
Offline
technoguyx wrote:
Oh, awesome. I'm currently learning Java, I really should start learning to use graphics libraries. Maybe LWJGL.
Mind releasing the source code? It could help me eventually ;P
Well...I can refer you to the video I found about rendering pixels in a window using JFrame...since I'm making my ray tracer able to trace almost any shape, it'd be a little hard to release all of it cuz it's a lot.
Offline
Basic Rendering (Just intersection):
Time Rednering (Based off the time it takes the ray to get to the object + some ambient light):
As you can see, time-based rendering looks a lot nicer.
Offline
Much nicer, indeed. Longer time (which I suppose is the distance between the ray's origin and it's intersection with the object) = darker?
Offline
technoguyx wrote:
Much nicer, indeed. Longer time (which I suppose is the distance between the ray's origin and it's intersection with the object) = darker?
Yep! But there are limits on either side. The maximum limit on the brightness is 1 (because that's the highest float that can be taken so otherwise it would take the remainder which doesn't look good) and the minimum is the ambient light present (I believe I used .1).
Offline
AtomicBawm3 wrote:
Lighting Update:
http://i50.tinypic.com/6pyxp3.png
Still not perfect but looks a lot better!
wow! It's going to be awhile before I understand what math goes into it... How long did it take to render the image?
Offline
Wow, awesome. The specular looks a bit big, though
Also,
AtomicBawm3 wrote:
Well...I can refer you to the video I found about rendering pixels in a window using JFrame.
Please?
Last edited by technoguyx (2012-10-21 23:38:48)
Offline
TorbyFork234 wrote:
AtomicBawm3 wrote:
Lighting Update:
http://i50.tinypic.com/6pyxp3.png
Still not perfect but looks a lot better!wow! It's going to be awhile before I understand what math goes into it... How long did it take to render the image?
Not long at all....you can almost do real-time rendering. Here's the vid: https://www.scratch.mit.edu/ext/youtube … ata_player
Offline
Can't seem to, either... lemme try
EDIT: That works c:
Last edited by technoguyx (2012-10-23 09:31:07)
Offline