2013-08-11 10 views
0

POV - 레이 :쌍곡 나는 정확히 같은 hyperboloids (단지 축 없음) 독일 위키 피 디아 페이지처럼 그리려

http://de.wikipedia.org/wiki/Hyperboloid

예를 들어, 나는 두 가지의 쌍곡을 그리는 방법을 알고 시트 :

#include "colors.inc"   

background {White} 
camera { orthographic 
    location <0, 35, -200> 
    up <0.0, 25.0, 0.0> 
    right <33, 0.0, 0.0> 
    look_at <0, 0, 0> 
} 

light_source { <-10, 20, -25> color White }  

light_source { <100, 50, -200> color White} 


intersection { 
    quadric { 
    <1, -1, 1> <0, 0, 0><0, 0, 0>(1)  

    texture { 

     pigment { color rgb<0,0,1>} 
    } 

    }  

    object { box {<-15, -5, -5>, <15, 5, 5> texture{ pigment { Clear } } } } 
    bounded_by { box {<-15, -15, -5>, <15, 15, 5> } } 


    no_shadow 
} 

그러나 나는 위키 페이지처럼 보이길 원합니다. 누구든지 이걸 도와 줄 수 있니?

답변

0

이 의미가 있습니까?

Render of above code

// render with +UA 
#include "colors.inc"   

//background {White} 
camera { orthographic 
    location <0, 10, -30> 
    look_at <0, 0, 0> 
} 

light_source { <-10, 20, -25> color White }  

//light_source { <100, 50, -200> color White} 


#declare my_hyperboloid=intersection { 
    quadric { 
    <1, -1, 1> <0, 0, 0><0, 0, 0>(12)  
    }  
    object { box {<-20, -10, -10>, <20, 10, 10> texture{ pigment { Clear } } } } 
    bounded_by { box {<-20, -20, -10>, <20, 20, 10> } } 
    no_shadow 
} 

object{my_hyperboloid scale <1,0.8,1> texture{pigment{color rgbt<0.44, 0.87, 0.87,0.1>}}} 

나는 좀 더 자세한 답변을 위해 POV - 레이 뉴스 그룹 ( http://news.povray.org/)에 문의하는 것이 좋습니다.