Giter Site home page Giter Site logo

xubingyue / salviarenderer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wuye9036/salviarenderer

0.0 2.0 0.0 44.77 MB

SALVIA is the rasterizer based software renderer. The goal of SALVIA is capacity of Direct3D 10+.

License: Other

CMake 2.19% Python 3.47% C++ 92.08% C 1.50% Batchfile 0.03% Scheme 0.73%

salviarenderer's Introduction

Project build guide

1. Requirements
  * Windows 7 or later
    * Visual Studio 2013.
	* Python 2.7.
	* CMake 3.x
  * Linux
    * Mint 16 and Mint 17 were tested.
	* GCC 4.8 or later.
	* Python 2.7.
	* CMake 3.x
	
2. Build steps
  * Run build_all.py which is located at root of project.
  * If it is the first run of build_all.py, an configuration file "proj.py" will be generated.
  * Edit proj.py after read the comments of the file.
  * If build tool is visual studio, vs solution file will be generated in sub folder of 'build'.
 
3. REMARK
  * Each configuration was built once build_all.py was run. But visual studio supports multiple configuratoin in one project. You should modify proj.py and execute build_all.py with different configuration, such as RelWithDebInfo or Debug. 
  
If you have any questions, please contact:

wuye9036 _at_ gmail _dot_ com

----------------------------

如果您是**用户,您可以从OSChina的Git托管站点上下载:

https://git.oschina.net/wuye9036/SalviaRenderer.git

首先请确认您的机器上具有:

Windows平台:
1. Visual Studio 2013. Desktop Express/Community/Profession;
3. Python 2.7;
4. CMake 3.x

Linux平台:

1. GCC 4.8或以上版本;
3. Python 2.7;
4. CMake 3.x。

运行build_all.py文件。如果您是首次运行该脚本,它会生成proj.py文件。
打开proj.py文件,阅读说明并修改配置。
再次运行build_all.py,期间可能需要下载一些资源和第三方库,请保持网络连接,等待编译过程其直到编译结束。
如果发生Boost或者LLVM的编译异常,您可以尝试重新执行build_all.py。
如果您使用的是Visual Studio,sln文件会生成在您指定的 build_root 的目录下。

注意事项:

和Visual Studio默认的多配置工程不同,脚本一次只会编译一个配置(Debug, RelWithDebInfo等等)。
如果需要在工程文件中自由切换配置,需要您多次修改proj.py中的config并执行build_all.py,随后您就可以在Solution中自由切换Configuration并编译了。

如果您有任何疑问或建议,请邮件至:

wuye9036 _at_ gmail _dot_ com

salviarenderer's People

Contributors

wuye9036 avatar gongminmin avatar zhoub avatar

Watchers

James Cloos avatar xubingyue avatar

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.