POV-Ray : Newsgroups : povray.object-collection : 3D Loop : Re: 3D Loop Server Time
23 Jun 2021 00:53:49 EDT (-0400)
  Re: 3D Loop  
From: LanuHum
Date: 15 May 2015 14:20:00
Message: <web.5556388bd258875a7a3e03fe0@news.povray.org>
Example:

// POV-Ray scene. It is created in the Blender-2.74

#version 3.7;

global_settings {
}
background {rgbt<0.05, 0.05, 0.05, 0>}

#declare Default_texture = pigment {rgb 0.8}

#declare data_Torus_Knot_orig =
union {
    sphere_sweep { cubic_spline 102,
        <2.958,-0.3775,-0.1893>,0.343,
        <3,0,0>,0.343,
        <2.958,0.3775,0.1893>,0.343,
        <2.835,0.7355,0.3717>,0.343,
        <2.638,1.056,0.5406>,0.343,
        <2.38,1.324,0.6901>,0.343,
        <2.078,1.53,0.8146>,0.343,
        <1.748,1.667,0.9096>,0.343,
        <1.41,1.735,0.9718>,0.343,
        <1.08,1.74,0.9989>,0.343,
        <0.7717,1.69,0.9898>,0.343,
        <0.4967,1.597,0.945>,0.343,
        <0.2605,1.477,0.866>,0.343,
        <0.064,1.344,0.7557>,0.343,
        <-0.09621,1.21,0.6182>,0.343,
        <-0.2276,1.088,0.4582>,0.343,
        <-0.3403,0.9833,0.2817>,0.343,
        <-0.4461,0.9001,0.09506>,0.343,
        <-0.5564,0.8363,-0.09506>,0.343,
        <-0.6814,0.7864,-0.2817>,0.343,
        <-0.8281,0.7409,-0.4582>,0.343,
        <-0.9999,0.6884,-0.6182>,0.343,
        <-1.196,0.6164,-0.7557>,0.343,
        <-1.41,0.513,-0.866>,0.343,
        <-1.632,0.3686,-0.945>,0.343,
        <-1.849,0.1766,-0.9898>,0.343,
        <-2.047,-0.06497,-0.9989>,0.343,
        <-2.208,-0.3533,-0.9718>,0.343,
        <-2.318,-0.6805,-0.9096>,0.343,
        <-2.364,-1.034,-0.8146>,0.343,
        <-2.337,-1.399,-0.6901>,0.343,
        <-2.233,-1.756,-0.5406>,0.343,
        <-2.054,-2.087,-0.3717>,0.343,
        <-1.806,-2.373,-0.1893>,0.343,
        <-1.5,-2.598,6.432e-16>,0.343,
        <-1.152,-2.75,0.1893>,0.343,
        <-0.7803,-2.822,0.3717>,0.343,
        <-0.4044,-2.812,0.5406>,0.343,
        <-0.04321,-2.723,0.6901>,0.343,
        <0.286,-2.564,0.8146>,0.343,
        <0.5695,-2.347,0.9096>,0.343,
        <0.7979,-2.089,0.9718>,0.343,
        <0.967,-1.805,0.9989>,0.343,
        <1.078,-1.513,0.9898>,0.343,
        <1.135,-1.229,0.945>,0.343,
        <1.149,-0.9642,0.866>,0.343,
        <1.132,-0.7272,0.7557>,0.343,
        <1.096,-0.5217,0.6182>,0.343,
        <1.056,-0.3467,0.4582>,0.343,
        <1.022,-0.1969,0.2817>,0.343,
        <1.003,-0.06371,0.09506>,0.343,
        <1.003,0.06371,-0.09506>,0.343,
        <1.022,0.1969,-0.2817>,0.343,
        <1.056,0.3467,-0.4582>,0.343,
        <1.096,0.5217,-0.6182>,0.343,
        <1.132,0.7272,-0.7557>,0.343,
        <1.149,0.9642,-0.866>,0.343,
        <1.135,1.229,-0.945>,0.343,
        <1.078,1.513,-0.9898>,0.343,
        <0.967,1.805,-0.9989>,0.343,
        <0.7979,2.089,-0.9718>,0.343,
        <0.5695,2.347,-0.9096>,0.343,
        <0.286,2.564,-0.8146>,0.343,
        <-0.04321,2.723,-0.6901>,0.343,
        <-0.4044,2.812,-0.5406>,0.343,
        <-0.7803,2.822,-0.3717>,0.343,
        <-1.152,2.75,-0.1893>,0.343,
        <-1.5,2.598,1.286e-15>,0.343,
        <-1.806,2.373,0.1893>,0.343,
        <-2.054,2.087,0.3717>,0.343,
        <-2.233,1.756,0.5406>,0.343,
        <-2.337,1.399,0.6901>,0.343,
        <-2.364,1.034,0.8146>,0.343,
        <-2.318,0.6805,0.9096>,0.343,
        <-2.208,0.3533,0.9718>,0.343,
        <-2.047,0.06497,0.9989>,0.343,
        <-1.849,-0.1766,0.9898>,0.343,
        <-1.632,-0.3686,0.945>,0.343,
        <-1.41,-0.513,0.866>,0.343,
        <-1.196,-0.6164,0.7557>,0.343,
        <-0.9999,-0.6884,0.6182>,0.343,
        <-0.8281,-0.7409,0.4582>,0.343,
        <-0.6814,-0.7864,0.2817>,0.343,
        <-0.5564,-0.8363,0.09506>,0.343,
        <-0.4461,-0.9001,-0.09506>,0.343,
        <-0.3403,-0.9833,-0.2817>,0.343,
        <-0.2276,-1.088,-0.4582>,0.343,
        <-0.09621,-1.21,-0.6182>,0.343,
        <0.064,-1.344,-0.7557>,0.343,
        <0.2605,-1.477,-0.866>,0.343,
        <0.4967,-1.597,-0.945>,0.343,
        <0.7717,-1.69,-0.9898>,0.343,
        <1.08,-1.74,-0.9989>,0.343,
        <1.41,-1.735,-0.9718>,0.343,
        <1.748,-1.667,-0.9096>,0.343,
        <2.078,-1.53,-0.8146>,0.343,
        <2.38,-1.324,-0.6901>,0.343,
        <2.638,-1.056,-0.5406>,0.343,
        <2.835,-0.7355,-0.3717>,0.343,
        <2.958,-0.3775,-0.1893>,0.343,
        <3,0,0>,0.343,
        <2.958,0.3775,0.1893>,0.343
    }
    texture {Default_texture}
}
object { data_Torus_Knot_orig
matrix <0.011995, -0.831861, 0.000000,  0.000000, -0.000000, -0.831948,
0.831861, 0.011995, -0.000000,  0.000000, 0.000000, 0.000000>}

light_source {
    <4.08,5.9,5.1>
    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-2021 Persistence of Vision Raytracer Pty. Ltd.