Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Re: acceleration structures from file?


Chronological Thread 
  • From: Thiago Ize < >
  • To:
  • Subject: [Manta] Re: Re: acceleration structures from file?
  • Date: Wed, 27 Oct 2010 16:27:20 -0600

Yeah, I just skipped all the persistentIO stuff with my approach. The -save / -load flags work by doing something else. The AccelerationStructure interface has a virtual bool buildFromFile(const std::string &fileName) and virtual bool saveToFile(const std::string &fileName) methods. The way they are implemented in the KDTree and DynBVH is to just output the relevant binary data straight to disk.
Thiago

Solomon Boulos wrote:
Almost. It got re-envisioned as a rebirth of PersistentIO but it isn't 
finished (Steve and I left).

see Model/Groups/DynBVH.cc (DynBVH::readwrite).

It was pretty close to done, so I think someone could finish it if they took 
the time to do so.

Solomon

On Oct 27, 2010, at 3:20 PM, David E DeMarle wrote:

*-Ray could serialize it's acceleration structures onto disk and restore them 
for later sessions.
Did that survive in some way in Manta?

thanks,
David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



Archive powered by MHonArc 2.6.16.

Top of page