Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [MANTA] where to put OctreeVolume.h?


Chronological Thread 
  • From: Abe Stephens <abe@sci.utah.edu>
  • To: Aaron Knoll <knolla@cs.utah.edu>
  • Cc: manta@sci.utah.edu
  • Subject: Re: [MANTA] where to put OctreeVolume.h?
  • Date: Fri, 12 May 2006 09:26:35 +0100

The location that you place the code isn't as important as being sure that its compilation can be turned on and off in cmake.

I've placed most of my application specific code in fox/<name>_demo. (take a look at fox/disco_demo for example) Usually there is a fox gui interface created for these scenes, but it isn't necessary. Actually if you create a directory under fox/ with the name formatted as <name>_demo the CMakeLists file will automatically include it. This allows you to stay current with the trunk without necessarily committing every project in a sub directory before updating that part of the tree.

Abe

Aaron Knoll wrote:

So I have this class for the octree volume data itself. It contains only the structure for the volume data; no routines for traversal or knowledge of the scene.

Where should I put that? I was thinking of Model/Primitives but that's not quite right...

The closest analogy to anything in the existing system is Array3.

Thanks -

Aaron

P.S. none of this will be committed until it's all working - feel free to code-review me too.








Archive powered by MHonArc 2.6.16.

Top of page