POV-Ray : Newsgroups : povray.binaries.images : Le Forgeron: experiments : Re: Le Forgeron: experiments Server Time
6 Oct 2024 07:18:14 EDT (-0400)
  Re: Le Forgeron: experiments  
From: LanuHum
Date: 4 Sep 2016 09:15:00
Message: <web.57cc1d431d798e7f7a3e03fe0@news.povray.org>
Not all objects can I simulate in Blender.
Tesselation - this is what you need.
Today I wrote gts import. Later, I will write an automatic converter.
Most of all I'm interested in the object blob.
Tessel and tesselate give a bad result. Others get well.


            items=[("bourke", "bourke", ""),
                   ("cristal", "cristal", ""),
                   ("cubicle", "cubicle", ""),
                   ("heller", "heller", ""),
                   ("tessel", "tessel", ""),
                   ("tesselate", "tesselate", "")],


#version 3.7;

#include "functions.inc"
global_settings {
    assumed_gamma 1.000000
    max_trace_level 3
    charset utf8
}
sky_sphere {
    pigment {rgb<0.051, 0.051, 0.051>}
}

#declare Default_texture = texture{pigment {rgb 0.8}}

#declare data_Blob_ob = blob {
    threshold 0.6
    sphere { <0,0,0>, 1.702, 2 texture {Default_texture}
    matrix <1.000000, 0.000000, 0.000000,  0.000000, -0.000000, -1.000000,
0.000000, 1.000000, -0.000000,  0.000000, 0.000000, 0.000000>
    }
    sphere { <0,0,0>, 1.702, 2 texture {Default_texture}
    matrix <1.000000, 0.000000, 0.000000,  0.000000, -0.000000, -1.000000,
0.000000, 1.000000, -0.000000,  0.905406, 0.181065, -1.091782>
    }
}
#declare Test = tesselate {original data_Blob_ob accuracy 50 texture{pigment
{rgb 0.8}}}
//object{Test}
gts_save { "/home/leonid/test.gts",Test}
light_source {
    <4.08,5.9,-1.01>
    color rgb<1, 1, 1>
    fade_distance 29.9999828339
    fade_power 1
}
camera {
    perspective
    location  <0,0,0>
    look_at  <0,0,-1>
    right <-1.7777777777777777, 0, 0>
    up <0, 1, 0>
    angle  49.134343
    rotate  <-26.440706, 46.691945, -0.000003>
    translate <7.481132, 5.343666, 6.507640>
}


Post a reply to this message


Attachments:
Download 'tesselation.jpg' (375 KB)

Preview of image 'tesselation.jpg'
tesselation.jpg


 

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