POV-Ray : Newsgroups : povray.binaries.images : For Matt. Antenna Aperture Blockage Server Time
16 Nov 2024 06:18:05 EST (-0500)
  For Matt. Antenna Aperture Blockage (Message 1 to 1 of 1)  
From: brandon
Subject: For Matt. Antenna Aperture Blockage
Date: 23 Jun 2005 00:30:01
Message: <web.42ba3a7cedf0c7a7700331aa0@news.povray.org>
//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'
formatt.png


 

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