Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: third_party/gles_book_examples/Chapter_13/Noise3D/Noise3D.rfx

Issue 543002: Renamed gles_book_examples to gles2_book to make it shorter and more correct.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 <!DOCTYPE RENDER_MONKEY [
3 <!ELEMENT RENDER_MONKEY
4 (
5 RmEffectWorkspace |
6 RmRegistryBranch |
7 RmClipboardNode
8 )?>
9
10 <!ELEMENT RmEffectWorkspace
11 (
12 RmRegistryBranch?,
13 RmPlugInData?,
14 RmStringVariable*,
15 (
16 ( RmDirectXEffect, RmOpenGLEffect?, RmOpenGLESEffect? ) |
17 ( RmOpenGLEffect, RmDirectXEffect?, RmOpenGLESEffect? ) |
18 ( RmOpenGLESEffect, RmDirectXEffect?, RmOpenGLEffect? )
19 )?,
20 (
21 RmBooleanVariable |
22 RmIntegerVariable |
23 RmFloatVariable |
24 RmVectorVariable |
25 RmMatrixVariable |
26 RmDynamicVariable |
27 RmColorVariable |
28 Rm2DTextureVariable |
29 RmCubemapVariable |
30 Rm3DTextureVariable |
31 RmLightVariable |
32 RmMaterialVariable |
33 RmRenderableTexture |
34 RmStreamMap |
35 RmModelData |
36 RmEffectGroup
37 )*
38 )>
39
40 <!ELEMENT RmEffectGroup
41 (
42 RmPlugInData?,
43 (
44 RmStringVariable |
45 RmDirectXEffect |
46 RmOpenGLEffect |
47 RmOpenGLESEffect |
48 RmBooleanVariable |
49 RmIntegerVariable |
50 RmFloatVariable |
51 RmVectorVariable |
52 RmMatrixVariable |
53 RmDynamicVariable |
54 RmColorVariable |
55 Rm2DTextureVariable |
56 RmCubemapVariable |
57 Rm3DTextureVariable |
58 RmLightVariable |
59 RmMaterialVariable |
60 RmRenderableTexture |
61 RmStreamMap |
62 RmModelData
63 )*
64 )>
65
66 <!ELEMENT RmDirectXEffect
67 (
68 RmPlugInData?,
69 (
70 RmStringVariable |
71 RmCamera |
72 RmBooleanVariable |
73 RmIntegerVariable |
74 RmFloatVariable |
75 RmVectorVariable |
76 RmMatrixVariable |
77 RmDynamicVariable |
78 RmColorVariable |
79 Rm2DTextureVariable |
80 RmCubemapVariable |
81 Rm3DTextureVariable |
82 RmLightVariable |
83 RmMaterialVariable |
84 RmRenderableTexture |
85 RmStreamMap |
86 RmModelData |
87 RmPass
88 )*
89 )>
90
91 <!ELEMENT RmOpenGLEffect
92 (
93 RmPlugInData?,
94 (
95 RmStringVariable |
96 RmCamera |
97 RmBooleanVariable |
98 RmIntegerVariable |
99 RmFloatVariable |
100 RmVectorVariable |
101 RmMatrixVariable |
102 RmDynamicVariable |
103 RmColorVariable |
104 Rm2DTextureVariable |
105 RmCubemapVariable |
106 Rm3DTextureVariable |
107 RmLightVariable |
108 RmMaterialVariable |
109 RmRenderableTexture |
110 RmStreamMap |
111 RmModelData |
112 RmGLPass
113 )*
114 )>
115
116 <!ELEMENT RmOpenGLESEffect
117 (
118 RmPlugInData?,
119 (
120 RmStringVariable |
121 RmCamera |
122 RmBooleanVariable |
123 RmIntegerVariable |
124 RmFloatVariable |
125 RmVectorVariable |
126 RmMatrixVariable |
127 RmDynamicVariable |
128 RmColorVariable |
129 Rm2DTextureVariable |
130 RmCubemapVariable |
131 Rm3DTextureVariable |
132 RmLightVariable |
133 RmMaterialVariable |
134 RmRenderableTexture |
135 RmStreamMap |
136 RmModelData |
137 RmGLESPass
138 )*
139 )>
140
141 <!ELEMENT RmPass
142 (
143 RmPlugInData?,
144 RmStringVariable*,
145 RmCameraReference?,
146 RmModelReference?,
147 RmRenderStateBlock?,
148 (
149 (
150 ( RmHLSLShader | RmShader ),
151 ( RmShader | RmHLSLShader )?
152 )
153 )?,
154 RmRenderTarget*,
155 RmStreamMapReference?,
156 (
157 RmBooleanVariable |
158 RmIntegerVariable |
159 RmFloatVariable |
160 RmVectorVariable |
161 RmMatrixVariable |
162 RmDynamicVariable |
163 RmColorVariable |
164 Rm2DTextureVariable |
165 RmCubemapVariable |
166 Rm3DTextureVariable |
167 RmLightVariable |
168 RmMaterialVariable |
169 RmTextureObject |
170 RmLightObject |
171 RmMaterialObject
172 )*
173 )>
174
175 <!ELEMENT RmGLPass
176 (
177 RmPlugInData?,
178 RmStringVariable*,
179 RmCameraReference?,
180 RmModelReference?,
181 RmRenderStateBlock?,
182 (
183 ( RmGLShader, RmGLShader? )
184 )?,
185 RmRenderTarget?,
186 RmStreamMapReference?,
187 (
188 RmBooleanVariable |
189 RmIntegerVariable |
190 RmFloatVariable |
191 RmVectorVariable |
192 RmMatrixVariable |
193 RmDynamicVariable |
194 RmColorVariable |
195 Rm2DTextureVariable |
196 RmCubemapVariable |
197 Rm3DTextureVariable |
198 RmLightVariable |
199 RmMaterialVariable |
200 RmTextureObject |
201 RmLightObject |
202 RmMaterialObject |
203 RmShaderConstant |
204 RmSampler
205 )*
206 )>
207
208 <!ELEMENT RmGLESPass
209 (
210 RmPlugInData?,
211 RmStringVariable*,
212 RmCameraReference?,
213 RmModelReference?,
214 RmRenderStateBlock?,
215 (
216 ( RmGLESShader, RmGLESShader? )
217 )?,
218 RmRenderTarget?,
219 RmStreamMapReference?,
220 (
221 RmBooleanVariable |
222 RmIntegerVariable |
223 RmFloatVariable |
224 RmVectorVariable |
225 RmMatrixVariable |
226 RmDynamicVariable |
227 RmColorVariable |
228 Rm2DTextureVariable |
229 RmCubemapVariable |
230 Rm3DTextureVariable |
231 RmLightVariable |
232 RmMaterialVariable |
233 RmTextureObject |
234 RmLightObject |
235 RmMaterialObject |
236 RmShaderConstant |
237 RmSampler
238 )*
239 )>
240
241 <!ELEMENT RmShader
242 (
243 RmShaderCode,
244 RmPlugInData?,
245 (
246 RmStringVariable |
247 RmShaderConstant
248 )*
249 )>
250
251 <!ELEMENT RmHLSLShader
252 (
253 RmShaderCode,
254 RmPlugInData?,
255 (
256 RmStringVariable |
257 RmShaderConstant |
258 RmSampler
259 )*
260 )>
261
262 <!ELEMENT RmGLShader
263 (
264 RmShaderCode,
265 RmPlugInData?,
266 (
267 RmStringVariable
268 )*
269 )>
270
271 <!ELEMENT RmGLESShader
272 (
273 RmShaderCode,
274 RmPlugInData?,
275 (
276 RmStringVariable
277 )*
278 )>
279
280 <!ELEMENT RmTextureObject
281 (
282 RmPlugInData?,
283 RmStringVariable*,
284 RmTextureReference?,
285 RmState*
286 )>
287
288 <!ELEMENT RmLightObject
289 (
290 RmPlugInData?,
291 RmStringVariable*,
292 RmLightReference?
293 )>
294
295 <!ELEMENT RmMaterialObject
296 (
297 RmPlugInData?,
298 RmStringVariable*,
299 RmMaterialReference?
300 )>
301
302 <!ELEMENT RmRenderStateBlock
303 (
304 RmPlugInData?,
305 (
306 RmStringVariable |
307 RmState
308 )*
309 )>
310
311 <!ELEMENT RmStreamMap
312 (
313 RmPlugInData?,
314 (
315 RmStringVariable |
316 RmStream
317 )*
318 )>
319
320 <!ELEMENT RmStream ( RmPlugInData?, RmStreamChannel* )>
321
322 <!ELEMENT RmModelData ( RmPlugInData?, RmStringVariable* )>
323 <!ELEMENT RmTextureReference ( RmPlugInData?, RmStringVariable* )>
324 <!ELEMENT RmLightReference ( RmPlugInData?, RmStringVariable* )>
325 <!ELEMENT RmMaterialReference ( RmPlugInData?, RmStringVariable* )>
326 <!ELEMENT RmCameraReference ( RmPlugInData?, RmStringVariable* )>
327 <!ELEMENT RmModelReference ( RmPlugInData?, RmStringVariable* )>
328 <!ELEMENT RmStreamMapReference ( RmPlugInData?, RmStringVariable* )>
329 <!ELEMENT RmRenderableTexture ( RmPlugInData?, RmStringVariable* )>
330 <!ELEMENT RmRenderTarget ( RmPlugInData?, RmStringVariable* )>
331 <!ELEMENT RmBooleanVariable ( RmPlugInData?, RmStringVariable? )>
332 <!ELEMENT RmFloatVariable ( RmPlugInData?, RmStringVariable? )>
333 <!ELEMENT RmVectorVariable ( RmPlugInData?, RmStringVariable? )>
334 <!ELEMENT RmMatrixVariable ( RmPlugInData?, RmStringVariable? )>
335 <!ELEMENT RmColorVariable ( RmPlugInData?, RmStringVariable? )>
336 <!ELEMENT RmIntegerVariable ( RmPlugInData?, RmStringVariable? )>
337 <!ELEMENT Rm2DTextureVariable ( RmPlugInData?, RmStringVariable? )>
338 <!ELEMENT RmCubemapVariable ( RmPlugInData?, RmStringVariable? )>
339 <!ELEMENT Rm3DTextureVariable ( RmPlugInData?, RmStringVariable? )>
340 <!ELEMENT RmLightVariable ( RmPlugInData?, RmStringVariable? )>
341 <!ELEMENT RmMaterialVariable ( RmPlugInData?, RmStringVariable? )>
342 <!ELEMENT RmCamera ( RmPlugInData?, RmStringVariable* )>
343
344 <!ELEMENT RmStringVariable ( RmTextDataBlock, RmPlugInData? )>
345
346 <!ELEMENT RmDynamicVariable
347 (
348 RmDynamicVariableValueContainer,
349 RmPlugInData?,
350 RmStringVariable?
351 )>
352
353 <!ELEMENT RmDynamicVariableValueContainer
354 (
355 RmPlugInData?,
356 RmDynamicVariableValue*
357 )>
358
359 <!ELEMENT RmTextDataBlock ( #PCDATA ) >
360
361 <!ELEMENT RmRegistryBranch
362 (
363 RmTextDataBlock?,
364 (
365 RmRegistryBranch |
366 RmStringVariable |
367 RmIntegerVariable |
368 RmBooleanVariable |
369 RmFloatVariable
370 )*
371 )>
372
373 <!ELEMENT RmPlugInData
374 (
375 RmTextDataBlock?,
376 (
377 RmStringVariable |
378 RmIntegerVariable |
379 RmBooleanVariable |
380 RmFloatVariable |
381 RmVectorVariable
382 )*
383 )>
384
385 <!ELEMENT RmClipboardNode
386 (
387 RmTextDataBlock?,
388 (
389 RmEffectWorkspace |
390 RmEffectGroup |
391 RmDirectXEffect |
392 RmOpenGLEffect |
393 RmOpenGLESEffect |
394 RmPass |
395 RmGLPass |
396 RmGLESPass |
397 RmShader |
398 RmHLSLShader |
399 RmGLShader |
400 RmGLESShader |
401 RmShaderConstant |
402 RmSampler |
403 RmTextureObject |
404 RmLightObject |
405 RmMaterialObject |
406 RmRenderStateBlock |
407 RmState |
408 RmStreamMap |
409 RmStream |
410 RmStreamChannel |
411 RmModelData |
412 RmTextureReference |
413 RmLightReference |
414 RmMaterialReference |
415 RmModelReference |
416 RmStreamMapReference |
417 RmRenderableTexture |
418 RmRenderTarget |
419 RmBooleanVariable |
420 RmFloatVariable |
421 RmVectorVariable |
422 RmMatrixVariable |
423 RmDynamicVariable |
424 RmDynamicVariableValue |
425 RmColorVariable |
426 RmIntegerVariable |
427 RmStringVariable |
428 Rm2DTextureVariable |
429 RmCubemapVariable |
430 Rm3DTextureVariable |
431 RmLightVariable |
432 RmMaterialVariable |
433 RmRegistryBranch |
434 RmPlugInData |
435 RmCamera |
436 RmCameraReference
437 )*
438 )>
439
440 <!ELEMENT RmStreamChannel ( RmPlugInData? ) >
441 <!ELEMENT RmShaderConstant ( RmPlugInData? ) >
442 <!ELEMENT RmSampler ( RmPlugInData? ) >
443 <!ELEMENT RmState ( RmPlugInData? ) >
444 <!ELEMENT RmDynamicVariableValue ( RmPlugInData? ) >
445
446 <!ELEMENT RmShaderCode ( #PCDATA ) >
447
448 <!ATTLIST RmEffectWorkspace
449 NAME CDATA #REQUIRED
450 API CDATA #REQUIRED
451 ACTIVE_EFFECT CDATA #REQUIRED
452 VALIDATION_STRING CDATA #REQUIRED
453 XML_VERSION CDATA #REQUIRED
454 >
455
456 <!ATTLIST RmEffectGroup
457 NAME CDATA #REQUIRED
458 API CDATA #REQUIRED
459 >
460
461 <!ATTLIST RmDirectXEffect
462 NAME CDATA #REQUIRED
463 API CDATA #REQUIRED
464 ACTIVE_CAMERA CDATA #REQUIRED
465 >
466
467 <!ATTLIST RmOpenGLEffect
468 NAME CDATA #REQUIRED
469 API CDATA #REQUIRED
470 ACTIVE_CAMERA CDATA #REQUIRED
471 >
472
473 <!ATTLIST RmOpenGLESEffect
474 NAME CDATA #REQUIRED
475 API CDATA #REQUIRED
476 ACTIVE_CAMERA CDATA #REQUIRED
477 >
478
479 <!ATTLIST RmPass
480 NAME CDATA #REQUIRED
481 API CDATA #REQUIRED
482 PASS_INDEX CDATA #REQUIRED
483 ENABLED ( TRUE | FALSE ) #REQUIRED
484 >
485
486 <!ATTLIST RmGLPass
487 NAME CDATA #REQUIRED
488 API CDATA #REQUIRED
489 PASS_INDEX CDATA #REQUIRED
490 ENABLED ( TRUE | FALSE ) #REQUIRED
491 >
492
493 <!ATTLIST RmGLESPass
494 NAME CDATA #REQUIRED
495 API CDATA #REQUIRED
496 PASS_INDEX CDATA #REQUIRED
497 ENABLED ( TRUE | FALSE ) #REQUIRED
498 >
499
500 <!ATTLIST RmShader
501 NAME CDATA #REQUIRED
502 API CDATA #REQUIRED
503 PIXEL_SHADER CDATA #REQUIRED
504 >
505
506 <!ATTLIST RmHLSLShader
507 NAME CDATA #REQUIRED
508 API CDATA #REQUIRED
509 PIXEL_SHADER ( TRUE | FALSE ) #REQUIRED
510 TARGET CDATA #REQUIRED
511 ENTRY_POINT CDATA #REQUIRED
512 COMPILER_FLAGS CDATA #REQUIRED
513 >
514
515 <!ATTLIST RmGLShader
516 NAME CDATA #REQUIRED
517 API CDATA #REQUIRED
518 PIXEL_SHADER ( TRUE | FALSE ) #REQUIRED
519 >
520
521 <!ATTLIST RmGLESShader
522 NAME CDATA #REQUIRED
523 API CDATA #REQUIRED
524 PIXEL_SHADER ( TRUE | FALSE ) #REQUIRED
525 >
526
527 <!ATTLIST RmShaderConstant
528 NAME CDATA #REQUIRED
529 API CDATA #REQUIRED
530 REGISTER CDATA #REQUIRED
531 >
532
533 <!ATTLIST RmSampler
534 NAME CDATA #REQUIRED
535 API CDATA #REQUIRED
536 REGISTER CDATA #REQUIRED
537 >
538
539 <!ATTLIST RmTextureObject
540 NAME CDATA #REQUIRED
541 API CDATA #REQUIRED
542 STATE_INDEX CDATA #REQUIRED
543 VERTEX_TEXTURE ( TRUE | FALSE ) #REQUIRED
544 >
545
546 <!ATTLIST RmLightObject
547 NAME CDATA #REQUIRED
548 API CDATA #REQUIRED
549 INDEX CDATA #REQUIRED
550 >
551
552 <!ATTLIST RmMaterialObject
553 NAME CDATA #REQUIRED
554 API CDATA #REQUIRED
555 INDEX CDATA #REQUIRED
556 >
557
558 <!ATTLIST RmRenderStateBlock
559 NAME CDATA #REQUIRED
560 API CDATA #REQUIRED
561 >
562
563 <!ATTLIST RmState
564 NAME CDATA #REQUIRED
565 API CDATA #REQUIRED
566 STATE CDATA #REQUIRED
567 VALUE CDATA #REQUIRED
568 USAGE CDATA #REQUIRED
569 >
570
571 <!ATTLIST RmStreamMap
572 NAME CDATA #REQUIRED
573 API CDATA #REQUIRED
574 >
575
576 <!ATTLIST RmStream
577 NAME CDATA #REQUIRED
578 API CDATA #REQUIRED
579 STRIDE CDATA #REQUIRED
580 >
581
582 <!ATTLIST RmStreamChannel
583 NAME CDATA #REQUIRED
584 API CDATA #REQUIRED
585 DATA_SIZE CDATA #REQUIRED
586 DATA_TYPE CDATA #REQUIRED
587 REGISTER CDATA #REQUIRED
588 USAGE CDATA #REQUIRED
589 USAGE_INDEX CDATA #REQUIRED
590 ATTRIBUTE_NAME CDATA #REQUIRED
591 >
592
593 <!ATTLIST RmModelData
594 NAME CDATA #REQUIRED
595 API CDATA #REQUIRED
596 FILE_NAME CDATA #REQUIRED
597 ORIENTATION CDATA #REQUIRED
598 >
599
600 <!ATTLIST RmTextureReference
601 NAME CDATA #REQUIRED
602 API CDATA #REQUIRED
603 >
604
605 <!ATTLIST RmLightReference
606 NAME CDATA #REQUIRED
607 API CDATA #REQUIRED
608 >
609
610 <!ATTLIST RmMaterialReference
611 NAME CDATA #REQUIRED
612 API CDATA #REQUIRED
613 >
614
615 <!ATTLIST RmModelReference
616 NAME CDATA #REQUIRED
617 API CDATA #REQUIRED
618 >
619
620 <!ATTLIST RmStreamMapReference
621 NAME CDATA #REQUIRED
622 API CDATA #REQUIRED
623 >
624
625 <!ATTLIST RmRenderableTexture
626 NAME CDATA #REQUIRED
627 API CDATA #REQUIRED
628 ARTIST_EDITABLE ( TRUE | FALSE ) #REQUIRED
629 VARIABLE_SEMANTIC CDATA #REQUIRED
630 FILE_NAME CDATA #REQUIRED
631 ORIGIN CDATA #REQUIRED
632 WIDTH CDATA #REQUIRED
633 HEIGHT CDATA #REQUIRED
634 FORMAT CDATA #REQUIRED
635 USE_VIEWPORT_DIMENSIONS ( TRUE | FALSE ) #REQUIRED
636 GENERATE_MIPMAPS ( TRUE | FALSE ) #REQUIRED
637 WIDTH_RATIO CDATA #REQUIRED
638 HEIGHT_RATIO CDATA #REQUIRED
639 >
640
641 <!ATTLIST RmRenderTarget
642 NAME CDATA #REQUIRED
643 API CDATA #REQUIRED
644 INDEX CDATA #REQUIRED
645 RENDER_TO_SCREEN ( TRUE | FALSE ) #REQUIRED
646 COLOR_CLEAR ( TRUE | FALSE ) #REQUIRED
647 DEPTH_CLEAR ( TRUE | FALSE ) #REQUIRED
648 CLEAR_COLOR_VALUE CDATA #REQUIRED
649 DEPTH_CLEAR_VALUE CDATA #REQUIRED
650 >
651
652 <!ATTLIST RmBooleanVariable
653 NAME CDATA #REQUIRED
654 API CDATA #REQUIRED
655 ARTIST_EDITABLE ( TRUE | FALSE ) #REQUIRED
656 VARIABLE_SEMANTIC CDATA #REQUIRED
657 VALUE CDATA #REQUIRED
658 >
659
660 <!ATTLIST RmFloatVariable
661 NAME CDATA #REQUIRED
662 API CDATA #REQUIRED
663 ARTIST_EDITABLE ( TRUE | FALSE ) #REQUIRED
664 VARIABLE_SEMANTIC CDATA #REQUIRED
665 VALUE CDATA #REQUIRED
666 MIN CDATA #REQUIRED
667 MAX CDATA #REQUIRED
668 CLAMP ( TRUE | FALSE ) #REQUIRED
669 >
670
671 <!ATTLIST RmVectorVariable
672 NAME CDATA #REQUIRED
673 API CDATA #REQUIRED
674 ARTIST_EDITABLE ( TRUE | FALSE ) #REQUIRED
675 VARIABLE_SEMANTIC CDATA #REQUIRED
676 VALUE_0 CDATA #REQUIRED
677 VALUE_1 CDATA #REQUIRED
678 VALUE_2 CDATA #REQUIRED
679 VALUE_3 CDATA #REQUIRED
680 MIN CDATA #REQUIRED
681 MAX CDATA #REQUIRED
682 CLAMP ( TRUE | FALSE ) #REQUIRED
683 NORMALIZE ( TRUE | FALSE ) #REQUIRED
684 >
685
686 <!ATTLIST RmMatrixVariable
687 NAME CDATA #REQUIRED
688 API CDATA #REQUIRED
689 ARTIST_EDITABLE ( TRUE | FALSE ) #REQUIRED
690 VARIABLE_SEMANTIC CDATA #REQUIRED
691 VALUE_0 CDATA #REQUIRED
692 VALUE_1 CDATA #REQUIRED
693 VALUE_2 CDATA #REQUIRED
694 VALUE_3 CDATA #REQUIRED
695 VALUE_4 CDATA #REQUIRED
696 VALUE_5 CDATA #REQUIRED
697 VALUE_6 CDATA #REQUIRED
698 VALUE_7 CDATA #REQUIRED
699 VALUE_8 CDATA #REQUIRED
700 VALUE_9 CDATA #REQUIRED
701 VALUE_10 CDATA #REQUIRED
702 VALUE_11 CDATA #REQUIRED
703 VALUE_12 CDATA #REQUIRED
704 VALUE_13 CDATA #REQUIRED
705 VALUE_14 CDATA #REQUIRED
706 VALUE_15 CDATA #REQUIRED
707 >
708
709 <!ATTLIST RmDynamicVariable
710 NAME CDATA #REQUIRED
711 API CDATA #REQUIRED
712 ARTIST_EDITABLE ( TRUE | FALSE ) #REQUIRED
713 VARIABLE_SEMANTIC CDATA #REQUIRED
714 VARIABLE_TYPE ( FLOAT | INTEGER | BOOLEAN ) #REQUIRED
715 ROWS CDATA #REQUIRED
716 COLUMNS CDATA #REQUIRED
717 FIXED_SIZE ( TRUE | FALSE ) #REQUIRED
718 MIN CDATA #REQUIRED
719 MAX CDATA #REQUIRED
720 CLAMP ( TRUE | FALSE ) #REQUIRED
721 NORMALIZE ( TRUE | FALSE ) #REQUIRED
722 >
723
724 <!ATTLIST RmDynamicVariableValue
725 ROW_INDEX CDATA #REQUIRED
726 COLUMN_INDEX CDATA #REQUIRED
727 VALUE CDATA #REQUIRED
728 >
729
730 <!ATTLIST RmColorVariable
731 NAME CDATA #REQUIRED
732 API CDATA #REQUIRED
733 ARTIST_EDITABLE ( TRUE | FALSE ) #REQUIRED
734 VARIABLE_SEMANTIC CDATA #REQUIRED
735 VALUE_0 CDATA #REQUIRED
736 VALUE_1 CDATA #REQUIRED
737 VALUE_2 CDATA #REQUIRED
738 VALUE_3 CDATA #REQUIRED
739 >
740
741 <!ATTLIST RmIntegerVariable
742 NAME CDATA #REQUIRED
743 API CDATA #REQUIRED
744 ARTIST_EDITABLE ( TRUE | FALSE ) #REQUIRED
745 VARIABLE_SEMANTIC CDATA #REQUIRED
746 VALUE CDATA #REQUIRED
747 MIN CDATA #REQUIRED
748 MAX CDATA #REQUIRED
749 CLAMP ( TRUE | FALSE ) #REQUIRED
750 >
751
752 <!ATTLIST RmStringVariable
753 NAME CDATA #REQUIRED
754 API CDATA #REQUIRED
755 ARTIST_EDITABLE ( TRUE | FALSE ) #REQUIRED
756 VARIABLE_SEMANTIC CDATA #REQUIRED
757 >
758
759 <!ATTLIST Rm2DTextureVariable
760 NAME CDATA #REQUIRED
761 API CDATA #REQUIRED
762 ARTIST_EDITABLE ( TRUE | FALSE ) #REQUIRED
763 VARIABLE_SEMANTIC CDATA #REQUIRED
764 FILE_NAME CDATA #REQUIRED
765 ORIGIN CDATA #REQUIRED
766 >
767
768 <!ATTLIST RmCubemapVariable
769 NAME CDATA #REQUIRED
770 API CDATA #REQUIRED
771 ARTIST_EDITABLE ( TRUE | FALSE ) #REQUIRED
772 VARIABLE_SEMANTIC CDATA #REQUIRED
773 FILE_NAME CDATA #REQUIRED
774 ORIGIN CDATA #REQUIRED
775 >
776
777 <!ATTLIST Rm3DTextureVariable
778 NAME CDATA #REQUIRED
779 API CDATA #REQUIRED
780 ARTIST_EDITABLE ( TRUE | FALSE ) #REQUIRED
781 VARIABLE_SEMANTIC CDATA #REQUIRED
782 FILE_NAME CDATA #REQUIRED
783 ORIGIN CDATA #REQUIRED
784 >
785
786 <!ATTLIST RmLightVariable
787 NAME CDATA #REQUIRED
788 API CDATA #REQUIRED
789 ARTIST_EDITABLE ( TRUE | FALSE ) #REQUIRED
790 VARIABLE_SEMANTIC CDATA #REQUIRED
791 LIGHT_ENABLED ( TRUE | FALSE ) #REQUIRED
792 LIGHT_TYPE ( POSITIONAL | DIRECTIONAL | SPOTLIGHT ) #RE QUIRED
793 AMBIENT_0 CDATA #REQUIRED
794 AMBIENT_1 CDATA #REQUIRED
795 AMBIENT_2 CDATA #REQUIRED
796 AMBIENT_3 CDATA #REQUIRED
797 DIFFUSE_0 CDATA #REQUIRED
798 DIFFUSE_1 CDATA #REQUIRED
799 DIFFUSE_2 CDATA #REQUIRED
800 DIFFUSE_3 CDATA #REQUIRED
801 SPECULAR_0 CDATA #REQUIRED
802 SPECULAR_1 CDATA #REQUIRED
803 SPECULAR_2 CDATA #REQUIRED
804 SPECULAR_3 CDATA #REQUIRED
805 POSITION_0 CDATA #REQUIRED
806 POSITION_1 CDATA #REQUIRED
807 POSITION_2 CDATA #REQUIRED
808 DIRECTION_0 CDATA #REQUIRED
809 DIRECTION_1 CDATA #REQUIRED
810 DIRECTION_2 CDATA #REQUIRED
811 ATTENUATION_0 CDATA #REQUIRED
812 ATTENUATION_1 CDATA #REQUIRED
813 ATTENUATION_2 CDATA #REQUIRED
814 SPOTLIGHT_THETA CDATA #REQUIRED
815 SPOTLIGHT_PHI CDATA #REQUIRED
816 RANGE CDATA #REQUIRED
817 FALLOFF CDATA #REQUIRED
818 >
819
820 <!ATTLIST RmMaterialVariable
821 NAME CDATA #REQUIRED
822 API CDATA #REQUIRED
823 ARTIST_EDITABLE ( TRUE | FALSE ) #REQUIRED
824 VARIABLE_SEMANTIC CDATA #REQUIRED
825 AMBIENT_0 CDATA #REQUIRED
826 AMBIENT_1 CDATA #REQUIRED
827 AMBIENT_2 CDATA #REQUIRED
828 AMBIENT_3 CDATA #REQUIRED
829 DIFFUSE_0 CDATA #REQUIRED
830 DIFFUSE_1 CDATA #REQUIRED
831 DIFFUSE_2 CDATA #REQUIRED
832 DIFFUSE_3 CDATA #REQUIRED
833 SPECULAR_0 CDATA #REQUIRED
834 SPECULAR_1 CDATA #REQUIRED
835 SPECULAR_2 CDATA #REQUIRED
836 SPECULAR_3 CDATA #REQUIRED
837 EMISSIVE_0 CDATA #REQUIRED
838 EMISSIVE_1 CDATA #REQUIRED
839 EMISSIVE_2 CDATA #REQUIRED
840 EMISSIVE_3 CDATA #REQUIRED
841 SPECULAR_POWER CDATA #REQUIRED
842 >
843
844 <!ATTLIST RmRegistryBranch
845 NAME CDATA #REQUIRED
846 API CDATA #REQUIRED
847 XML_VERSION CDATA #REQUIRED
848 >
849
850 <!ATTLIST RmPlugInData
851 NAME CDATA #REQUIRED
852 API CDATA #REQUIRED
853 PLUGIN_GUID CDATA #REQUIRED
854 >
855
856 <!ATTLIST RmClipboardNode
857 NAME CDATA #REQUIRED
858 API CDATA #REQUIRED
859 XML_VERSION CDATA #REQUIRED
860 >
861
862 <!ATTLIST RmCamera
863 NAME CDATA #REQUIRED
864 API CDATA #REQUIRED
865 CAMERA_POSITION_X CDATA #REQUIRED
866 CAMERA_POSITION_Y CDATA #REQUIRED
867 CAMERA_POSITION_Z CDATA #REQUIRED
868 LOOK_AT_VECTOR_X CDATA #REQUIRED
869 LOOK_AT_VECTOR_Y CDATA #REQUIRED
870 LOOK_AT_VECTOR_Z CDATA #REQUIRED
871 UP_VECTOR_X CDATA #REQUIRED
872 UP_VECTOR_Y CDATA #REQUIRED
873 UP_VECTOR_Z CDATA #REQUIRED
874 FOV CDATA #REQUIRED
875 NEAR_CLIP_PLANE CDATA #REQUIRED
876 FAR_CLIP_PLANE CDATA #REQUIRED
877 >
878
879 <!ATTLIST RmCameraReference
880 NAME CDATA #REQUIRED
881 API CDATA #REQUIRED
882 USE_ACTIVE_CAMERA ( TRUE | FALSE ) #REQUIRED
883 >
884
885 <!ATTLIST RmShaderCode
886 TYPE ( TEXT ) #REQUIRED
887 >
888
889 <!ATTLIST RmTextDataBlock
890 TYPE ( TEXT ) #REQUIRED
891 >
892
893 ]>
894 <RENDER_MONKEY>
895 <RmEffectWorkspace NAME="Effect Workspace" API="" ACTIVE_EFFECT="Effect Workspa ce.Textured" VALIDATION_STRING="" XML_VERSION="RenderMonkey 1.71">
896 <RmRegistryBranch NAME="RM_REGISTRY" API="" XML_VERSION="RenderMonkey 1.71">
897 <RmRegistryBranch NAME="RM_LOCAL" API="" XML_VERSION="RenderMonkey 1.71">
898 <RmRegistryBranch NAME="RM_PLUGIN" API="" XML_VERSION="RenderMonkey 1.71"><R mTextDataBlock TYPE="TEXT"><![CDATA[
899 <DockingPaneLayouts><Application_Layout><Pane-1><Type>0</Type><DockingCX>250</Do ckingCX><DockingCY>250</DockingCY><Title>Artist Editor</Title><ID>1001</ID><Icon ID>-1</IconID><Options>0</Options><DockingHolder>12</DockingHolder><FloatingHold er>0</FloatingHolder><LastHolder>12</LastHolder></Pane-1><Pane-2><Type>0</Type>< DockingCX>254</DockingCX><DockingCY>374</DockingCY><Title>u_fogColor</Title><ID> 1100</ID><IconID>-1</IconID><Options>0</Options><DockingHolder>6</DockingHolder> <FloatingHolder>17</FloatingHolder><LastHolder>17</LastHolder></Pane-2><Pane-3>< Type>2</Type><DockingCX>0</DockingCX><DockingCY>0</DockingCY><Horiz>1</Horiz><Pa ne-1>4</Pane-1><Pane-2>5</Pane-2><Pane-3>6</Pane-3><Pane-4>7</Pane-4><Panes>4</P anes></Pane-3><Pane-4><Type>1</Type><DockingCX>566</DockingCX><DockingCY>128</Do ckingCY><Selected>0</Selected><Panes>0</Panes></Pane-4><Pane-5><Type>1</Type><Do ckingCX>566</DockingCX><DockingCY>128</DockingCY><Selected>0</Selected><Panes>0< /Panes></Pane-5><Pane-6><Type>1</Type><DockingCX>254</DockingCX><DockingCY>374</ DockingCY><Selected>0</Selected><Panes>0</Panes></Pane-6><Pane-7><Type>2</Type>< DockingCX>0</DockingCX><DockingCY>0</DockingCY><Horiz>0</Horiz><Pane-1>8</Pane-1 ><Pane-2>13</Pane-2><Panes>2</Panes></Pane-7><Pane-8><Type>2</Type><DockingCX>0< /DockingCX><DockingCY>641</DockingCY><Horiz>1</Horiz><Pane-1>9</Pane-1><Pane-2>1 1</Pane-2><Pane-3>12</Pane-3><Panes>3</Panes></Pane-8><Pane-9><Type>1</Type><Doc kingCX>250</DockingCX><DockingCY>250</DockingCY><Selected>10</Selected><Panes>1< /Panes><Pane-1>10</Pane-1></Pane-9><Pane-10><Type>0</Type><DockingCX>250</Dockin gCX><DockingCY>250</DockingCY><Title>Workspace</Title><ID>1000</ID><IconID>-1</I conID><Options>0</Options><DockingHolder>9</DockingHolder><FloatingHolder>0</Flo atingHolder><LastHolder>9</LastHolder></Pane-10><Pane-11><Type>4</Type><DockingC X>0</DockingCX><DockingCY>0</DockingCY></Pane-11><Pane-12><Type>1</Type><Docking CX>250</DockingCX><DockingCY>250</DockingCY><Selected>0</Selected><Panes>0</Pane s></Pane-12><Pane-13><Type>1</Type><DockingCX>250</DockingCX><DockingCY>250</Doc kingCY><Selected>14</Selected><Panes>1</Panes><Pane-1>14</Pane-1></Pane-13><Pane -14><Type>0</Type><DockingCX>250</DockingCX><DockingCY>250</DockingCY><Title>Out put</Title><ID>1002</ID><IconID>-1</IconID><Options>0</Options><DockingHolder>13 </DockingHolder><FloatingHolder>0</FloatingHolder><LastHolder>13</LastHolder></P ane-14><Pane-15><Type>3</Type><DockingCX>0</DockingCX><DockingCY>0</DockingCY><T opContaner>16</TopContaner><WindowRectTopPos>32</WindowRectTopPos><WindowRectBot tomPos>406</WindowRectBottomPos><WindowRectLeftPos>0</WindowRectLeftPos><WindowR ectRightPos>254</WindowRectRightPos></Pane-15><Pane-16><Type>2</Type><DockingCX> 254</DockingCX><DockingCY>374</DockingCY><Horiz>1</Horiz><Pane-1>17</Pane-1><Pan es>1</Panes></Pane-16><Pane-17><Type>1</Type><DockingCX>254</DockingCX><DockingC Y>374</DockingCY><Selected>0</Selected><Panes>0</Panes></Pane-17><Pane-18><Type> 0</Type><DockingCX>566</DockingCX><DockingCY>128</DockingCY><Title>u_fogMaxDist< /Title><ID>1101</ID><IconID>-1</IconID><Options>0</Options><DockingHolder>5</Doc kingHolder><FloatingHolder>21</FloatingHolder><LastHolder>21</LastHolder></Pane- 18><Pane-19><Type>3</Type><DockingCX>0</DockingCX><DockingCY>0</DockingCY><TopCo ntaner>20</TopContaner><WindowRectTopPos>32</WindowRectTopPos><WindowRectBottomP os>160</WindowRectBottomPos><WindowRectLeftPos>0</WindowRectLeftPos><WindowRectR ightPos>566</WindowRectRightPos></Pane-19><Pane-20><Type>2</Type><DockingCX>566< /DockingCX><DockingCY>128</DockingCY><Horiz>1</Horiz><Pane-1>21</Pane-1><Panes>1 </Panes></Pane-20><Pane-21><Type>1</Type><DockingCX>566</DockingCX><DockingCY>12 8</DockingCY><Selected>0</Selected><Panes>0</Panes></Pane-21><Pane-22><Type>0</T ype><DockingCX>566</DockingCX><DockingCY>128</DockingCY><Title>u_fogMinDist</Tit le><ID>1102</ID><IconID>-1</IconID><Options>0</Options><DockingHolder>4</Docking Holder><FloatingHolder>25</FloatingHolder><LastHolder>25</LastHolder></Pane-22>< Pane-23><Type>3</Type><DockingCX>0</DockingCX><DockingCY>0</DockingCY><TopContan er>24</TopContaner><WindowRectTopPos>32</WindowRectTopPos><WindowRectBottomPos>1 60</WindowRectBottomPos><WindowRectLeftPos>0</WindowRectLeftPos><WindowRectRight Pos>566</WindowRectRightPos></Pane-23><Pane-24><Type>2</Type><DockingCX>566</Doc kingCX><DockingCY>128</DockingCY><Horiz>1</Horiz><Pane-1>25</Pane-1><Panes>1</Pa nes></Pane-24><Pane-25><Type>1</Type><DockingCX>566</DockingCX><DockingCY>128</D ockingCY><Selected>0</Selected><Panes>0</Panes></Pane-25><Summary><TopContainer> 3</TopContainer><Client>11</Client><Panes>25</Panes></Summary></Application_Layo ut></DockingPaneLayouts>
900 ]]></RmTextDataBlock>
901 <RmRegistryBranch NAME="RmColorEditor" API="" XML_VERSION="RenderMonkey 1.7 1">
902 <RmRegistryBranch NAME="NodeRepository" API="" XML_VERSION="RenderMonkey 1 .71">
903 <RmRegistryBranch NAME="Effect Workspace.Textured.u_fogColor" API="" XML_ VERSION="RenderMonkey 1.71">
904 <RmIntegerVariable NAME="DockPaneID" API="" ARTIST_EDITABLE="FALSE" VARI ABLE_SEMANTIC="" VALUE="1100" MIN="-10" MAX="10" CLAMP="FALSE"/>
905 <RmBooleanVariable NAME="FloatingPoint" API="" ARTIST_EDITABLE="FALSE" V ARIABLE_SEMANTIC="" VALUE="FALSE"/>
906 <RmIntegerVariable NAME="ColorType" API="" ARTIST_EDITABLE="FALSE" VARIA BLE_SEMANTIC="" VALUE="0" MIN="-10" MAX="10" CLAMP="FALSE"/>
907 <RmBooleanVariable NAME="LargeSize" API="" ARTIST_EDITABLE="FALSE" VARIA BLE_SEMANTIC="" VALUE="TRUE"/>
908 </RmRegistryBranch>
909 </RmRegistryBranch>
910 </RmRegistryBranch>
911 <RmRegistryBranch NAME="RmScalarEditor" API="" XML_VERSION="RenderMonkey 1. 71">
912 <RmRegistryBranch NAME="NodeRepository" API="" XML_VERSION="RenderMonkey 1 .71">
913 <RmRegistryBranch NAME="Effect Workspace.Textured.u_fogMaxDist" API="" XM L_VERSION="RenderMonkey 1.71">
914 <RmIntegerVariable NAME="DockPaneID" API="" ARTIST_EDITABLE="FALSE" VARI ABLE_SEMANTIC="" VALUE="1101" MIN="-10" MAX="10" CLAMP="FALSE"/>
915 </RmRegistryBranch>
916 <RmRegistryBranch NAME="Effect Workspace.Textured.u_fogMinDist" API="" XM L_VERSION="RenderMonkey 1.71">
917 <RmIntegerVariable NAME="DockPaneID" API="" ARTIST_EDITABLE="FALSE" VARI ABLE_SEMANTIC="" VALUE="1102" MIN="-10" MAX="10" CLAMP="FALSE"/>
918 </RmRegistryBranch>
919 </RmRegistryBranch>
920 </RmRegistryBranch>
921 <RmRegistryBranch NAME="RmRenderStateBlockEditor" API="" XML_VERSION="Rende rMonkey 1.71">
922 <RmRegistryBranch NAME="NodeRepository" API="" XML_VERSION="RenderMonkey 1 .71">
923 <RmRegistryBranch NAME="Effect Workspace.Textured" API="" XML_VERSION="Re nderMonkey 1.71">
924 <RmIntegerVariable NAME="X" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMA NTIC="" VALUE="340" MIN="-10" MAX="10" CLAMP="FALSE"/>
925 <RmIntegerVariable NAME="Y" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMA NTIC="" VALUE="143" MIN="-10" MAX="10" CLAMP="FALSE"/>
926 <RmIntegerVariable NAME="Width" API="" ARTIST_EDITABLE="FALSE" VARIABLE_ SEMANTIC="" VALUE="1283" MIN="-10" MAX="10" CLAMP="FALSE"/>
927 <RmIntegerVariable NAME="Height" API="" ARTIST_EDITABLE="FALSE" VARIABLE _SEMANTIC="" VALUE="434" MIN="-10" MAX="10" CLAMP="FALSE"/>
928 <RmIntegerVariable NAME="ShowStatus" API="" ARTIST_EDITABLE="FALSE" VARI ABLE_SEMANTIC="" VALUE="1" MIN="-10" MAX="10" CLAMP="FALSE"/>
929 <RmIntegerVariable NAME="Visible" API="" ARTIST_EDITABLE="FALSE" VARIABL E_SEMANTIC="" VALUE="0" MIN="-10" MAX="10" CLAMP="FALSE"/>
930 <RmIntegerVariable NAME="Minimized X" API="" ARTIST_EDITABLE="FALSE" VAR IABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/>
931 <RmIntegerVariable NAME="Minimized Y" API="" ARTIST_EDITABLE="FALSE" VAR IABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/>
932 </RmRegistryBranch>
933 </RmRegistryBranch>
934 <RmRegistryBranch NAME="EditNodeRepository" API="" XML_VERSION="RenderMonk ey 1.71"/>
935 </RmRegistryBranch>
936 <RmRegistryBranch NAME="RmPreviewDx9Window" API="" XML_VERSION="RenderMonke y 1.71"/>
937 <RmRegistryBranch NAME="RmPreviewGLESWindow" API="" XML_VERSION="RenderMonk ey 1.71"/>
938 <RmRegistryBranch NAME="RmPreviewGLWindow" API="" XML_VERSION="RenderMonkey 1.71">
939 <RmRegistryBranch NAME="EffectPlacementRepository" API="" XML_VERSION="Ren derMonkey 1.71">
940 <RmRegistryBranch NAME="Effect Workspace.Textured" API="" XML_VERSION="Re nderMonkey 1.71">
941 <RmIntegerVariable NAME="X" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMA NTIC="" VALUE="0" MIN="-10" MAX="10" CLAMP="FALSE"/>
942 <RmIntegerVariable NAME="Y" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMA NTIC="" VALUE="0" MIN="-10" MAX="10" CLAMP="FALSE"/>
943 <RmIntegerVariable NAME="Width" API="" ARTIST_EDITABLE="FALSE" VARIABLE_ SEMANTIC="" VALUE="528" MIN="-10" MAX="10" CLAMP="FALSE"/>
944 <RmIntegerVariable NAME="Height" API="" ARTIST_EDITABLE="FALSE" VARIABLE _SEMANTIC="" VALUE="512" MIN="-10" MAX="10" CLAMP="FALSE"/>
945 <RmIntegerVariable NAME="ShowStatus" API="" ARTIST_EDITABLE="FALSE" VARI ABLE_SEMANTIC="" VALUE="1" MIN="-10" MAX="10" CLAMP="FALSE"/>
946 <RmIntegerVariable NAME="Visible" API="" ARTIST_EDITABLE="FALSE" VARIABL E_SEMANTIC="" VALUE="1" MIN="-10" MAX="10" CLAMP="FALSE"/>
947 <RmIntegerVariable NAME="Minimized X" API="" ARTIST_EDITABLE="FALSE" VAR IABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/>
948 <RmIntegerVariable NAME="Minimized Y" API="" ARTIST_EDITABLE="FALSE" VAR IABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/>
949 </RmRegistryBranch>
950 </RmRegistryBranch>
951 </RmRegistryBranch>
952 <RmRegistryBranch NAME="RmPreviewGLPreview" API="" XML_VERSION="RenderMonke y 1.71"/>
953 <RmRegistryBranch NAME="RmLightEditor" API="" XML_VERSION="RenderMonkey 1.7 1">
954 <RmRegistryBranch NAME="EditNodeRepository" API="" XML_VERSION="RenderMonk ey 1.71"/>
955 </RmRegistryBranch>
956 <RmRegistryBranch NAME="NoteEditor" API="" XML_VERSION="RenderMonkey 1.71">
957 <RmRegistryBranch NAME="EditNodeRepository" API="" XML_VERSION="RenderMonk ey 1.71"/>
958 </RmRegistryBranch>
959 <RmRegistryBranch NAME="RmRenderableTextureEditor" API="" XML_VERSION="Rend erMonkey 1.71">
960 <RmRegistryBranch NAME="EditNodeRepository" API="" XML_VERSION="RenderMonk ey 1.71"/>
961 </RmRegistryBranch>
962 <RmRegistryBranch NAME="RmRenderTargetEditor" API="" XML_VERSION="RenderMon key 1.71">
963 <RmRegistryBranch NAME="EditNodeRepository" API="" XML_VERSION="RenderMonk ey 1.71"/>
964 </RmRegistryBranch>
965 <RmRegistryBranch NAME="RmShaderEditor" API="" XML_VERSION="RenderMonkey 1. 71">
966 <RmRegistryBranch NAME="Effect Workspace.Textured" API="" XML_VERSION="Ren derMonkey 1.71">
967 <RmRegistryBranch NAME="Disassembly" API="" XML_VERSION="RenderMonkey 1.7 1"/>
968 <RmStringVariable NAME="Editing Shader" API="" ARTIST_EDITABLE="FALSE" VA RIABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[
969 Fragment Program]]></RmTextDataBlock></RmStringVariable>
970 <RmStringVariable NAME="Editing Pass" API="" ARTIST_EDITABLE="FALSE" VARI ABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[
971 Terrain]]></RmTextDataBlock></RmStringVariable>
972 <RmIntegerVariable NAME="Y" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMAN TIC="" VALUE="-19" MIN="-10" MAX="10" CLAMP="FALSE"/>
973 <RmIntegerVariable NAME="Width" API="" ARTIST_EDITABLE="FALSE" VARIABLE_S EMANTIC="" VALUE="650" MIN="-10" MAX="10" CLAMP="FALSE"/>
974 <RmIntegerVariable NAME="Height" API="" ARTIST_EDITABLE="FALSE" VARIABLE_ SEMANTIC="" VALUE="650" MIN="-10" MAX="10" CLAMP="FALSE"/>
975 <RmIntegerVariable NAME="ShowStatus" API="" ARTIST_EDITABLE="FALSE" VARIA BLE_SEMANTIC="" VALUE="1" MIN="-10" MAX="10" CLAMP="FALSE"/>
976 <RmIntegerVariable NAME="Visible" API="" ARTIST_EDITABLE="FALSE" VARIABLE _SEMANTIC="" VALUE="1" MIN="-10" MAX="10" CLAMP="FALSE"/>
977 <RmIntegerVariable NAME="Minimized X" API="" ARTIST_EDITABLE="FALSE" VARI ABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/>
978 <RmIntegerVariable NAME="Minimized Y" API="" ARTIST_EDITABLE="FALSE" VARI ABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/>
979 <RmIntegerVariable NAME="X" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMAN TIC="" VALUE="382" MIN="-10" MAX="10" CLAMP="FALSE"/>
980 </RmRegistryBranch>
981 </RmRegistryBranch>
982 <RmRegistryBranch NAME="RmTextureObjectEditor" API="" XML_VERSION="RenderMo nkey 1.71">
983 <RmRegistryBranch NAME="EditNodeRepository" API="" XML_VERSION="RenderMonk ey 1.71"/>
984 <RmRegistryBranch NAME="NodeRepository" API="" XML_VERSION="RenderMonkey 1 .71">
985 <RmRegistryBranch NAME="Effect Workspace.Textured" API="" XML_VERSION="Re nderMonkey 1.71">
986 <RmIntegerVariable NAME="X" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMA NTIC="" VALUE="81" MIN="-10" MAX="10" CLAMP="FALSE"/>
987 <RmIntegerVariable NAME="Y" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMA NTIC="" VALUE="105" MIN="-10" MAX="10" CLAMP="FALSE"/>
988 <RmIntegerVariable NAME="Width" API="" ARTIST_EDITABLE="FALSE" VARIABLE_ SEMANTIC="" VALUE="1283" MIN="-10" MAX="10" CLAMP="FALSE"/>
989 <RmIntegerVariable NAME="Height" API="" ARTIST_EDITABLE="FALSE" VARIABLE _SEMANTIC="" VALUE="434" MIN="-10" MAX="10" CLAMP="FALSE"/>
990 <RmIntegerVariable NAME="ShowStatus" API="" ARTIST_EDITABLE="FALSE" VARI ABLE_SEMANTIC="" VALUE="1" MIN="-10" MAX="10" CLAMP="FALSE"/>
991 <RmIntegerVariable NAME="Visible" API="" ARTIST_EDITABLE="FALSE" VARIABL E_SEMANTIC="" VALUE="0" MIN="-10" MAX="10" CLAMP="FALSE"/>
992 <RmIntegerVariable NAME="Minimized X" API="" ARTIST_EDITABLE="FALSE" VAR IABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/>
993 <RmIntegerVariable NAME="Minimized Y" API="" ARTIST_EDITABLE="FALSE" VAR IABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/>
994 </RmRegistryBranch>
995 </RmRegistryBranch>
996 </RmRegistryBranch>
997 <RmRegistryBranch NAME="RmTextureGenerator" API="" XML_VERSION="RenderMonke y 1.71">
998 <RmRegistryBranch NAME="EditNodeRepository" API="" XML_VERSION="RenderMonk ey 1.71"/>
999 </RmRegistryBranch>
1000 <RmRegistryBranch NAME="RmStreamEditor" API="" XML_VERSION="RenderMonkey 1. 71">
1001 <RmRegistryBranch NAME="Effect Workspace.Textured.Stream Mapping" API="" X ML_VERSION="RenderMonkey 1.71">
1002 <RmIntegerVariable NAME="X" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMAN TIC="" VALUE="258" MIN="-10" MAX="10" CLAMP="FALSE"/>
1003 <RmIntegerVariable NAME="Y" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMAN TIC="" VALUE="128" MIN="-10" MAX="10" CLAMP="FALSE"/>
1004 <RmIntegerVariable NAME="Width" API="" ARTIST_EDITABLE="FALSE" VARIABLE_S EMANTIC="" VALUE="851" MIN="-10" MAX="10" CLAMP="FALSE"/>
1005 <RmIntegerVariable NAME="Height" API="" ARTIST_EDITABLE="FALSE" VARIABLE_ SEMANTIC="" VALUE="270" MIN="-10" MAX="10" CLAMP="FALSE"/>
1006 <RmIntegerVariable NAME="ShowStatus" API="" ARTIST_EDITABLE="FALSE" VARIA BLE_SEMANTIC="" VALUE="1" MIN="-10" MAX="10" CLAMP="FALSE"/>
1007 <RmIntegerVariable NAME="Visible" API="" ARTIST_EDITABLE="FALSE" VARIABLE _SEMANTIC="" VALUE="0" MIN="-10" MAX="10" CLAMP="FALSE"/>
1008 <RmIntegerVariable NAME="Minimized X" API="" ARTIST_EDITABLE="FALSE" VARI ABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/>
1009 <RmIntegerVariable NAME="Minimized Y" API="" ARTIST_EDITABLE="FALSE" VARI ABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/>
1010 </RmRegistryBranch>
1011 </RmRegistryBranch>
1012 </RmRegistryBranch>
1013 <RmRegistryBranch NAME="WORKSPACE" API="" XML_VERSION="RenderMonkey 1.71">
1014 <RmStringVariable NAME="LAST_SAVE" API="" ARTIST_EDITABLE="FALSE" VARIABLE_ SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[
1015 20/1/2008 12:42:24]]></RmTextDataBlock></RmStringVariable>
1016 <RmStringVariable NAME="VERSION" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SE MANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[
1017 RenderMonkey Version 1.80 (build 125)]]></RmTextDataBlock></RmStringVariable>
1018 <RmStringVariable NAME="XML_VERSION" API="" ARTIST_EDITABLE="FALSE" VARIABL E_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[
1019 RenderMonkey 1.71]]></RmTextDataBlock></RmStringVariable>
1020 <RmStringVariable NAME="BASE_WORKSPACE_PATH" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[
1021 D:\svn\redbook\Code\Chapter_13\Noise3D\]]></RmTextDataBlock></RmStringVariable>
1022 </RmRegistryBranch>
1023 </RmRegistryBranch>
1024 </RmRegistryBranch>
1025 <RmOpenGLESEffect NAME="Textured" API="OpenGL ES" ACTIVE_CAMERA="Camera">
1026 <RmCamera NAME="Camera" API="" CAMERA_POSITION_X="-80.307373" CAMERA_POSITION _Y="12.115058" CAMERA_POSITION_Z="-182.767441" LOOK_AT_VECTOR_X="0.000000" LOOK_ AT_VECTOR_Y="0.000000" LOOK_AT_VECTOR_Z="0.000000" UP_VECTOR_X="-0.012923" UP_VE CTOR_Y="0.997336" UP_VECTOR_Z="0.071790" FOV="45.000000" NEAR_CLIP_PLANE="1.0000 00" FAR_CLIP_PLANE="1000.000000"/>
1027 <RmFloatVariable NAME="u_fogMinDist" API="" ARTIST_EDITABLE="FALSE" VARIABLE_ SEMANTIC="" VALUE="-200.000000" MIN="-1.000000" MAX="0.000000" CLAMP="FALSE"/>
1028 <RmFloatVariable NAME="u_fogMaxDist" API="" ARTIST_EDITABLE="FALSE" VARIABLE_ SEMANTIC="" VALUE="500.000000" MIN="-1.000000" MAX="1.000000" CLAMP="FALSE"/>
1029 <RmVectorVariable NAME="u_eyePos" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEM ANTIC="ViewPosition" VALUE_0="-80.307373" VALUE_1="12.115058" VALUE_2="-182.7674 41" VALUE_3="1.000000" MIN="-10.000000" MAX="10.000000" CLAMP="FALSE" NORMALIZE= "FALSE"/>
1030 <RmMatrixVariable NAME="u_matView" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SE MANTIC="View" VALUE_0="-0.915752" VALUE_1="-0.040636" VALUE_2="0.399684" VALUE_3 ="-0.000002" VALUE_4="-0.012923" VALUE_5="0.997336" VALUE_6="0.071790" VALUE_7=" 0.000279" VALUE_8="-0.401537" VALUE_9="0.060575" VALUE_10="-0.913837" VALUE_11=" -199.999985" VALUE_12="0.000000" VALUE_13="0.000000" VALUE_14="0.000000" VALUE_1 5="1.000000"/>
1031 <RmMatrixVariable NAME="u_matViewProjection" API="" ARTIST_EDITABLE="FALSE" V ARIABLE_SEMANTIC="ViewProjection" VALUE_0="-2.005162" VALUE_1="-0.088978" VALUE_ 2="0.875163" VALUE_3="-0.000005" VALUE_4="-0.031199" VALUE_5="2.407782" VALUE_6= "0.173316" VALUE_7="0.000675" VALUE_8="0.401939" VALUE_9="-0.060636" VALUE_10="0 .914752" VALUE_11="199.199188" VALUE_12="0.401537" VALUE_13="-0.060575" VALUE_14 ="0.913837" VALUE_15="199.999985"/>
1032 <RmFloatVariable NAME="u_time" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANT IC="Time0_X" VALUE="100.126518" MIN="-1.000000" MAX="1.000000" CLAMP="FALSE"/>
1033 <RmColorVariable NAME="u_fogColor" API="" ARTIST_EDITABLE="TRUE" VARIABLE_SEM ANTIC="" VALUE_0="1.000000" VALUE_1="1.000000" VALUE_2="1.000000" VALUE_3="0.000 000"/>
1034 <Rm2DTextureVariable NAME="base" API="" ARTIST_EDITABLE="TRUE" VARIABLE_SEMAN TIC="" FILE_NAME="Terrain.tga" ORIGIN="0"/>
1035 <Rm3DTextureVariable NAME="NoiseVolume" API="" ARTIST_EDITABLE="FALSE" VARIAB LE_SEMANTIC="" FILE_NAME="NoiseVolume.dds" ORIGIN="0"/>
1036 <RmStreamMap NAME="Stream Mapping" API="">
1037 <RmStream NAME="Stream" API="" STRIDE="20">
1038 <RmStreamChannel NAME="Position_0" API="" DATA_SIZE="12" DATA_TYPE="2" REGI STER="0" USAGE="0" USAGE_INDEX="0" ATTRIBUTE_NAME="a_vertex"/>
1039 <RmStreamChannel NAME="TexCoord_0" API="" DATA_SIZE="8" DATA_TYPE="1" REGIS TER="0" USAGE="5" USAGE_INDEX="0" ATTRIBUTE_NAME="a_texCoord"/>
1040 </RmStream>
1041 </RmStreamMap>
1042 <RmModelData NAME="Model" API="" FILE_NAME=".\Terrain.3ds" ORIENTATION="0"/>
1043 <RmModelData NAME="SkyDome" API="" FILE_NAME=".\SkyDome.3ds" ORIENTATION="0"/ >
1044 <RmGLESPass NAME="Sky" API="OpenGL ES" PASS_INDEX="0" ENABLED="TRUE">
1045 <RmCameraReference NAME="Camera" API="" USE_ACTIVE_CAMERA="FALSE"/>
1046 <RmModelReference NAME="SkyDome" API=""/>
1047 <RmRenderStateBlock NAME="Render State" API="OpenGL ES">
1048 <RmState NAME="GL_FrontFace" API="OpenGL ES" STATE="7" VALUE="2" USAGE="REN DER_STATE"/>
1049 </RmRenderStateBlock>
1050 <RmGLESShader NAME="Vertex Program" API="OpenGL ES" PIXEL_SHADER="FALSE"><Rm ShaderCode TYPE="TEXT"><![CDATA[
1051 uniform mat4 u_matViewProjection;
1052 attribute vec4 a_vertex;
1053 void main(void)
1054 {
1055 gl_Position = u_matViewProjection * a_vertex;
1056 }]]></RmShaderCode></RmGLESShader>
1057 <RmGLESShader NAME="Fragment Program" API="OpenGL ES" PIXEL_SHADER="TRUE"><R mShaderCode TYPE="TEXT"><![CDATA[
1058 #ifdef GL_FRAGMENT_PRECISION_HIGH
1059 // Default precision
1060 precision highp float;
1061 #else
1062 precision mediump float;
1063 #endif
1064
1065 uniform vec4 u_fogColor;
1066
1067 void main(void)
1068 {
1069 gl_FragColor = u_fogColor;
1070 }]]></RmShaderCode></RmGLESShader>
1071 <RmStreamMapReference NAME="Stream Mapping" API=""/>
1072 <RmShaderConstant NAME="u_fogColor" API="" REGISTER="-1"/>
1073 <RmShaderConstant NAME="u_matViewProjection" API="" REGISTER="-1"/>
1074 </RmGLESPass>
1075 <RmGLESPass NAME="Terrain" API="OpenGL ES" PASS_INDEX="1" ENABLED="TRUE">
1076 <RmCameraReference NAME="Camera" API="" USE_ACTIVE_CAMERA="FALSE"/>
1077 <RmModelReference NAME="Model" API=""/>
1078 <RmRenderStateBlock NAME="Render State" API="OpenGL ES">
1079 <RmState NAME="GL_FrontFace" API="OpenGL ES" STATE="7" VALUE="1" USAGE="REN DER_STATE"/>
1080 </RmRenderStateBlock>
1081 <RmGLESShader NAME="Vertex Program" API="OpenGL ES" PIXEL_SHADER="FALSE"><Rm ShaderCode TYPE="TEXT"><![CDATA[
1082 uniform mat4 u_matViewProjection;
1083 uniform mat4 u_matView;
1084 uniform vec4 u_eyePos;
1085
1086 attribute vec4 a_vertex;
1087 attribute vec2 a_texCoord;
1088
1089 varying vec2 v_texCoord;
1090 varying float v_eyeDist;
1091
1092 void main( void )
1093 {
1094 // Transform vertex to view-space
1095 vec4 vViewPos = u_matView * a_vertex;
1096
1097 // Compute the distance to eye
1098 v_eyeDist = sqrt( (vViewPos.x - u_eyePos.x) *
1099 (vViewPos.x - u_eyePos.x) +
1100 (vViewPos.y - u_eyePos.y) *
1101 (vViewPos.y - u_eyePos.y) +
1102 (vViewPos.z - u_eyePos.z) *
1103 (vViewPos.z - u_eyePos.z) );
1104
1105 gl_Position = u_matViewProjection * a_vertex;
1106 v_texCoord = a_texCoord.xy;
1107 }]]></RmShaderCode></RmGLESShader>
1108 <RmGLESShader NAME="Fragment Program" API="OpenGL ES" PIXEL_SHADER="TRUE"><R mShaderCode TYPE="TEXT"><![CDATA[
1109 #extension GL_OES_texture_3D : enable
1110 precision mediump float;
1111
1112 uniform vec4 u_fogColor;
1113 uniform float u_fogMaxDist;
1114 uniform float u_fogMinDist;
1115 uniform float u_time;
1116 uniform sampler2D baseMap;
1117 uniform sampler3D noiseVolume;
1118
1119 varying vec2 v_texCoord;
1120 varying float v_eyeDist;
1121
1122 float computeLinearFogFactor()
1123 {
1124 float factor;
1125
1126 // Compute linear fog equation
1127 factor = (u_fogMaxDist - v_eyeDist) /
1128 (u_fogMaxDist - u_fogMinDist );
1129
1130 return factor;
1131 }
1132
1133 void main( void )
1134 {
1135 float fogFactor = computeLinearFogFactor();
1136 vec4 baseColor = texture2D( baseMap, v_texCoord );
1137
1138 // Distort fog factor by noise
1139 vec3 noiseCoord;
1140 noiseCoord.xy = v_texCoord.xy - ( u_time * 0.1 );
1141 noiseCoord.z = u_time * 0.1;
1142
1143 fogFactor += texture3D( noiseVolume, noiseCoord ).r;
1144 fogFactor = clamp ( fogFactor, 0.0, 1.0 );
1145
1146 // Compute final color as a lerp with fog factor
1147 gl_FragColor = baseColor * fogFactor +
1148 u_fogColor * (1.0 - fogFactor);
1149 }]]></RmShaderCode></RmGLESShader>
1150 <RmStreamMapReference NAME="Stream Mapping" API=""/>
1151 <RmTextureObject NAME="baseMap" API="OpenGL ES" STATE_INDEX="0" VERTEX_TEXTU RE="FALSE">
1152 <RmTextureReference NAME="base" API=""/>
1153 <RmState NAME="GL_TextureMinify" API="OpenGL ES" STATE="4" VALUE="6" USAGE= "SAMPLER_STATE"/>
1154 <RmState NAME="GL_TextureMagnify" API="OpenGL ES" STATE="5" VALUE="1" USAGE ="SAMPLER_STATE"/>
1155 </RmTextureObject>
1156 <RmTextureObject NAME="noiseVolume" API="OpenGL ES" STATE_INDEX="1" VERTEX_T EXTURE="FALSE">
1157 <RmTextureReference NAME="NoiseVolume" API=""/>
1158 </RmTextureObject>
1159 <RmSampler NAME="baseMap" API="" REGISTER="-1"/>
1160 <RmSampler NAME="noiseVolume" API="" REGISTER="-1"/>
1161 <RmShaderConstant NAME="u_fogMaxDist" API="" REGISTER="-1"/>
1162 <RmShaderConstant NAME="u_fogMinDist" API="" REGISTER="-1"/>
1163 <RmShaderConstant NAME="u_matView" API="" REGISTER="-1"/>
1164 <RmShaderConstant NAME="u_matViewProjection" API="" REGISTER="-1"/>
1165 <RmShaderConstant NAME="u_time" API="" REGISTER="-1"/>
1166 <RmShaderConstant NAME="u_eyePos" API="" REGISTER="-1"/>
1167 <RmShaderConstant NAME="u_fogColor" API="" REGISTER="-1"/>
1168 </RmGLESPass>
1169 </RmOpenGLESEffect>
1170 </RmEffectWorkspace>
1171 </RENDER_MONKEY>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698