|
|
//For Matt.
//example of what you want?
#include "colors.inc" //so we can use color names rather than rgb values.
global_settings{
ambient_light 0 //set global ambiant value to 0. Black should be
black.
}
#declare antenna_location = <0,0,0>; //sets the location of the antenna.
camera{
fisheye angle 360 //360 so all is visible.
location antenna_location //location of camera
look_at antenna_location.y - 1 //subtract 1 from antenna_location's y
//component. Point camera towards that.
}
light_source{
antenna_location, //location
White*50 //color, red,green,blue. Using something high so it's
//white or black. Use lower (like 2 or 3) if
antialiasing.
}
sphere{
antenna_location, //location
10 //radius. make bigger than objects of course.
pigment{White}
}
//put the objects here
//picked simple objects for example. Could use anything (mesh, whatever).
//don't need pigments on them since they are block or no block.
box{
<1,1,1>, //first corner
<2,2,2> //secord corner
no_image //make object invisible to camera, but not light source.
}
box{
<-1,-1,-1>, //first corner
<-2,-5,-3> //secord corner
no_image //make object invisible to camera, but not light source.
}
cylinder{
<-8,0,0>,<8,0,0>,.25
translate y*2
no_image
}
union{
torus{
6,.5
no_image
}
torus{
3,.5
no_image
}
translate y*-2
}
Post a reply to this message
Attachments:
Download 'formatt.png' (5 KB)
Preview of image 'formatt.png'
|
|