POV-Ray : Newsgroups : povray.advanced-users : Right hyperbolic cylinder : Re: Right hyperbolic cylinder Server Time
14 May 2024 11:35:38 EDT (-0400)
  Re: Right hyperbolic cylinder  
From: Le Forgeron
Date: 16 Jul 2015 13:54:45
Message: <55a7efe5$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Le 16/07/2015 13:06, bakom a écrit :
> Hello, I'm trying to make a Right hyperbolic cylinder as
> 
> 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.

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.



> 
> as given on page 
> www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact
=8&ved=0CCAQFjAAahUKEwid96qr9t7GAhVOBo4KHTCTBpE&u
>
> 
rl=http%3A%2F%2Fwww.povray.org%2Fdocumentation%2Fview%2F3.6.1%2F73%2F&ei
=6EGnVZ3jEc6MuASwppqICQ&usg=AFQjCNFkqWt6o07PYoG
> yV5c74ncDYlqxuA&sig2=ayxlZZLEt8y3oNClqasTIA&bvm=bv.97949915,d.c2E
> 
> 
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).

> 
> 
> 
> Thanks Gurwinder Singh Bains
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iJwEAQEIAAYFAlWn7+QACgkQhKAm8mTpkW2gswP/VSPtwG6TcB9B2KV0zgZZuk0C
WbaTpwbG7UM0/F7ci8BYlu9WXTGuMXlm4G9sE2V8HyJqIzUvqI43vthDkPUYmHva
/cFZd7tJnuKmNF7j7JvobfT3Of00PkDQv6wb/J8uP2DgrGrNEg/H8o0bi6LhZ+J6
tTfES3Olcoc49WT18Ms=
=Pi7f
-----END PGP SIGNATURE-----


Post a reply to this message

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