Your well gettin into hte programming!! Have you done much in MEL??
My C++ was object orientated where you used a blank form and created an interface using the different user imputed attributes to calcualte/look up values, Might try and get back into it using MEL |
thanks, and no, i dont know MEL
And magicsy, I have to finish this first, before realyl getting into maya/3ds max again |
1 Attachment(s)
Haha! Check dis out!:attn:
|
1 Attachment(s)
And now it does collisions with spheres too.
|
Ok, this is the last update before I can render out a picture.
I have a function that shoots 800 x 600 rays (480,000) tests them each against every primitive, finds a collision, gets the primitive color, and (very soon) will apply that color to a pixel. I just need to find an easy to use graphics library for c++ and I'll show you. Then right after that I will add diffuse shading. |
1 Attachment(s)
MY FIRST IMAGE! YAY YAY YAY :attn: :attn:
its not much... but I know how to add diffuse shading, and it will happen a bit later today. |
1 Attachment(s)
And diffuse shading. Next up: reflections! :attn:
|
Fast work there Matt
|
1 Attachment(s)
thanks: and to show you that I added perspective (like, the farther an object is away from the camera, the smaller it appears) a while ago: here
I moved the sphere about 80 units away form the camera and about 30 units to the side The bad quality is not my raytracer's fault, it is bad JPG compression that MS Paint does. |
1 Attachment(s)
And now: The plane reflects! In about 30 minutes, the sphere might reflect too!
and I have to say that it runs waaaaaaaaaaaaaay faster then the Maya Software Renderer. I acheived almost the exact same effect in Maya SR, and it took about 10 seconds to work. Mine rendered in less then half a second. |
1 Attachment(s)
umm... I didnt add sphere reflections, though I have been working on it I have to restart it because it is seriously f***ed up
I added the characteristic that a reflective material adds its color onto the color of the reflected object |
1 Attachment(s)
before I make the spheres reflect, I decided to optimize my main rendering code and to add another sphere (so the sphere reflcetions look cooler)
Well, I could add as many primitives as I want now, but it took me a while to do... I might make the light a white sphere, so you can see where it is. I need to make the blue sphere reflect off of the plane though |
1 Attachment(s)
and the second sphere is reflected too
|
Cool work man, keep going!
|
respect mat!
if you are 13 and doin stuff like this now, you´ll earn a heck lot of money later in your life! keep it comin! |
All times are GMT. The time now is 10:38 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018