POV-Ray : Newsgroups : povray.object-collection : 3D Loop : Re: 3D Loop Server Time
19 Apr 2024 07:15:00 EDT (-0400)
  Re: 3D Loop  
From: LanuHum
Date: 19 May 2015 13:10:00
Message: <web.555b6e08d258875a7a3e03fe0@news.povray.org>
Lars Rohwedder <rok### [at] gmxde> wrote:
> Am 15.05.2015 um 20:18 schrieb LanuHum:
> > Example:
> >
> > // POV-Ray scene. It is created in the Blender-2.74
> >

>
> Nice one. But there are quite sharp curves at the transition between the
> straight and the curved parts of the loop (marked read on the attached
> image)
>
> >
> >   right <-1.7777777777777777, 0, 0>
> >   up <0, 1, 0>
>
> Oh, when will 16:9 aspect ratio will be the default in Povray? ;-)
>
> L.

#version 3.7;

global_settings {
}
background {rgbt<0.00971, 0.271, 0.985, 0>}

#declare Default_texture = pigment {rgb 0.8}

#declare data_Torus_Knot_001_orig =
union {
    sphere_sweep { cubic_spline 83,
        <0.1889,-3.04,-0.7471>,0.565,
        <-0.1152,-2.87,-0.842>,0.565,
        <-0.3964,-2.646,-0.8663>,0.565,
        <-0.6436,-2.379,-0.8232>,0.565,
        <-0.8529,-2.076,-0.7224>,0.565,
        <-1.026,-1.743,-0.5749>,0.565,
        <-1.164,-1.381,-0.3898>,0.565,
        <-1.267,-0.9939,-0.1751>,0.565,
        <-1.332,-0.5868,0.06163>,0.565,
        <-1.353,-0.1668,0.3122>,0.565,
        <-1.326,0.2574,0.5671>,0.565,
        <-1.246,0.6765,0.8154>,0.565,
        <-1.11,1.083,1.045>,0.565,
        <-0.9191,1.468,1.241>,0.565,
        <-0.6758,1.828,1.387>,0.565,
        <-0.3872,2.154,1.47>,0.565,
        <-0.06428,2.436,1.479>,0.565,
        <0.2778,2.662,1.413>,0.565,
        <0.6228,2.823,1.277>,0.565,
        <0.9578,2.916,1.086>,0.565,
        <1.274,2.943,0.854>,0.565,
        <1.566,2.907,0.5949>,0.565,
        <1.83,2.812,0.3217>,0.565,
        <2.06,2.661,0.04721>,0.565,
        <2.253,2.456,-0.2153>,0.565,
        <2.402,2.202,-0.4518>,0.565,
        <2.502,1.903,-0.6472>,0.565,
        <2.546,1.569,-0.7864>,0.565,
        <2.532,1.217,-0.858>,0.565,
        <2.46,0.8624,-0.859>,0.565,
        <2.335,0.5193,-0.7955>,0.565,
        <2.162,0.1922,-0.6779>,0.565,
        <1.945,-0.1188,-0.5169>,0.565,
        <1.687,-0.4137,-0.3212>,0.565,
        <1.391,-0.6896,-0.09828>,0.565,
        <1.06,-0.9399,0.1441>,0.565,
        <0.6969,-1.156,0.3972>,0.565,
        <0.3079,-1.329,0.6512>,0.565,
        <-0.1013,-1.452,0.8947>,0.565,
        <-0.5249,-1.518,1.114>,0.565,
        <-0.9566,-1.526,1.296>,0.565,
        <-1.389,-1.476,1.423>,0.565,
        <-1.81,-1.372,1.482>,0.565,
        <-2.205,-1.217,1.465>,0.565,
        <-2.554,-1.021,1.374>,0.565,
        <-2.846,-0.7931,1.219>,0.565,
        <-3.072,-0.5433,1.013>,0.565,
        <-3.231,-0.2789,0.77>,0.565,
        <-3.325,-0.005833,0.5048>,0.565,
        <-3.352,0.2704,0.2297>,0.565,
        <-3.315,0.5444,-0.0423>,0.565,
        <-3.212,0.8102,-0.2978>,0.565,
        <-3.045,1.061,-0.5223>,0.565,
        <-2.816,1.288,-0.7005>,0.565,
        <-2.532,1.48,-0.8181>,0.565,
        <-2.208,1.628,-0.8661>,0.565,
        <-1.858,1.726,-0.8446>,0.565,
        <-1.495,1.772,-0.7617>,0.565,
        <-1.122,1.77,-0.6286>,0.565,
        <-0.7421,1.723,-0.4552>,0.565,
        <-0.3564,1.633,-0.2495>,0.565,
        <0.02999,1.501,-0.01925>,0.565,
        <0.4091,1.324,0.2277>,0.565,
        <0.7709,1.103,0.4823>,0.565,
        <1.105,0.8383,0.7341>,0.565,
        <1.403,0.5314,0.9713>,0.565,
        <1.657,0.1851,1.18>,0.565,
        <1.863,-0.1956,1.345>,0.565,
        <2.019,-0.6024,1.45>,0.565,
        <2.12,-1.022,1.485>,0.565,
        <2.164,-1.437,1.443>,0.565,
        <2.15,-1.828,1.329>,0.565,
        <2.081,-2.18,1.155>,0.565,
        <1.962,-2.485,0.9351>,0.565,
        <1.798,-2.737,0.6835>,0.565,
        <1.596,-2.937,0.4135>,0.565,
        <1.36,-3.08,0.138>,0.565,
        <1.095,-3.165,-0.13>,0.565,
        <0.8061,-3.188,-0.3768>,0.565,
        <0.5008,-3.147,-0.5876>,0.565,
        <0.1889,-3.04,-0.7471>,0.565,
        <-0.1152,-2.87,-0.842>,0.565,
        <-0.3964,-2.646,-0.8663>,0.565
    }
    texture {Default_texture}
}
object { data_Torus_Knot_001_orig
matrix <0.877638, -0.479323, 0.000000,  0.000000, -0.000000, -1.000000,
0.479323, 0.877638, -0.000000,  0.000000, 0.000000, 0.000000>}
light_source {
    <4.08,5.9,-1.01>
    color rgb<1, 1, 1>
}

camera {
    location  <0, 0, 0>
    look_at  <0, 0, -1>
    right <-1.7777777777777777, 0, 0>
    up <0, 1, 0>
    angle  49.134343
    rotate  <-27.098163, 46.688390, -0.903519>
    translate <7.481132, 5.343666, 6.507640>
}


Post a reply to this message

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