POV-Ray : Newsgroups : povray.binaries.images : Cloaking On : Re: Cloaking On Server Time
26 Jun 2024 07:05:09 EDT (-0400)
  Re: Cloaking On  
From: Melody
Date: 11 Nov 2019 17:40:01
Message: <web.5dc9e2cb4508bdf9da690110@news.povray.org>
"JimT" <nomail@nomail> wrote:
> I would very much like to hear the long story.

oh u like headaches then? once you get thinking, there's no stopping you and no
telling what you did, aside from the few comments you've made.

bezier perimeter and a top curve = half a walnut shell.
(just invert and y scaled for a bottom half)

evenly space points along these lines
calculate normals and write the mesh
define faces in quads and triangles and define indices
strip edges define union of surfaces .... blah blah

sweep_pnts_array(0.24,0.001,bezier_length(ship_prim)/(79+1)+.0005,ship_prim,0)
sweep_pnts_arrayxy(0.24,0.001,bezier_length(ship_top)/(39+1)+.0005,ship_top,1)
bezierPrismQ(0,0,1.2,1,-90,14,0,1)  //extrudHeight,,,,,slices,sub-edges,close
define number of edges and faces

ship.pov
#include "triangulation.inc"
#include "spheroid_dome.inc"
#include "bezier2.inc"

if you really want to play with it, I'll zip and post the files


Post a reply to this message


Attachments:
Download 'shipcurves.png' (605 KB)

Preview of image 'shipcurves.png'
shipcurves.png


 

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