Exemplo n.º 1
0
        public void Load()
        {
            m_BasicRenderer.Load();
            m_currPostprocessChain = new CPostprocessor();

            CVolumeBuffer volData = new CVolumeBuffer();
            volData.Initialize(32);

            // generator
            var dataGenerator = new CVolumeDataGenerator_Rnd();
            dataGenerator.Generate(volData);

            // terrain graphic
            CVolumeRenderer dataRenderer = new CVolumeRenderer();
            dataRenderer.Load();
            dataRenderer.Generate(volData);
            m_TerrainRenderer = dataRenderer;

            m_ParticleRenderer.Load();
        }
Exemplo n.º 2
0
        public void Load()
        {
            m_BasicRenderer.Load();
            m_currPostprocessChain = new CPostprocessor();


            CVolumeBuffer volData = new CVolumeBuffer();

            volData.Initialize(32);

            // generator
            var dataGenerator = new CVolumeDataGenerator_Rnd();

            dataGenerator.Generate(volData);

            // terrain graphic
            CVolumeRenderer dataRenderer = new CVolumeRenderer();

            dataRenderer.Load();
            dataRenderer.Generate(volData);
            m_TerrainRenderer = dataRenderer;

            m_ParticleRenderer.Load();
        }