Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You should now (after a few seconds) see a flexta_tutorial folder which contains the solutions and also some additional icons required by these exercises. You will work in the flextra_tutorial folder so open it up. You should see the following contents:

Image RemovedImage Added

About FLEXTRA

What is FLEXTRA?

...

Flextra Input Mode

Path

Flextra Input Data Path

/scratch/graphics/cgr/flextra_../data

Flextra Available File Path

SAME_AS_INPUT_PATH

...

Flextra Input Mode

Path

Flextra Input Data Path

/scratch/graphics/cgr/flextra_../data

Flextra Available File Path

SAME_AS_INPUT_PATH

...

Flextra Input Mode

Path

Flextra Input Data Path

/scratch/graphics/cgr/flextra_../data

Flextra Available File Path

SAME_AS_INPUT_PATH

...

Code Block
res=flextra_prepare(
	flextra_output_path:
 	"/scratch/graphics/cgr/flextra_data",
 	...
) 

flextra_run(
flextra_input_mode : "path",
flextra_input_path : "/scratch/graphics/cgr/flextra_data",
 	...
)

 With this code we want to generate the input data for FLEXTRA with flextra_prepare() but we do not use the variable it returns in flextra_run(). Instead we simply use the path where the generated input data should be located. Now, because flextra_prepare() is executed asynchronously the macro starts to execute it and does not wait until it finishes but jumps immediately to flextra_run(). Then flextra_run() fails because the input data is not yet in place so the macro fails as well.

...