|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi!
Povray-3.7/scenes/templates/Meshes_by_meshmaker_inc/D1_p_umbilic_1.txt:
object {
#if (Set=1)
Parametric(
function(u,v){sin((u/3)-(2*v)) + 2*sin((u/3)+v)}
function(u,v){cos(u)*((7+cos((u/3)-(2*v))+(2*cos((u/3)+v))))}
function(u,v){sin(u)*((7+cos((u/3)-(2*v))+(2*cos((u/3)+v))))}
<-pi, -pi>, < pi, pi>,
50,50,""
)
#end
If I take these functions for parametric, the render goes, but the object
doesn't appear.
#version 3.7;
#include "functions.inc"
global_settings {
assumed_gamma 1.000000
}
sky_sphere {
pigment {rgb<0.050, 0.050, 0.050>}
}
#declare Default_texture = texture{pigment {rgb 0.8}}
#declare data_Parametric_shape_ob = parametric {
function {sin((u/3)-(2*v)) + 2*sin((u/3)+v)}
function {cos(u)*((7+cos((u/3)-(2*v))+(2*cos((u/3)+v))))}
function {sin(u)*((7+cos((u/3)-(2*v))+(2*cos((u/3)+v))))}
<-pi, -pi>, < pi, pi>
contained_by { sphere{0, 1} }
//contained_by { box{-1, 1} }
max_gradient 50
accuracy 0.0001
precompute 10 x,y,z
}
object {data_Parametric_shape_ob
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>
}
light_source {
<5.07,5.58,4.28>
color rgb<1, 1, 1>
fade_distance 25.0000000000
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 <-27.098163, 46.688390, -0.903519>
translate <7.481132, 5.343666, 6.507640>
}
Where my error?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Another joins this problem:
#version 3.7;
#include "functions.inc"
global_settings {
assumed_gamma 1.000000
}
sky_sphere {
pigment {rgb<0.050, 0.050, 0.050>}
}
#declare Default_texture = texture{pigment {rgb 0.8}}
#declare data_Parametric_shape_ob = parametric {
function { cos(v)*(1+cos(u))*sin(v/8) }
function { sin(u)*sin(v/8)+cos(v/8)*1.5 }
function { sin(v)*(1+cos(u))*sin(v/8) }
<0.0000,0.0000>, <6.2800,12.5700>
contained_by { box{-1, 1} }
max_gradient 5.000000
accuracy 0.001000
precompute 10 x,y,z
}
object {data_Parametric_shape_ob
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>
}
light_source {
<5.07,5.58,4.28>
color rgb<1, 1, 1>
fade_distance 25.0000000000
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 <-27.098163, 46.688390, -0.903519>
translate <7.481132, 5.343666, 6.507640>
}
In the Blender it is created as a cockleshell.
Look Parametric problem: image
http://news.povray.org/povray.binaries.images/message/%3Cweb.55d8a721943387b7a3e03fe0%40news.povray.org%3E/#%3Cweb.55d8
a721943387b7a3e03fe0%40news.povray.org%3E
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|