Guest User

Untitled

a guest
Jul 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. //render
  2.  
  3. yi.paramsClearAll();
  4.  
  5. yi.paramsSetString("camera_name", "camera");
  6.  
  7. yi.paramsSetString("integrator_name", "myDL");
  8.  
  9. yi.paramsSetString("volintegrator_name", "volintegr");
  10.  
  11.  
  12.  
  13. yi.paramsSetInt("AA_minsamples", 4);
  14.  
  15. yi.paramsSetFloat("AA_pixelwidth", 1.5);
  16.  
  17. yi.paramsSetString("filter_type", "mitchell");
  18.  
  19. yi.paramsSetInt("width", 400);
  20.  
  21. yi.paramsSetInt("height", 300);
  22.  
  23. yi.paramsSetString("background_name", "world_background");
  24.  
  25.  
  26.  
  27. yi.paramsClearAll();
  28.  
  29.  
  30.  
  31. //yi.createImageHandler("filetype");
  32.  
  33.  
  34.  
  35.  
  36.  
  37. // outTga_t *output = new outTga_t(400, 300, "test.tga", false);
  38.  
  39.  
  40.  
  41. //yi.render(*output);
Add Comment
Please, Sign In to add comment