Navigation:  Macro > Instructions > Images rendu réaliste >

RENDER GET FLAG

AiM Services
Previous pageReturn to chapter overviewNext page

RENDER GET FLAG Flag;Value|Value$,[Err]

Cette instruction retourne un paramètre d'initialisation d'un rendu réaliste avec PovRay.
 

Paramètre d'entrée

Flag

 :

Type du paramètre a retourner

 

 

Height and width of output

 

 

1 INT Height of output in pixels

 

 

2 INT Width of output pixels

 

 

Partial output options

 

 

3 DBLE Start column

 

 

if=n Set first column to n pixels

 

 

if=0.n Set first column to n percent of width

 

 

4 DBLE Start row

 

 

if=n Set first row to n pixels

 

 

if=0.n Set first row to n percent of height

 

 

5 DBLE End column

 

 

if=n Set last column to n pixels

 

 

if=0.n Set last column to n percent of width

 

 

6 DBLE End row

 

 

if=n Set last row to n pixels

 

 

if=0.n Set last row to n percent of height

 

 

Display hardware settings

 

 

7 FLAG Turn test for user abort on/off

 

 

8 INT Set to test for abort every n pixels

 

 

9 FLAG Supression des fichier .pov et .ini a la fin

 

 

du traitement

 

 

Display related settings

 

 

10 FLAG Turns graphic display on/off

 

 

11 DBLE Sets the display gamma to n.n

 

 

12 FLAG Sets pause when done on/off

 

 

13 FLAG Set verbose messages on/off

 

 

14 FLAG Turn draw vistas on/off

 

 

Mosaic Preview

 

 

15 INT Set mosaic preview start size to n

 

 

16 INT Set mosaic preview end size to n

 

 

File output options

 

 

17 FLAG Output_to_File

 

 

Output file type

 

 

18 CHAR Sets file output format to x

 

 

'C' Compressed Targa-24 format (RLE)

 

 

'N' PNG (portable network graphics) format

 

 

'P' Unix PPM format

 

 

'S' System-specific such as Mac Pict or Windows BMP

 

 

'T' Uncompressed Targa-24 format

 

 

19 FLAG Sets alpha output on/off

 

 

Output file name

 

 

20 STR Output_File_Name

 

 

Console text output

 

 

21 FLAG Turn on/off all debug, fatal, render, statistic

 

 

and warning text to console.

 

 

22 FLAG Turn console display of debug info text on/off

 

 

23 FLAG Turn console display of fatal error text on/off

 

 

24 FLAG Turn console display of render info text on/off

 

 

25 FLAG Turn console display of statistic text on/off

 

 

26 FLAG Turn on/off all debug, fatal, render, statistic

 

 

Directing text streams to files

 

 

27 FLAG Echo or not all debug, fatal, render, statistic,

 

 

and warning text to the 'iFlag=28' file.

 

 

28 STR All debug, fatal, render, statistic, and

 

 

warning text to file name

 

 

29 FLAG Echo or not debug info text to the 'iFlag=30' file.

 

 

30 STR Debug info text to file name

 

 

31 FLAG Echo or not fatal info text to the 'iFlag=32' file.

 

 

32 STR Fatal info text to file name

 

 

33 FLAG Echo or not render info text to the 'iFlag=34' file.

 

 

34 STR Render info text to file name

 

 

35 FLAG Echo or not statistic info text to the 'iFlag=36' file.

 

 

36 STR Statistic info text to file name

 

 

37 FLAG Echo or not warning info text to the 'iFlag=38' file.

 

 

38 STR Warning info text to file name

 

 

Quality settings

 

 

39 INT Quality value (0 <= n <= 11)

 

 

0,1 Just show quick colors.

 

 

Use full ambient lighting only.

 

 

Quick colors are used only at 5 or below.

 

 

2,3 Show specified diffuse and ambient light.

 

 

4 Render shadows, but no extended lights.

 

 

5 Render shadows, including extended lights.

 

 

6,7 Compute texture patterns.

 

 

8 Compute reflected, refracted, and transmitted rays.

 

 

9 Compute media (default if not specified)

 

 

10 Compute radiosity but no media

 

 

11 Compute radiosity and media

 

 

Radiosity setting

 

 

40 FLAG Turns radiosity on/off

 

 

Automatic bounding control

 

 

41 FLAG Bounding, Turn bounding on/off

 

 

42 INT Bounding_Threshold, Set bound threshold to n

 

 

43 FLAG Light_Buffer, Turn light buffer on/off

 

 

44 FLAG Vista_Buffer, Turn vista buffer on/off

 

 

Anti-aliasing options

 

 

45 FLAG Turns anti-aliasing on/off

 

 

46 INT Sets anti-aliasing sampling method (only 1 or 2 are valid)

 

 

47 DBLE Sets anti-aliasing threshold

 

 

48 FLAG Sets anti-aliasing jitter on/off

 

 

49 DBLE Sets anti-aliasing jitter amount to n.n.

 

 

If n.n <= 0 anti-aliasing jitter is set off

 

 

50 INT Sets anti-aliasing depth (1 <= n <= 9)

 

 

Atmospheric effects

 

 

51 FOG Fog type (0=no, 1=constant, 2=ground fog)

 

 

52 DBLE Fog distance

 

 

53 RGB Fog color (RGB)

 

 

Render options

 

 

54 FLAG Turn recompute object on/off

 

 

55 FLAG Turn recompute camera on/off

 

 

56 FLAG Turn recompute material on/off

 

 

57 FLAG Turn recompute lights on/off

Value

 :

Valeur numérique du paramètre

Value$

 :

Valeur alphanumérique du paramètre

Err

 :

0 = Pas d'erreur

 

 

64 = Valeur fausse ou hors limite