Rev 9237 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9237 | Rev 9512 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | View3ds 0.074 - tiny viewer to .3ds and .asc files with several graphics |
1 | View3ds 0.076 - tiny viewer to .3ds and .asc files with several graphics |
2 | effects implementation. |
2 | effects implementation. |
Line 3... | Line 3... | ||
3 | 3 | ||
- | 4 | What's new? |
|
4 | What's new? |
5 | 1. Detecting manifold chunks procedure based on kind of sorted pivot |
- | 6 | table. Chunks are counted and this number displayed. |
|
- | 7 | 2. New calculating normal vectors proc that use some data produced |
|
- | 8 | by new chunks routine. Now big object loading is fast. I load object that |
|
- | 9 | contains ~500000 vertices, ~700000 faces and ~2000 0000 unique edges |
|
5 | 1. Fixed emboss bug in grd lines displaying model. |
10 | in few seconds on i5 2cond gen. Earlier such objects calculating was |
- | 11 | rather above time limits. |
|
6 | 2. Grd line exceedes screen problem fix. |
12 | 3. On http://board.flatassembler.net occasionaly there are some disccusions |
- | 13 | about optimizing. Some clever people, wich skills and competence I trust, |
|
- | 14 | claims - for CPU's manufactured last ~15 years size of code is crucial |
|
- | 15 | for speed. (Better utilize CPU cache). |
|
7 | 3. New rendering model - ray casted shadows and appropiate button to |
16 | So I wrote some 'movsd' mnemonics instead 'mov [edi],sth'; 'loop' instead |
8 | set 'on' this option. Note that is non real time model, especially when |
17 | 'dec ecx,jnz sth'. Moreover I come back to init some local varibles |
- | 18 | by 'push' (flat_cat.inc). I took effort to change divisions to |
|
9 | complex object is computed. I took effort to introduce accelerating |
19 | multiplications two_tex.inc (works ok in fpu only Ext = NON mode and |
10 | structure - AABB (Axis Aligned Bounding Boxes).. but it is disabled |
20 | of course in Ext = SSE3 mode), grd_tex.inc (single line not parallel |
- | 21 | muls, whole drawing routine 4 divs instead 27 divisions), |
|
- | 22 | bump_tex.inc - 3 divs in SSE2 mode.s See sources for details. |
|
- | 23 | 4. Editor button allows now editing by vertex all above 65535 vert objects. |
|
- | 24 | ||
Line 11... | Line 25... | ||
11 | for now - seems to work incorrect(slow). |
25 | |
12 | 26 | ||
- | 27 | ||
13 | 28 | Buttons description: |
|
14 | Buttons description: |
29 | 1. rotary: choosing rotary axle: x, y, x+y, keys - for object translate |
15 | 1. rotary: choosing rotary axle: x, y, x+y. |
30 | using keyboard. . |
16 | 2. shd. model: choosing shading model: flat, grd (smooth), env (spherical |
31 | 2. shd. model: choosing shading model: flat, grd (smooth), env (spherical |
17 | environment mapping, bump (bump mapping), tex (texture mapping), |
32 | environment mapping, bump (bump mapping), tex (texture mapping), |
Line 44... | Line 59... | ||
44 | vertex, Pressing and moving left mouse button (cursor must be on handler)- change |
59 | vertex, Pressing and moving left mouse button (cursor must be on handler)- change |
45 | vertex position. If left mouse button is released apply current position. You may also |
60 | vertex position. If left mouse button is released apply current position. You may also |
46 | decrease whole handlers count by enable culling (using appropriate button) - some |
61 | decrease whole handlers count by enable culling (using appropriate button) - some |
47 | back handlers become hidden. |
62 | back handlers become hidden. |
Line 48... | Line 63... | ||
48 | 63 |