Giter Site home page Giter Site logo

Build Instructions about surfelgi HOT 2 CLOSED

Nolram12345 avatar Nolram12345 commented on September 27, 2024
Build Instructions

from surfelgi.

Comments (2)

W298 avatar W298 commented on September 27, 2024

This repository is currently still in development, so I don't recommend building and testing it right now (because there's code that is hard-coded and scene-specific), but I'll explain you through it briefly.

  1. Put SurfelGI/RenderPasses into SurfelGI/Falcor/Source/RenderPasses
  2. Edit Falcor/Source/RenderPasses/CMakeLists.txt
    add_subdirectory(Surfel)
  3. Follow Falcor's build instrcution (Build Mogwai).
  4. Run Mogwai and use below script.
from pathlib import WindowsPath, PosixPath
from falcor import *

def render_graph_DefaultRenderGraph():
    g = RenderGraph('DefaultRenderGraph')
    g.create_pass('SurfelGI', 'SurfelGI', {})
    g.create_pass('SurfelGBuffer', 'SurfelGBuffer', {})
    g.create_pass('SurfelDirectLightingPass', 'SurfelDirectLightingPass', {})
    g.add_edge('SurfelGBuffer.packedHitInfo', 'SurfelGI.packedHitInfo')
    g.add_edge('SurfelGBuffer.packedHitInfo', 'SurfelDirectLightingPass.packedHitInfo')
    g.add_edge('SurfelGI.output', 'SurfelDirectLightingPass.indirectLighting')
    g.mark_output('SurfelDirectLightingPass.output')
    return g

DefaultRenderGraph = render_graph_DefaultRenderGraph()
try: m.addGraph(DefaultRenderGraph)
except NameError: None
  1. Load scene.

Since the cell (used for searching surfels) sizes are hard-coded, you'll probably need to resize the scene down. I'll fix that later.

from surfelgi.

Nolram12345 avatar Nolram12345 commented on September 27, 2024

Thanks! I'll be patient for now then and revisit this project once it's perhaps a little further along.

from surfelgi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.