POV-Ray : Newsgroups : povray.tools.general : Looking for a interactive viewer : Re: Looking for a interactive viewer Server Time
27 Oct 2021 00:37:29 EDT (-0400)
  Re: Looking for a interactive viewer  
From: lelama
Date: 22 Sep 2016 17:40:00
Message: <web.57e44f094ca237677a63dc9f0@news.povray.org>
"Mr" <nomail@nomail> wrote:

>
> POV importer is new.  could you share the pov file for some bug fixing attempt?

I have tested several more examples today. Unfortunatly, none of them worked.
Sometimes I see something, but this is very different from the povray render.
Here is one simple example below. A few tubes with bearings.
I see one tube,  but without colors and without bearings.


#include "colors.inc"
#include "metals.inc"
background {Blue}

camera { perspective
location <0.0,-4.0,2.0> right <-1500.0,-0.0,-0.0> up <0.0,800.0,0.0> angle
9.16476547932 sky <0.0,0.0,1.0> look_at <0.0,0.0,0.076> }

light_source {<0.0,-4.0,12.0> color White }




//Unnamed Object
cylinder{<0.0,0.0,0.0>,<0.0,0.0,0.1>,0.0125  material{texture{ pigment {color
Red} finish{metallic phong 1} }}
 matrix <1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0>}

union {difference {
//Unnamed Object
cylinder{<0.0,0.0,0.0>,<0.0,0.0,0.01>,0.0135  material{texture{ pigment {color
Silver} finish{metallic phong 1} }}
 matrix <1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 ,
0.071>}
//Unnamed Object
quadric{<1.0,1.0,0.0>,<0.0,0.0,0.0>,<0.0,0.0,0.0>,-0.00015625matrix <1.0 , 0.0 ,
0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.071>} } difference {
//Unnamed Object
cylinder{<0.0,0.0,0.0>,<0.0,0.0,0.01>,0.0215  material{texture{ pigment {color
Green} finish{metallic phong 1} }}
 matrix <1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 ,
0.071>}
//Unnamed Object
quadric{<1.0,1.0,0.0>,<0.0,0.0,0.0>,<0.0,0.0,0.0>,-0.00018225matrix <1.0 , 0.0 ,
0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.071>} }  }

union {difference {
//Unnamed Object
cylinder{<0.0,0.0,0.0>,<0.0,0.0,0.01>,0.0135  material{texture{ pigment {color
Silver} finish{metallic phong 1} }}
 matrix <1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 ,
0.02>}
//Unnamed Object
quadric{<1.0,1.0,0.0>,<0.0,0.0,0.0>,<0.0,0.0,0.0>,-0.00015625matrix <1.0 , 0.0 ,
0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.02>} } difference {
//Unnamed Object
cylinder{<0.0,0.0,0.0>,<0.0,0.0,0.01>,0.0215  material{texture{ pigment {color
Green} finish{metallic phong 1} }}
 matrix <1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 ,
0.02>}
//Unnamed Object
quadric{<1.0,1.0,0.0>,<0.0,0.0,0.0>,<0.0,0.0,0.0>,-0.00018225matrix <1.0 , 0.0 ,
0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.02>} }  }


//Unnamed Object
cylinder{<0.0,0.0,0.0>,<0.0,0.0,0.06>,0.023  material{texture{ pigment {color
Bronze} finish{metallic phong 1} }}
 matrix <1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.052 , 0.0 ,
0.03>}


//Unnamed Object
cylinder{<0.0,0.0,0.0>,<0.0,0.0,0.06>,0.023  material{texture{ pigment {color
Bronze} finish{metallic phong 1} }}
 matrix <1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.152 , 0.0 ,
0.03>}

union {difference {
//Unnamed Object
cylinder{<0.0,0.0,0.0>,<0.0,0.0,0.01>,0.0135  material{texture{ pigment {color
Silver} finish{metallic phong 1} }}
 matrix <1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.152 , 0.0 ,
0.08>}
//Unnamed Object
quadric{<1.0,1.0,0.0>,<0.0,0.0,0.0>,<0.0,0.0,0.0>,-0.00015625matrix <1.0 , 0.0 ,
0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.152 , 0.0 , 0.08>} } difference {
//Unnamed Object
cylinder{<0.0,0.0,0.0>,<0.0,0.0,0.01>,0.0215  material{texture{ pigment {color
Green} finish{metallic phong 1} }}
 matrix <1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.152 , 0.0 ,
0.08>}
//Unnamed Object
quadric{<1.0,1.0,0.0>,<0.0,0.0,0.0>,<0.0,0.0,0.0>,-0.00018225matrix <1.0 , 0.0 ,
0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.152 , 0.0 , 0.08>} }  }


//Unnamed Object
cylinder{<0.0,0.0,0.0>,<0.0,0.0,0.1>,0.0125  material{texture{ pigment {color
Red} finish{metallic phong 1} }}
 matrix <1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.152 , 0.0 ,
0.009>}

union {difference {
//Unnamed Object
cylinder{<0.0,0.0,0.0>,<0.0,0.0,0.01>,0.0135  material{texture{ pigment {color
Silver} finish{metallic phong 1} }}
 matrix <1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.152 , 0.0 ,
0.029>}
//Unnamed Object
quadric{<1.0,1.0,0.0>,<0.0,0.0,0.0>,<0.0,0.0,0.0>,-0.00015625matrix <1.0 , 0.0 ,
0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.152 , 0.0 , 0.029>} } difference {
//Unnamed Object
cylinder{<0.0,0.0,0.0>,<0.0,0.0,0.01>,0.0215  material{texture{ pigment {color
Green} finish{metallic phong 1} }}
 matrix <1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.152 , 0.0 ,
0.029>}
//Unnamed Object
quadric{<1.0,1.0,0.0>,<0.0,0.0,0.0>,<0.0,0.0,0.0>,-0.00018225matrix <1.0 , 0.0 ,
0.0 , 0.0 , 1.0 , 0.0 , 0.0 , 0.0 , 1.0 , 0.152 , 0.0 , 0.029>} }  }


Post a reply to this message

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