POV-Ray : Newsgroups : povray.advanced-users : Question3. Simple Raytracer : Question3. Simple Raytracer Server Time
28 Jul 2024 18:15:11 EDT (-0400)
  Question3. Simple Raytracer  
From: Gena
Date: 20 Apr 2004 00:17:38
Message: <4084a462@news.povray.org>
And finally I'm going to implement very simple Java raytracer in
POV-Tree. The purpose of such raytracer will be to prepare tree
image with alpha channel (png...) which could be used as
image map. So that even people who don't use POV-Ray could
generate such images from POV-Tree.

The only object which could be supported in such raytracer could
be UV mapped triangles (with transparency (tree's leaves).

Right now when POV-Tree exports POV-Ray mesh file it doesn't
keep all generated triangles in memory because with very detailed
tree it's very easy to get 'Out of Memory' exception. Instead
POV-Tree generates triangles on the fly and saves to the file only
small amount of triangles going from one tree element to another.

Is it possible to do the same for raytracing? Is it possible
to avoid generation of all triangles and keeping them in memory?
Is it possible to generate on the fly only triangles which are
necessary for current rendering line? The first problem I see here
are shadows. Has anybody tried to do smth. like this? Maybe
somebody knows any resources about this subject?

Here are some simple Java raytracers which I found on the
Internet:
http://tigrazone.narod.ru/rtjar.html
http://www-scf.usc.edu/~csci480b/demo5/kneedy/RayTrace.html
http://www.hut.fi/~msell/raytracer/raytracer.html
http://www.cs.nyu.edu/ms_students/dagl7643/spheres/

Thanks in advance!

Gena.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.