~ubuntu-branches/ubuntu/oneiric/structure-synth/oneiric

« back to all changes in this revision

Viewing changes to Misc/Sunflow-Meta-Neon22.rendertemplate

  • Committer: Bazaar Package Importer
  • Author(s): Miriam Ruiz
  • Date: 2009-07-10 16:57:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090710165703-zw9uany6lev1kpyv
Tags: 1.0.0-1
* New upstream release
* Updated package description in debian/control
* Do not install Examples/DontDeploy
* Standards-Version upgraded to 3.8.2. No changes needed
* Removed dh_desktop from debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!--
2
 
   This is an example of a render template, using one shader for each object.
3
 
   Based on a template by Tom Beddard ('subblue')
4
 
   Modified for typed substitutions by Neon22
 
1
 
 
2
 
 
3
<template name="Sunflow Neon 22" defaultExtension="Sunflow scene file (*.sc)" >
 
4
<description>
 
5
This is an example of a render template, using one shader for each object.
 
6
Based on a template by Tom Beddard ('subblue')
 
7
Modified for typed substitutions by Neon22
5
8
   
6
 
   Includes substitutions for:
 
9
Includes substitutions for:
7
10
    - box, box::color, box::color_occ,
8
11
        - box::color_glass, box::copper,
9
12
        - box::sphere, box::sphere_occ  (transformable/deformable spheres)
13
16
        - sphere, sphere::color, sphere::color_occ
14
17
        - sphere::color_glass
15
18
        - sphere::light
16
 
   Also has:
 
19
Also has:
17
20
        - choice of GI algorithms
18
21
        - pinhole and thinlens (depth of field) cameras
19
22
        - skylight, HDR IBL, and meshlight(for photons)
20
23
        - optional manual floor
21
 
   And predefined shaders for:
 
24
And predefined shaders for:
22
25
    - glass_lblue, diff_white, diff_brick, mirror_copper, phong_bronze,
23
26
        - ward_brushed_gold, constant_white, occ_white
24
27
( more samples here: http:%%www.crai.archi.fr/RubyLibraryDepot/Ruby/Sunflow/thumb.html )
25
 
-->
26
 
 
27
 
<template name="Sun Flow Template" inherits="" >
28
 
        <substitution name="begin">
 
28
</description>
 
29
        <primitive name="begin">
29
30
            <![CDATA[
30
31
%%----------------------------------------
31
32
%%   Common settings
287
288
         1 1
288
289
}
289
290
                ]]>
290
 
        </substitution>
 
291
        </primitive>
291
292
 
292
293
%%----------------------------------------
293
294
%% For adding to end of file (not required for Sunflow renderer)
294
 
        <substitution name="end">
 
295
        <primitive name="end">
295
296
            <![CDATA[
296
297
 
297
298
                ]]>
298
 
        </substitution>
 
299
        </primitive>
299
300
 
300
301
        
301
302
%%------------------------------
302
303
%%--------- box ----------------        
303
 
<substitution name="box">
 
304
<primitive name="box">
304
305
                <![CDATA[
305
306
instance {
306
307
        name "{uid}"
309
310
        shader "occ_white"
310
311
}
311
312
                ]]>
312
 
        </substitution>
 
313
        </primitive>
313
314
 
314
315
%%-----------------------------------------
315
316
%%--------- box:copper --------------------     
316
317
 
317
 
<substitution name="box" type="copper">
 
318
<primitive name="box" type="copper">
318
319
                <![CDATA[
319
320
instance {
320
321
   name "{uid}"
323
324
   shader "copper"
324
325
}
325
326
                ]]>
326
 
</substitution>
 
327
</primitive>
327
328
 
328
329
%%-----------------------------------------
329
330
%%--------- box::color --------------------     
330
 
<substitution name="box" type="color">
 
331
<primitive name="box" type="color">
331
332
                <![CDATA[
332
333
shader {
333
334
        name "shader{uid}"
341
342
        shader "shader{uid}"
342
343
}
343
344
                ]]>
344
 
        </substitution> 
 
345
        </primitive>    
345
346
        
346
347
%%-----------------------------------------
347
348
%%--------- box::color_occ ----------------     
348
 
<substitution name="box" type="color_occ">
 
349
<primitive name="box" type="color_occ">
349
350
                <![CDATA[
350
351
shader {
351
352
        name "shader{uid}"
362
363
        shader "shader{uid}"
363
364
}
364
365
                ]]>
365
 
        </substitution>
 
366
        </primitive>
366
367
        
367
368
%%-----------------------------------------
368
369
%%--------- box:color_glass ---------------
369
370
 
370
 
<substitution name="box" type="color_glass">
 
371
<primitive name="box" type="color_glass">
371
372
                <![CDATA[
372
373
shader {
373
374
        name "shader{uid}"
382
383
   shader "shader{uid}"
383
384
}
384
385
                ]]>
385
 
</substitution>
 
386
</primitive>
386
387
   
387
388
%%----------------------------------------
388
389
%%--------- box::sphere ------------------              
389
 
<substitution name="box" type="sphere">
 
390
<primitive name="box" type="sphere">
390
391
                <![CDATA[
391
392
shader {
392
393
        name "shader{uid}"
400
401
        shader "shader{uid}"
401
402
}
402
403
                ]]>
403
 
        </substitution>
 
404
        </primitive>
404
405
        
405
406
%%----------------------------------------
406
407
%%--------- box::sphere_occ --------------              
407
 
<substitution name="box" type="sphere_occ">
 
408
<primitive name="box" type="sphere_occ">
408
409
                <![CDATA[
409
410
shader {
410
411
        name "shader{uid}"
421
422
        shader "shader{uid}"
422
423
}
423
424
                ]]>
424
 
        </substitution>
 
425
        </primitive>
425
426
        
426
427
%%----------------------------------------
427
428
%%--------- box::torus -------------------              
428
 
<substitution name="box" type="torus">
 
429
<primitive name="box" type="torus">
429
430
                <![CDATA[
430
431
shader {
431
432
        name "shader{uid}"
439
440
        shader "shader{uid}"
440
441
}
441
442
                ]]>
442
 
        </substitution>
 
443
        </primitive>
443
444
        
444
445
%%----------------------------------------
445
446
%%--------- box::torus_occ ---------------              
446
 
<substitution name="box" type="torus_occ">
 
447
<primitive name="box" type="torus_occ">
447
448
                <![CDATA[
448
449
shader {
449
450
        name "shader{uid}"
460
461
        shader "shader{uid}"
461
462
}
462
463
                ]]>
463
 
        </substitution>
 
464
        </primitive>
464
465
        
465
466
%%----------------------------------------
466
467
%%--------- box::teapot -------------------             
467
 
<substitution name="box" type="teapot">
 
468
<primitive name="box" type="teapot">
468
469
                <![CDATA[
469
470
shader {
470
471
        name "shader{uid}"
481
482
        shader "shader{uid}"
482
483
}
483
484
                ]]>
484
 
        </substitution>
 
485
        </primitive>
485
486
 
486
487
%%----------------------------------------
487
488
%%--------- box::gumbo -------------------              
488
 
<substitution name="box" type="gumbo">
 
489
<primitive name="box" type="gumbo">
489
490
                <![CDATA[
490
491
shader {
491
492
        name "shader{uid}"
502
503
        shader "shader{uid}"
503
504
}
504
505
                ]]>
505
 
        </substitution>
 
506
        </primitive>
506
507
 
507
508
%%----------------------------------------
508
509
%%--------- sphere -----------------------              
509
 
<substitution name="sphere">
 
510
<primitive name="sphere">
510
511
                <![CDATA[
511
512
object {
512
513
        shader "occ_white"
515
516
        r {rad}
516
517
}
517
518
                ]]>
518
 
        </substitution>
 
519
        </primitive>
519
520
        
520
521
%%----------------------------------------
521
522
%%--------- sphere::color ----------------              
522
 
<substitution name="sphere" type="color">
 
523
<primitive name="sphere" type="color">
523
524
                <![CDATA[
524
525
shader {
525
526
        name "shader{uid}"
533
534
        r {rad}
534
535
}
535
536
                ]]>
536
 
        </substitution>
 
537
        </primitive>
537
538
        
538
539
%%----------------------------------------
539
540
%%--------- sphere::color_occ ------------              
540
 
<substitution name="sphere" type="color_occ">
 
541
<primitive name="sphere" type="color_occ">
541
542
                <![CDATA[
542
543
shader {
543
544
        name "shader{uid}"
554
555
        r {rad}
555
556
}
556
557
                ]]>
557
 
        </substitution> 
 
558
        </primitive>    
558
559
        
559
560
%%----------------------------------------
560
561
%%--------- sphere::color_glass ----------              
561
 
<substitution name="sphere" type="color_glass">
 
562
<primitive name="sphere" type="color_glass">
562
563
                <![CDATA[
563
564
shader {
564
565
        name "shader{uid}"
573
574
        r {rad}
574
575
}
575
576
                ]]>
576
 
        </substitution> 
 
577
        </primitive>    
577
578
 
578
579
%%----------------------------------------
579
580
%%--------- sphere::light ----------------              
580
 
<substitution name="sphere" type="light">
 
581
<primitive name="sphere" type="light">
581
582
                <![CDATA[
582
583
light {
583
584
        type spherical
588
589
        samples 16
589
590
}
590
591
                ]]>
591
 
        </substitution>
 
592
        </primitive>
592
593
 
593
594
</template>
 
 
b'\\ No newline at end of file'