SHARE
TWEET

Charlie Somerville

a guest Apr 5th, 2009 50 Never
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Drawing;
  6. using System.Drawing.Imaging;
  7.  
  8. namespace _3DRender
  9. {
  10.     class Program
  11.     {
  12.         static void Main(string[] args)
  13.         {
  14.             World w = new World(1);
  15.             w.camera.fov_x = 70;
  16.             w.camera.fov_y = 70;
  17.  
  18.             Bitmap rendered = w.Render(71, 71);
  19.             rendered.Save("output.bmp",ImageFormat.Bmp);
  20.         }
  21.     }
  22. }
RAW Paste Data
Top