|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Have anyone else had any problems with quadratic spline?
The following code gives me what is going to be a chalice but when I
render the image everything gets 'striped'. The image seems to be
partially rendered.
Some of the problems disapear when I turn off the orthographic feature
of the camera.
I am using povray 3.1e compiled on a SGI O2 running IRIX 6.3
Any help would be appreciated.
Regards
/Johan
#include "colors.inc"
#include "textures.inc"
#include "shapes.inc"
camera {
location <0, 6.5, -30>
look_at <0, 6.5, 0>
orthographic
}
light_source {
<20, 10, -100>
color White
}
#declare chal =
lathe {
quadratic_spline
8,
<14, 11>, <8.5, 8.5>,
<6.5, 4.5>, <6, 0>, <5, -0.5>,
<3.5, 0>, <2, 0>, <1, 0>
}
object {
chal
pigment { color White }
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Johan Eriksson wrote:
> Any help would be appreciated.
>
> Regards
Add the sturm modifier and your problem will go away.
#declare chal =
lathe {
quadratic_spline
8,
<14, 11>, <8.5, 8.5>,
<6.5, 4.5>, <6, 0>, <5, -0.5>,
<3.5, 0>, <2, 0>, <1, 0>sturm
}
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ken wrote:
>
> Johan Eriksson wrote:
>
> > Any help would be appreciated.
> >
> > Regards
>
> Add the sturm modifier and your problem will go away.
>
> #declare chal =
> lathe {
> quadratic_spline
> 8,
> <14, 11>, <8.5, 8.5>,
> <6.5, 4.5>, <6, 0>, <5, -0.5>,
> <3.5, 0>, <2, 0>, <1, 0>sturm
> }
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net
Excellent!! Thank you very much.
Do you have any idea why sturm makes thing better (I have not read the
user guide that careful).
/Johan
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Johan Eriksson wrote:
> Excellent!! Thank you very much.
>
> Do you have any idea why sturm makes thing better (I have not read the
> user guide that careful).
>
> /Johan
The docs mention that for speed considerations some objects that use high
order math equations to solve them they use less than accurate methods to
find the solution. The sturmian root solver forces Pov to use a more accurate
method to find the solution and there are times you will see an improvement
in the objects appearance as a result.
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|