Commit 9baed036 authored by Ken Martin's avatar Ken Martin
Browse files

added volume rendering support

parent c36a048e
......@@ -24,6 +24,7 @@ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 1993, 1994
#include "SbrTri.hh"
#include "SbrLine.hh"
#include "SbrPnt.hh"
#include "VolRen.hh"
#define MAX_LIGHTS 16
......@@ -164,6 +165,11 @@ void vlSbrRenderer::Render(void)
this->DoCameras();
this->DoLights();
this->DoActors();
if (this->VolumeRenderer)
{
this->VolumeRenderer->Render((vlRenderer *)this);
}
}
// Description:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment