Jump to content


Recursive Raytracer


15 replies to this topic

#1 Hybrid

    New Member

  • Members
  • Pip
  • 4 posts

Posted 24 September 2004 - 03:03 PM

Posted Image


Description
This is a still from my raytracer that I developed for a module at university. This chess scene is one of the more geometrically complex scenes that I rendered, with those pieces being in the range of 10,000 to 30,000 triangles.

Some of the features (what I can remember off the top of my head!)...

* Completely pluggable design, so varying scene, camera etc. types can be used.
* Fully recursive raytracing
* Reflections
* Refractions
* Anti-aliasing (quincunx and jittered grid)
* Soft shadows produced by area lights
* Normal mapping
* AA Spatial binary trees for individual objects
* Bilinear texture filtering
* Materials supporting diffuse, specular, reflection, transparency, emission and normal maps.
* Animation of objects, cameras, lights and material properties.
* ...and other small features.

My website hasn't been updated with all the screenshots and videos, so not much point providing a link. Anyway, hope you like the render!!

#2 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 24 September 2004 - 03:46 PM

nice !
If Prolog is the answer, what is the question ?

#3 Mihail121

    Senior Member

  • Members
  • PipPipPipPip
  • 1059 posts

Posted 25 September 2004 - 05:31 AM

congrats for the good work!

#4 Smokey`

    New Member

  • Members
  • PipPip
  • 25 posts

Posted 25 September 2004 - 06:46 AM

Nice work Hybrid, it looks awesome; Keep up the good work. :)

#5 Hybrid

    New Member

  • Members
  • Pip
  • 4 posts

Posted 25 September 2004 - 09:05 AM

Thanks everyone!

Here are some more pics for your viewing pleasure...

1) 20 recursive limit, the walls are 100% reflective causing the
infinite look.
Posted Image

2) A closeup render of the normal mapping applied to the wood edge of the chess board.
Posted Image

3) A random reflection only scene. Notice the mutiple lights and soft shadows.
Posted Image

4) Some reflecting spheres (a typical raytraced scene :)).
Posted Image

5) A nice and simple phong rendered teapot.
Posted Image

6) Some more soft shadows.
Posted Image

#6 Smokey`

    New Member

  • Members
  • PipPip
  • 25 posts

Posted 25 September 2004 - 12:18 PM

Absolutely amazing work Hybrid :)

I've once attempted a ray tracer, but not nreatly as sophisticated as this... Mine could only render spheres/ellipsoids/triangles with diffuse lighting, shadows (obviously not soft), and reflections... (not even texture mapping :P)

Once again, great work Hybrid!

#7 john

    Member

  • Members
  • PipPip
  • 84 posts

Posted 25 September 2004 - 01:20 PM

cool work!
Are these demos downloadable (preferrably with source code :D)?

#8 Hybrid

    New Member

  • Members
  • Pip
  • 4 posts

Posted 25 September 2004 - 02:30 PM

john said:

cool work!
Are these demos downloadable (preferrably with source code :D)?

View Post

Unfortunately not... as work developed at university is under university copyright.

Here are a couple of animation videos though - right click and 'save target as...'

Chess Animation (DIVX) - 4 Lights. Animated pieces, camera and lights (6.7 megs)

Chess Set (DIVX) - 1 Light. Camera rotating around board. (3.3 megs)

#9 moe

    Valued Member

  • Members
  • PipPipPip
  • 276 posts

Posted 25 September 2004 - 03:52 PM

Awesome! Congratulations on your work. What’s the average rendering time for one of the above images?

#10 Mihail121

    Senior Member

  • Members
  • PipPipPipPip
  • 1059 posts

Posted 25 September 2004 - 05:01 PM

AWESOME!!! :surprise: :eek: :notworthy:

P.S.
boy that new smile set just BEATS ALL!

#11 knackered3

    New Member

  • Members
  • PipPip
  • 19 posts

Posted 25 September 2004 - 05:27 PM

I don't understand - what am I to say, moderators? That everything's awesome? and if I think it's anything less then I shouldn't say anything? Is that correct?

#12 Mihail121

    Senior Member

  • Members
  • PipPipPipPip
  • 1059 posts

Posted 25 September 2004 - 05:41 PM

completely correct, knackered!

#13 knackered3

    New Member

  • Members
  • PipPip
  • 19 posts

Posted 25 September 2004 - 06:40 PM

And the point of that being?....

#14 moe

    Valued Member

  • Members
  • PipPipPip
  • 276 posts

Posted 25 September 2004 - 07:41 PM

Plz, this is unnecessary. No need to write it’s bad if it obviously is not. No one has written anything offending. So what’s your point anyway? If you don’t like it say what you would improve.

I specifically like the close up from the normal mapping and the soft shadows. But 10,000 to 30,000 triangles does not say so much without the time you need to render them. That’s all the critics I got here.

Otherwise it’s all :notworthy:

#15 NomadRock

    Senior Member

  • Members
  • PipPipPipPip
  • 785 posts

Posted 25 September 2004 - 09:04 PM

You have several options. You can give him praise as anyone likes that. You can tell him what to improve, or how you might do something differently. If you have made something you think is better you can point him to it if you think he can learn something from it, though just being an ass to steal the lime light is not very fair.

Come on, everyone is here to learn. If you have attained true perfection and dont care to help anyone, then by all means go back to your ivory tower and leave us out of it.
Jesse Coyle

#16 Hybrid

    New Member

  • Members
  • Pip
  • 4 posts

Posted 26 September 2004 - 11:04 AM

NomadRock said:

You have several options. You can give him praise as anyone likes that. You can tell him what to improve, or how you might do something differently. If you have made something you think is better you can point him to it if you think he can learn something from it, though just being an ass to steal the lime light is not very fair.

Come on, everyone is here to learn. If you have attained true perfection and dont care to help anyone, then by all means go back to your ivory tower and leave us out of it.

View Post

Criticism is good, it's all fine by me - when it's constructive ;) It was just a university module and you're looking at about 2 months work - with the other 4 modules I had to do at university, so please bear that in mind. I'm quite pleased how it turned out and I got a high A grade for it - and graduated with a first class honours :D

I can't remember specific rendering times, but I believe that chess set render took about 15 minutes at 1024x768. I do have some 4000 x 3000 renders which took a LOT longer obviously.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users