ผลต่างระหว่างรุ่นของ "RDHR Project"

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา
แถว 5: แถว 5:
 
* [http://theory.cpe.ku.ac.th/pramook_rdhr-c++/ C++]
 
* [http://theory.cpe.ku.ac.th/pramook_rdhr-c++/ C++]
  
== Checking out Your Local Copy ==
+
== Checking Out the Source ==
 
=== Installing Subversion and Tortoise SVN ===
 
=== Installing Subversion and Tortoise SVN ===
 
Please grab Subversion from [http://subversion.tigris.org/project_packages.html this page]. You may also wish to download [http://tortoisesvn.tigris.org/ Tortoise SVN], which provides a nice integration between Subversion and Windows Explorer, from [http://tortoisesvn.net/downloads here].  
 
Please grab Subversion from [http://subversion.tigris.org/project_packages.html this page]. You may also wish to download [http://tortoisesvn.tigris.org/ Tortoise SVN], which provides a nice integration between Subversion and Windows Explorer, from [http://tortoisesvn.net/downloads here].  

รุ่นแก้ไขเมื่อ 06:36, 29 กุมภาพันธ์ 2551

This page contains information about the Radiance Decomposition Hierarchical Radiosity (RDHR) research project.

Subversion Repositories

  • C# (as a fork of LightFairy library)
  • C++

Checking Out the Source

Installing Subversion and Tortoise SVN

Please grab Subversion from this page. You may also wish to download Tortoise SVN, which provides a nice integration between Subversion and Windows Explorer, from here.

Checking out

To check out, execute the following common in your shell:

svn checkout http://theory.cpe.ku.ac.th/pramook_rdhr-c++/trunk <directory>

This will download all the latest version of the files to the directory <directory>.

Notes on Building the C++ Version

Requirements

You need the following software:

It's important that you use VC2005 because CUDA only work with Microsoft C compiler 6.0 or 7.1, which comes with VC2003 or VC2005. I use VC2005 now, and the repository contains VC2005 project files.
This is the newest Windows SDK I could find.

Please install them and DO NOT alter their installation directories. The reason is that the Windows SDK include directory is hard-coded into rdhr-c++ project files.

Cannot open precompiled header file error

When building the "rdhr" project, you might get an error message like this:

C1083: Cannot open precompiled header file: 'Debug/<Project-Name>.pch': No such file or directory.

To make it go away, compile "stdafx.cpp" alone first, then build the project.

UnitTest++.vsnet2005 and TestUnitTest++.vsnet2005

Sometimes these two projects will be unloaded when you open the solution. If you have not built these two projects on your local machines, please load and build them.

UnitTest++

Information on UnitTest++, the unit testing framework I'm using, can be found here.

Grammars for Scene Description Language