POV-Ray : Newsgroups : povray.advanced-users : Right hyperbolic cylinder : Re: Right hyperbolic cylinder Server Time
14 May 2024 03:10:54 EDT (-0400)
  Re: Right hyperbolic cylinder  
From: bakom
Date: 20 Jul 2015 00:05:00
Message: <web.55ac72139f26fdd3880b0aeb0@news.povray.org>
> > http://img.ctrlv.in/img/15/07/16/55a78f6b43b96.png
> >
> > I have three points, apex-to-asymptotic distance for making
> > hyperbola, rectangular half-width. I was trying to make it by
> > taking help of non-linear functions but in it z axis is not given
> >
> > function { pow(x,2) + y }
>
> That's look like a parabolic, not hyperbolic.

Thanks for correcting me.


> When the z axis is not given, it extend to infinity on z axis. A
> contained_by { box ... } might help to limit the range of z's value.
> >
> That's a convoluted way to reference Povray documentation:
> > http://www.povray.org/documentation/view/3.6.1/73/
>
>
>
> > Is there any macro which can be used to make hyperbolic cylinder.
> >
>
> as Wolfram says:
> > http://mathworld.wolfram.com/Hyperbola.html
>
> the function might be something alike:
> function{ pow(x,2)/a2 - pow(y,2)/b2 - 1 }
>
> a2 is the square of half distance between both extrema
> b2 is c2 - a2, with c2 being the square of half distance between
> "focal" points (c2 > a2).

I worked on the above, but I'm unable to get what I want till now. As I
mentioned I have
three points, apex-to-asymptotic distance for making
hyperbola, rectangular half-width.
So I'm trying to make my own macro. So is there any example for it?

--
Thanks
Gurwinder Singh Bains


Post a reply to this message

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