Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [MANTA] imagedisplay & resolution?


Chronological Thread 
  • From: Solomon Boulos <boulos@cs.utah.edu>
  • To: "Steven G. Parker" <sparker@cs.utah.edu>
  • Cc: Abe Stephens <abe@sci.utah.edu>, manta@sci.utah.edu
  • Subject: Re: [MANTA] imagedisplay & resolution?
  • Date: Sat, 12 May 2007 01:07:29 -0600

Oh yeah, Steve's right:

else if(arg == "-imagedisplay"){
          string s;
          if(!getStringArg(i, args, s))
            usage(factory);

          // Create the channel.
          try {
            ImageDisplay *display = factory->createImageDisplay( s );

rtrt->createChannel(display, currentCamera, stereo, xres, yres);


          } catch (UnknownComponent e) {
            cerr << e.message() << "\n"
                 << "Available image displays: ";
            printList(cerr, factory->listImageDisplays());
            throw e;
          }

Basically whatever your resolution is before imagedisplay is what is set. Perhaps we should try to finally modify this code to just group up arguments and process them in an appropriate order, so that parameter order on command lines won't matter...

On May 11, 2007, at 7:46 PM, Steven G. Parker wrote:

Try putting the -res before the -imagedisplay - does that work?
Steve

On May 11, 2007, at 4:42 PM, Abe Stephens wrote:

Thiago just pointed this out, when you change the resolution with imagedisplay == null, the performance doesn't actually change... I know this worked a while ago, we used this benchmark method extensively on the sgis...

Abe

Manta/build-tigger32> bin/manta -imagedisplay null -ui null -res 1024x1024 -bench 10 2
Benchmark completed in 2.922 seconds (10 frames, 3.42231 frames per second)
Manta/build-tigger32> bin/manta -imagedisplay null -ui null -bench 10 2Benchmark completed in 2.95663 seconds (10 frames, 3.38223 frames per second)
Manta/build-tigger32> bin/manta -imagedisplay null -ui null -res 4x4 -bench 10 2
Benchmark completed in 2.93903 seconds (10 frames, 3.40248 frames per second)








Archive powered by MHonArc 2.6.16.

Top of page