POV-Ray : Newsgroups : povray.general : Help with plotting a parametric equation : Re: Help with plotting a parametric equation Server Time
31 Jul 2024 02:25:40 EDT (-0400)
  Re: Help with plotting a parametric equation  
From: SharkD
Date: 16 Jan 2008 13:45:00
Message: <web.478e4fc03284050c368884fc0@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> "Tim Attwood" <tim### [at] comcastnet> wrote:
> > The z coordinates are just sqrt(1 - pow(new_var, 2))...
> > as stated by the parametric you linked, but that is just a
> > single cone, not a double cone.
>
> I've replaced the z coordinate of the parametric equation with sqrt(1 -
> pow(new_var, 2)) in place of new_var as you said, and I can't perceive an
> improvement. Maybe I'm misunderstanding the instructions you gave me. Would you
> mind posting a fixed version of the code, instead? Thank you very much.

By the way, here's my camera code. Maybe that is the problem?

camera
{
 #local CameraDistance = 10;
 #local ScreenArea = 5;
 #local AspectRatio = image_width/image_height;
// orthographic
 location -z*CameraDistance
 direction z*CameraDistance
 right     x*ScreenArea*AspectRatio
 up        y*ScreenArea
// rotate x*asind(tand(30))
// rotate y*225
}


Post a reply to this message

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