Rev 8666 | Rev 9237 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8232 | leency | 1 | |
8719 | leency | 2 | 1. New displaying model - texturing with bilinear filtering and transparency |
3 | simultanusly. Note that filtering is done only inside polygon. To better |
||
4 | quality of image there is a need to use floats coordinates of texture to pass |
||
5 | as arguments to single triangle rendering proc. |
||
6 | 2. Optimizations. |
||
7 | 3. SSE3 version runs correct on SSE2 cpus, but real phong, glass and |
||
8 | transparented texturing with filtering rendering models are disabled. |
||
9 | ----------------------------------------------------------------------------------- |
||
10 | |||
11 | |||
8666 | dunkaist | 12 | 1. New displaying model - glass - it's two pass rendering. First pass calculates |
13 | Z position of all front pixels, second render image with adding reflective |
||
14 | component of light only for front pixels. Transparent effect by adding with saturation. |
||
15 | 2. I removed bug with performing generation object after choosing 'emboss' option. |
||
16 | ----------------------------------------------------------------------------------- |
||
17 | |||
18 | |||
8232 | leency | 19 | 1. Some keys support by Leency. |
20 | 2. New displaying model - real Phong - real not fake normal vector interpolation, |
||
21 | normalising it and calculating dot product (one for each light). |
||
22 | It requires SSE3. (by me, Maciej Guba) |
||
23 | ----------------------------------------------------------------------------------- |
||
24 | |||
25 | |||
8047 | leency | 26 | 1. KPacked files support by Leency. |
27 | 2. 32bit vertices indexes and ability to load whole RAM limited objects. |
||
28 | (Above 65535 vertices and triangles), (by me). |
||
29 | 3. I switch off painters algotithm mode (depth sorting). In app impelementetion it has |
||
30 | limited vertices count and produce less quality image than Z buffer Catmull algo. |
||
31 | In addition this switch off reduces app size, (by me). |
||
32 | ----------------------------------------------------------------------------------- |
||
33 | |||
34 | |||
7280 | leency | 35 | 1. Editing option - new 'editor' button. |
36 | 2. For now I disable perspective correction, to make implemtation |
||
8014 | leency | 37 | of editing option easier. |
38 | ----------------------------------------------------------------------------------- |
||
7280 | leency | 39 | |
40 | |||
6769 | IgorA | 41 | 1. Sizable app window. |
42 | ----------------------------------------------------------------------------------- |
||
43 | |||
5486 | leency | 44 | |
6769 | IgorA | 45 | 1. App window size according to current screen resolution. |
6648 | leency | 46 | 2. New emboss procedure. |
47 | ----------------------------------------------------------------------------------- |
||
48 | |||
49 | |||
6619 | leency | 50 | 1. Asc files support. |
51 | ----------------------------------------------------------------------------------- |
||
52 | |||
53 | |||
5486 | leency | 54 | 1. Bug fixes. |
3066 | leency | 55 | ----------------------------------------------------------------------------------- |
56 | |||
57 | |||
58 | 1. Postprocessing effect - wave. Ability to change amplitude and frequency. |
||
59 | ----------------------------------------------------------------------------------- |
||
60 | |||
61 | |||
62 | 1. Counter fix by Mario. |
||
63 | 2. New drawing model - smooth shaded lines (edges only view) by me. |
||
64 | ----------------------------------------------------------------------------------- |
||
65 | |||
66 | |||
2736 | leency | 67 | 1. Two new buttons to increase and decrease brightness. |
68 | ----------------------------------------------------------------------------------- |
||
69 | |||
70 | |||
2193 | leency | 71 | 1. Header fix by Leency. |
72 | 2. SSE2 optimizations by me. (Most visable in BUMP_TEX mode.) |
||
73 | ----------------------------------------------------------------------------------- |
||
2736 | leency | 74 | |
2193 | leency | 75 | |
1979 | yogev_ezra | 76 | 1. Bump and pararell two texture mapping functions optimizations. |
77 | (files bump_cat.inc & two_tex.inc) |
||
78 | On my P4 changes are rather non visable, but on dual core in KlbrInWin |
||
79 | optimizations runs preety nice. |
||
80 | ----------------------------------------------------------------------------------- |
||
81 | |||
82 | |||
83 | 1. Blur function optimization on SSE and SSE2 (buttons 'blur' and 'fire'). |
||
6619 | leency | 84 | ----------------------------------------------------------------------------------- |
1979 | yogev_ezra | 85 | |
6619 | leency | 86 | |
1931 | yogev_ezra | 87 | 1. By opening file bigger then ~18 KB, and choosing env mode program terminate. |
88 | I remove this bug |
||
89 | ----------------------------------------------------------------------------------- |
||
90 | |||
91 | |||
92 | 1. MMX optimizations in 2tex mode (file two_tex.inc). |
||
93 | 2. Tiny SSE optimizations (file BUMP_CAT.INC). |
||
94 | 3. Bit (two instructions) improved random light generation procedure. |
||
95 | ----------------------------------------------------------------------------------- |
||
96 | |||
97 | |||
1819 | yogev_ezra | 98 | 1. SSE optimizations (file BUMP_TEX.INC). |
99 | 2. Compiles correctly in newest FASM. |
||
100 | ----------------------------------------------------------------------------------- |
||
101 | |||
102 | |||
103 | 1. Skinned window by Leency. |
||
104 | 2. Optimizations. |
||
105 | 3. Re map texture, bumps option - allow spherical mapping around each axle (X,Y,Z). |
||
106 | 4. Problem with too small memory to generate object fixed. (Problem ocurred with |
||
107 | house.3ds object and others objects contains less than 1000 faces and points). |
||
108 | ----------------------------------------------------------------------------------- |
||
109 | |||
110 | |||
111 | 1. Optimizations. |
||
112 | ----------------------------------------------------------------------------------- |
||
113 | |||
114 | |||
115 | 1. Memory for file is allocated dynamically. |
||
116 | 2. Optimizations. |
||
117 | Note: compiling correct only for KolibriOS. |
||
118 | ----------------------------------------------------------------------------------- |
||
119 | |||
120 | |||
121 | 1. More smooth texture mapping in tex and txgr shading model and others based on |
||
122 | tex3.inc, tex_cat.inc shading models. |
||
123 | 2. Predefined three, I hope, nice lights. |
||
124 | ----------------------------------------------------------------------------------- |
||
125 | |||
126 | |||
127 | 1. New shading model: cubic environment mapping with 1.5 kb light buffer. |
||
128 | 2. Bumps optionally according to texture. ( It gives so called texture with |
||
129 | shifts in bumps + texture shading model. ) |
||
130 | 3. Bumps depth button. |
||
131 | ----------------------------------------------------------------------------------- |
||
132 | |||
133 | |||
134 | 1. New shading model: bump + texture. Only version with z coordinate |
||
135 | interpolation. |
||
136 | 2. SSE optimizations ( files: two_tex.inc and bump_tex.inc ) |
||
137 | ----------------------------------------------------------------------------------- |
||
138 | |||
139 | |||
140 | 1. Two shading models: smooth + texture, spherical environment mapping + texture. |
||
141 | Version only with z coordinate interpolation. |
||
142 | 2. Bit changed rotary. I took attempt in SSE instuctions. ( matrix multiplication ) |
||
143 | 3. Color position depend drawing model instead spot light ( I hope,spot light come |
||
8047 | leency | 144 | back in future ). |
1819 | yogev_ezra | 145 | ----------------------------------------------------------------------------------- |
146 | |||
147 | |||
148 | 1. New shading models - "spot" - spot light (only one, it's very CPU hungry model, |
||
149 | and there is no easy way to implement buffer) with light attenuation (In my |
||
150 | implmentation works not perfect); "dots" - app draws only points (with no culling). |
||
151 | 2. Some loseless operations "mirror": according to each axis, rotary 90 degrees. |
||
152 | 3. Postprocesing efects: Emboss (use blur to make edges more visable), fire ( be |
||
153 | carefull during `fire + embos`parallel using). |
||
154 | 4. "Move" - Changes meaning of 'add vector' buttons: |
||
155 | used "obj" move object, "camr" move camera (in this option use culling = 'off' |
||
156 | I must make culling procedure bit advanced). |
||
157 | 5. Generate button. Few objects generating (with bad normals) |
||
158 | 6. Some optimizations on MMX. |
||
159 | 7. I took an attempt to memory managing functions, but it decreased speed (no aligned |
||
160 | memory in Menuet functions?) |
||
161 | |||
162 | |||
163 | Greetings for all, especially Madis Kalme for .3ds files support and good vibrations. ;) |
||
164 | Merry Christmas and happy new year. |
||
165 | ----------------------------------------------------------------------------------- |
||
166 | |||
167 | |||
168 | 1. Object generating (for now only one). When no parameter specified or error occured |
||
169 | during reading file from disk, app generate object. No teapot.3ds needed on ramdrive, |
||
170 | but, if this file exist it would be read as default. |
||
171 | 2. Bug in read_from_file procedure fixed. (In May, when I made shading light vector |
||
172 | depend, I demaged bit Madis' procedure.) |
||
173 | 3. Backface culling on/off option. (Some objects need culling off - they have mismatched |
||
174 | normal vectors. Example: iron.3ds, sink.3ds, the generated one.) |
||
175 | 4. Random lights procedure. |
||
176 | 5. Spherical (instead old - planar ) bump, texture mapping. |
||
177 | 6. Bit improved menu. |
||
178 | 7. Blur. |
||
179 | ----------------------------------------------------------------------------------- |
||
180 | |||
181 | |||
182 | Based on earlier demos. |
||
183 | 1. 3ds object import as a parameter ( for now only short names supported ) |
||
184 | I updated Kfar app - it can run view3ds with parameter. You must copy it on |
||
185 | ramdrive. You could do such funny thing: Run updated Kfar in KolbrInWin, |
||
186 | before them set in KolInWin.ini file path to ramdrive, where yo have "view3ds", |
||
187 | choose 3ds file ... Emulator will run View3ds with selected file. |
||
188 | If no parameter specified, app try open tpot.3ds from ramdrive. If tpot.3ds |
||
189 | don't exist on rd, app hang. |
||
190 | 2. Many lights. Every light - unlinear model ( Phong illumination ). For now |
||
191 | no light setting option. |
||
192 | 3. Light buffer for grd, flat model. |
||
193 |