To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 1552
1551  |  1553
Subject: 
Re: Teardrops
Newsgroups: 
lugnet.cad.ray
Date: 
Thu, 14 Nov 2002 15:16:17 GMT
Viewed: 
858 times
  
In lugnet.cad.ray, Bram Lambrecht writes:
In lugnet.cad.ray, Dave Schuler writes:
How the heck do I make good teardrop shapes in POV-Ray?  I've tried with all
manner of paired half-spheres, but I can't get the right "pinchiness" on the
narrow end.  I've also tried experimenting with splines and SOR formations,
but I can't generate the proper curve for the surface!

Try creating a lathe object using a quadratic or cubic spline.
http://www.povray.org/documentation/view/48/

  I tried messing around with lathe objects, but I was having trouble
approximating the character of the curve.  Orion emailed me a pointer to the
Glob_5 shape in one of the POV-Ray .inc files, and that was quite a help.  I
played with the vertex sequence, but my liberal arts brain turns to mush
when dealing with fifth order equations.  Still, he got me thinking...
  Building on Tore's suggestion, I hacked together a servicable shape from a
simple half-ellipse joined to a tweaked half-ellipse.  I plotted a dozen or
so points and strung them into a surface of rotation; is a quadratic or
cubic spline superior to an SOR for this kind of thing?
  Thanks to everyone for the suggestions.  If I'd known back in high school
where my hobby would take me, I'd have stayed awake in math class!

     Dave!



Message has 1 Reply:
  Re: Teardrops
 
(...) I gave this a shot... I pretty familiar with bezier curves from using them in CorelDraw, so I used a bezier_spline. Basically, for every segment you want, you create 4 points. The first and last points are the endpoints of the segment, and the (...) (22 years ago, 14-Nov-02, to lugnet.cad.ray)

Message is in Reply To:
  Re: Teardrops
 
(...) Try creating a lathe object using a quadratic or cubic spline. (URL) Lambrecht bram@cwru.edu www.bldesign.org (22 years ago, 14-Nov-02, to lugnet.cad.ray)

6 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR