POV-Ray : Newsgroups : povray.binaries.images : Lathe example. Spline point order flipping normals. Server Time
25 Apr 2024 05:40:13 EDT (-0400)
  Lathe example. Spline point order flipping normals. (Message 1 to 1 of 1)  
From: William F Pokorny
Subject: Lathe example. Spline point order flipping normals.
Date: 25 May 2016 10:31:50
Message: <5745b756$1@news.povray.org>
We are updating the lathe and prism documentation to reflect how the 
point order used in spline specifications can be used to flip the inside 
and outside of these shapes. Further, how bezier splines in lathes can 
have multiple loops/sets unlike other spline types.

The attached image uses both these techniques. Namely, there is a lathe 
with 5 bezier point loops - some in xy clockwise order and some 
reversed. The lathe is cut with a prism and the resulting intersection 
given both inside and outside textures. The bezier spline loop ordering 
controls where each of the two textures get used.

(Textures themselves come form Norbert's materials collection)

Bill P.


Post a reply to this message


Attachments:
Download 'lathebeziermultloopsexample.jpg' (87 KB)

Preview of image 'lathebeziermultloopsexample.jpg'
lathebeziermultloopsexample.jpg


 

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