I, the copyright holder of this work, hereby publish it under the following licenses:
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue
You may select the license of your choice.
Source:
A quem interessar, o código para geração das três imagens relativas ao artigo pt:Cónicas é o seguinte (deve ser renderizado pelo Polyray, de Alexander Enzman).
viewpoint
{
from <-30,18,47>
at <0,6,-1>
angle 26
resolution 300,300
}
background <1,1,1>
light white,<0,10,-5>
spot_light white,<-70,20,0>,<-20,10,0>,64,46,40
// Cone semi-transparente que serve de base para ilustrar as secções.
define conecon object
{
cone <0,0,0>,9, <0,16,0>,0
texture
{
surface
{
color <0.6,0.6,0.6>
transmission .7,1
ambient .7
diffuse .4
brilliance .6
}
}
}
// Elipse
define elips1 object
{
object { box <-80,1,-80>,<80,1.1,80> translate <0,4,0> rotate <20,0,0> }
* object { conecon }
texture
{
surface
{
color <0.5,0.8,0.5>
ambient .4
diffuse .2
}
}
}
//Parábola - observar que o ângulo do triângulo que gera o cone
// foi arredondado para 74 graus
define parabol1 object
{
object { box <-80,1,-80>,<80,1.1,80> rotate <0,0,74> translate <1,0,0> }
* object { conecon }
texture
{
surface
{
color <0.5,0.8,0.5>
ambient .4
diffuse .2
}
}
}
//Hipérbole
define hiperb1 object
{
object { box <-80,1,-80>,<80,1.1,80> rotate <0,0,90> translate <-2,0,0> }
* object { conecon }
texture
{
surface
{
color <0.5,0.8,0.5>
ambient .4
diffuse .2
}
}
}
// Insira aqui os objectos que vão compor a cena.
Captions
Add a one-line explanation of what this file represents