POV-Ray : Newsgroups : povray.binaries.images : Triangles and heightfields (also very early WIP) : Triangles and heightfields (also very early WIP) Server Time
14 Nov 2024 14:18:51 EST (-0500)
  Triangles and heightfields (also very early WIP)  
From: andrel
Date: 25 Jan 2004 11:32:01
Message: <4013EF2B.9010303@hotmail.com>
Inspired by Rafal I decided to combine some imagemaps and heightfieds.
What I did is that I took a picture of a butterfly, separated it from
the background, approximated the contour with line segments and filled
up the interior with triangles. Then I generated a heightfield with
an approximately round body and slightly rotated wings. The heightfield
was used as an offset for my triangles and I used ofcourse UV mapping
for the texture. Attached are an image I used the butterfly in and
an image showing the triangular mesh (828 triangles because I wanted
a reasonably defined border and also small triangles for the body
because of the curvature there).
At least two things are still wrong. The image looks overexposed and
in the triangular mesh one of the edges seems missing.

Comments or remarks?

	Andrel


Post a reply to this message


Attachments:
Download 'bloemrad.jpg' (50 KB) Download 'vlinder_tri.jpg' (83 KB)

Preview of image 'bloemrad.jpg'
bloemrad.jpg

Preview of image 'vlinder_tri.jpg'
vlinder_tri.jpg


 

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