Cs345-2010

From Earlham Cluster Department

(Difference between revisions)
Jump to: navigation, search
(Latest Issues)
 
(5 intermediate revisions not shown)
Line 4: Line 4:
= Porting Intel's Smoke Game Demo to Linux =
= Porting Intel's Smoke Game Demo to Linux =
<i>N.B.</i> - If you edit by section (using the "edit" links next to the section heading) you will be much less likely to cause a Save conflict.
<i>N.B.</i> - If you edit by section (using the "edit" links next to the section heading) you will be much less likely to cause a Save conflict.
 +
=== Latest News ===
 +
 +
=== Latest Issues ===
=== Latest Issues ===
 +
 +
=== Known Bugs ===
 +
*Smoke.cpp does not recognize Framework.cpp unless it is explicitly included.
 +
** Even if Framework.h is included
=== Smoke Wiki Pages ===
=== Smoke Wiki Pages ===
Line 10: Line 17:
----
----
=== Background Information ===
=== Background Information ===
 +
* BASH quick reference card - [[Media:bash-quick-ref.pdf]]
* [http://software.intel.com/en-us/articles/smoke-game-technology-demo/ Intel Software Network article]
* [http://software.intel.com/en-us/articles/smoke-game-technology-demo/ Intel Software Network article]
* [http://www.fmod.org/ FMOD Audio Engine]
* [http://www.fmod.org/ FMOD Audio Engine]
Line 226: Line 234:
   code/src/SystemScripting/ScriptEngine.cpp
   code/src/SystemScripting/ScriptEngine.cpp
* Purpose and operation
* Purpose and operation
-
**using namespace System; - [http://msdn.microsoft.com/en-us/library/system.aspx/ System Namespace]
+
**using namespace System; - [http://msdn.microsoft.com/en-us/library/system.aspx System Namespace]
-
**using namespace System::Reflection; - [http://msdn.microsoft.com/en-us/library/system.reflection.aspx/ Reflection Namespace]
+
**using namespace System::Reflection; - [http://msdn.microsoft.com/en-us/library/system.reflection.aspx Reflection Namespace]
-
**using namespace System::Runtime::InteropServices; - [http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.aspx/ Interop Services Namespace]
+
**using namespace System::Runtime::InteropServices; - [http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.aspx Interop Services Namespace]
* Dependencies  
* Dependencies  

Latest revision as of 00:55, 4 April 2010

Contents

Porting Intel's Smoke Game Demo to Linux

N.B. - If you edit by section (using the "edit" links next to the section heading) you will be much less likely to cause a Save conflict.

Latest News

Latest Issues

Known Bugs

Smoke Wiki Pages


Background Information


Near Term Tasks

  1. Examine all of the documentation and build an annotated index of it in the wiki. Materials that are on-line already, e.g. the ones listed above, can have URLs and annotations. Ones that come with the source kit should just have titles, file system paths, and annotations. We don't want to upload those to the wiki without first checking with Intel about re-publishing their materials. (Nick)(Done!)
  2. Examine all of the source kit's directory tree and build an annotated map of it in the wiki. (Nick)(Done!)
  3. Examine all of the #includes in Smoke.cpp and propose solutions for porting/converting/removing each of them. Remember that #includes nest, we need to follow each thread starting with the ones in Smoke.cpp. (Sam)(Done!)
  4. Develop a Perl script/command line that converts back slashes to front slashes in directory paths. Use the feature that creates a backup of each changed file as it goes. (Sam)(Done!)
  5. Figure-out roughly how each of these works, what the dependencies are, etc. and propose a solution for porting/converting/removing each of them:
    • Logging (Gil)
      • Internal messages
      • Debug messages, add the ability to
    • Debugging (Gil)
      • getopt()
    • EngineExecuteGDF (Gil)
    • main() in Smoke.cpp (Gil)(Done)
    • Argument processing in Smoke.cpp (Gil)(Done)
  6. Develop an ordered plan in the wiki (collective, in class on Friday)
    • Modules
    • Libraries
      • Ogre/OpenGL replacing DirectX (Sam)
      • Find and guard/eliminate .NET stuff (Nick)
      • DirectX -> ? conversion for SystemInput and SystemFire (To Do before 2/26)
      • Havoc (Nick)(Done(ish))(See Note*)
    • Functionality
  7. Figure-out Doxygen and build a doc set (Sam)(Done!)
  8. Figure-out Make and construct the first simple Makefile that builds Smoke (To Do before 2/26)



Documentation



Directory Tree

Note: Ogre subdirectories already include many things pertaining to Linux and OpenGL, so rendering differently may be easier than expected.
Note 2: A full directory tree, including files, has been uploaded to the repo.


Smoke.cpp #include Files


System Path #include files

Format is: (A file that includes the header) #include <(include file)>

Sub-Systems

Logging

Debugging

EngineExecuteGDF

Ogre/OpenGL replacing Ogre/DirectX

High-level 3D graphics engine

OpenGL, DirectX, or Cg

Figure out how DirectX is being used and switch out DirectX functionality (HLSL in Ogre), with OpenGL (GLSL).

 ? replacing .NET

 code/src/SystemScripting/ScriptEngine.cpp

DirectX -> ? conversion for SystemInput and SystemFire

SSE

Streaming SIMD Extensions (SSE) is a system for speeding operations required for audio and video processing. These were implemented as extensions to the IA32 (i.e. x86) instruction set.

Resources:

Personal tools
Namespaces
Variants
Actions
websites
wiki
this semester
Toolbox