POV-Ray : Newsgroups : povray.binaries.images : Poor Man's Terragen : Poor Man's Terragen Server Time
2 Aug 2024 02:23:13 EDT (-0400)
  Poor Man's Terragen  
From: William Tracy
Date: 28 Dec 2007 22:58:48
Message: <4775c5f8@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Last quarter at school, I had to write a fractal terrain generator in
C++/OpenGL for an assignment.

This last week, I hacked on it to output to Pov. I now have a really
crummy random terrain generator with an OpenGL preview! :-)

The geometry is written as a Povray smooth mesh object. Even though the
program generates per-vertex colors, that information is thrown away
after the window is closed, and I color the terrain in Pov SDL.

I was getting ready to update the program to output mesh2's, but after
playing with some detail renders, I'm starting to wonder if I should
just go with bicubic patches. OTOH, I can easily just crank up the
polygon count of the terrain as needed. :-)

- --
William Tracy
afi### [at] gmailcom -- wtr### [at] calpolyedu

You know you've been raytracing too long when you have ever "Hard-Coded"
a bezier patch.
    -- Stephan Ahonen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHdcX2KrVIcTMekC8RAl5XAJ9uTd88/rMjbsvXkjQ8EUDVJ6MWcwCcD4IG
1u6f7oSKc7CPicqdhdFP4z8=
=DMk+
-----END PGP SIGNATURE-----


Post a reply to this message


Attachments:
Download 'render.jpg' (14 KB) Download 'screenshot.jpg' (22 KB) Download 'render.jpg.sig.dat' (1 KB) Download 'screenshot.jpg.sig.dat' (1 KB)

Preview of image 'render.jpg'
render.jpg

Preview of image 'screenshot.jpg'
screenshot.jpg

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