Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Apr 16, 2024 9:36 pm
All times are UTC + 0
YOU PEOPLE HAVE BEEN LIVING A LIE
Moderators: stucuk
Post new topic   Reply to topic Page 1 of 1 [22 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
tomsons26lv
Cyborg Artillery


Joined: 30 Dec 2009
Location: Latvia

PostPosted: Thu Sep 01, 2016 9:32 pm    Post subject:  YOU PEOPLE HAVE BEEN LIVING A LIE Reply with quote  Mark this post and the followings unread

Here have the complete normal arrays from YR exe without missing or misplaced values

Code:
.data:008469E0                    ; int Voxel_Normal_Arrays[]
.data:008469E0 00 00 00 00        Voxel_Normal_Arrays dd 0                ; DATA XREF: Voxel_758670r
.data:008469E0                                                            ; Voxel_7586F0+12r
.data:008469E0                                                            ; Voxel_758880+1Cr
.data:008469E4 08 6A 84 00                        dd offset Normal_Index_1
.data:008469E8 C8 6A 84 00                        dd offset Normal_Index_2
.data:008469EC 78 6C 84 00                        dd offset Normal_Index_3
.data:008469F0 78 6F 84 00                        dd offset Normal_Index_4

.data:008469F4                    ; int NormalCount[]
.data:008469F4 00 00 00 00        NormalCount     dd 0                    ; DATA XREF: Voxel_758670+9r
.data:008469F4                                                            ; Voxel_7586F0:loc_75879Cr
.data:008469F4                                                            ; Voxel_758880:loc_7588DEr
.data:008469F4                                                            ; Multiply by 3 to get the count of values in each array
.data:008469F8 10 00 00 00                        dd 16
.data:008469FC 24 00 00 00                        dd 36
.data:00846A00 40 00 00 00                        dd 64
.data:00846A04 F5 00 00 00                        dd 245

.data:00846A08 9B A9 0C 3F B0+    Normal_Index_1  dd 0.54946297, -0.000183, -0.835518
.data:00846A08 E3 3F B9 82 E4+                                            ; DATA XREF: .data:008469E4o
.data:00846A08 55 BF B5 FE 16+                    dd 0.00014400001, 0.54940403, -0.83555698
.data:00846A08 39 BE A5 0C 3F+                    dd -0.54940403, -0.000068000001, -0.83555698
.data:00846A08 10 E7 55 BF BE+                    dd 0.000106, -0.54946297, -0.835518
.data:00846A08 A5 0C BF 39 9B+                    dd 0.94900799, 0.00031599999, -0.31525001
.data:00846A08 8E B8 10 E7 55+                    dd -0.000186, 0.94899702, -0.31528401
.data:00846A08 BF 51 4C DE 38+                    dd -0.94899702, 0.00031800001, -0.31528401
.data:00846A08 9B A9 0C BF 82+                    dd -0.000447, -0.94900799, -0.31525001
.data:00846A08 E4 55 BF 30 F2+                    dd 0.95084399, -0.000279, 0.30967101
.data:00846A08 72 3F CD AC A5+                    dd 0.000202, 0.95084798, 0.30965701
.data:00846A08 39 73 68 A1 BE+                    dd -0.95084798, -0.000070000002, 0.30965701
.data:00846A08 FF 08 43 B9 78+                    dd 0.000147, -0.95084399, 0.30967101
.data:00846A08 F1 72 3F E8 6C+                    dd 0.55237001, -0.000011, 0.83359897
.data:00846A08 A1 BE 78 F1 72+                    dd 0.000019999999, 0.55238003, 0.833592
.data:00846A08 BF 3D B9 A6 39+                    dd -0.55238003, 0.000057000001, 0.83359301
.data:00846A08 E8 6C A1 BE 53+                    dd -0.000066000001, -0.55237001, 0.83359897

.data:00846AC8 AE D4 2B 3F 7D+    Normal_Index_2  dd 0.67121398, 0.19849201, -0.714194
.data:00846AC8 41 4B 3E 6B D5+                                            ; DATA XREF: .data:008469E8o
.data:00846AC8 36 BF A6 0E 8A+                    dd 0.26964301, 0.58439398, -0.76536
.data:00846AC8 3E D8 9A 15 3F+                    dd -0.040546, 0.096988, -0.99445897
.data:00846AC8 A2 EE 43 BF 90+                    dd -0.57242799, -0.091913998, -0.81478697
.data:00846AC8 13 26 BD A5 A1+                    dd -0.17140099, -0.57270998, -0.80163902
.data:00846AC8 C6 3D DD 94 7E+                    dd 0.36255699, -0.30299899, -0.88133103
.data:00846AC8 BF A4 8A 12 BF+                    dd 0.81034702, -0.34897199, -0.470698
.data:00846AC8 68 3D BC BD E1+                    dd 0.103962, 0.93867201, -0.328767
.data:00846AC8 95 50 BF BE 83+                    dd -0.324047, 0.58766901, -0.74137598
.data:00846AC8 2F BE 1F 9D 12+                    dd -0.80086499, 0.34046099, -0.49264699
.data:00846AC8 BF 37 38 4D BF+                    dd -0.66549802, -0.59014702, -0.45698899
.data:00846AC8 12 A1 B9 3E AF+                    dd 0.314767, -0.803002, -0.506073
.data:00846AC8 22 9B BE E9 9E+                    dd 0.97262901, 0.151076, -0.17655
.data:00846AC8 61 BF E7 72 4F+                    dd 0.680291, 0.68423599, -0.26272699
.data:00846AC8 3F 75 AC B2 BE+                    dd -0.52007902, 0.82777703, -0.210483
.data:00846AC8 54 FF F0 BE 07+                    dd -0.96164399, -0.179001, -0.207847
.data:00846AC8 EA D4 3D CF 4C+                    dd -0.262714, -0.937451, -0.22840101
.data:00846AC8 70 3F 26 54 A8+                    dd 0.219707, -0.97130102, 0.091124997
.data:00846AC8 BE 7D E9 A5 BE+                    dd 0.92380798, -0.229975, 0.30608699
.data:00846AC8 7A 71 16 3F D1+                    dd -0.082488999, 0.97065997, 0.225866
.data:00846AC8 CA 3D BF 7D 05+                    dd -0.59179801, 0.69678998, 0.40528899
.data:00846AC8 4D BF E7 50 AE+                    dd -0.92529601, 0.36660099, 0.097111002
.data:00846AC8 3E 3A 3C FC BE+                    dd -0.705051, -0.68777502, 0.172828
.data:00846AC8 14 5E 2A BF E0+                    dd 0.7324, -0.68036699, -0.026304999
.data:00846AC8 13 17 BF 76 FA+                    dd 0.85516202, 0.37458199, 0.358311
.data:00846AC8 E9 BE 24 29 A1+                    dd 0.47300601, 0.83648002, 0.276705
.data:00846AC8 3E 8A 91 4D BF+                    dd -0.097617, 0.65411198, 0.750072
.data:00846AC8 00 8E 01 BF 37+                    dd -0.90412402, -0.153725, 0.39865801
.data:00846AC8 FE 78 3F AB B3+                    dd -0.211916, -0.85808998, 0.46773201
.data:00846AC8 1A 3E 86 C9 34+                    dd 0.50022697, -0.67440802, 0.543091
.data:00846AC8 BE 8D 27 2E 3F+                    dd 0.584539, -0.110249, 0.80384099
.data:00846AC8 17 2A 2F 3F 27+                    dd 0.43737301, 0.45464399, 0.77588898
.data:00846AC8 84 86 BE E6 23+                    dd -0.042440999, 0.083318003, 0.995619
.data:00846AC8 05 BF 32 E9 53+                    dd -0.59625101, 0.22013199, 0.77202803
.data:00846AC8 3F DB 88 57 BE+                    dd -0.506455, -0.39697701, 0.76544899
.data:00846AC8 4D 2E 76 BF 0A+                    dd 0.070569001, -0.47847399, 0.87526202

.data:00846C78 CF BB E9 3E 89+    Normal_Index_3  dd 0.45651099, -0.073968001, -0.88663799
.data:00846C78 7C 97 BD B5 FA+                                            ; DATA XREF: .data:008469ECo
.data:00846C78 62 BF 3C F8 01+                    dd 0.50769401, 0.38511699, -0.77067
.data:00846C78 3F 0E 2E C5 3E+                    dd 0.095431998, 0.22666401, -0.96928602
.data:00846C78 A1 4A 45 BF DA+                    dd -0.35876599, 0.54318798, -0.75910097
.data:00846C78 71 C3 3D 9C 1A+                    dd -0.361276, 0.13299499, -0.92292601
.data:00846C78 68 3E 21 23 78+                    dd -0.48311701, -0.32406601, -0.813375
.data:00846C78 BF 2D B0 B7 BE+                    dd -0.018073, -0.197559, -0.980124
.data:00846C78 5E 0E 0B 3F 71+                    dd 0.3211, -0.501477, -0.80337799
.data:00846C78 54 42 BF 2B F9+                    dd 0.79949099, 0.069615997, -0.59662998
.data:00846C78 B8 BE D7 2F 08+                    dd 0.390971, 0.77130598, -0.50222403
.data:00846C78 3E E1 44 6C BF+                    dd 0.080782004, 0.61448997, -0.784778
.data:00846C78 1D 5B F7 BE FB+                    dd -0.73275, 0.41143101, -0.54203498
.data:00846C78 EB A5 BE 58 39+                    dd -0.73525399, 0.0091019999, -0.67773098
.data:00846C78 50 BF D4 0D 94+                    dd -0.80249399, -0.39490801, -0.44727099
.data:00846C78 BC E8 4C 4A BE+                    dd -0.13413, -0.58915502, -0.79680902
.data:00846C78 68 E9 7A BF 38+                    dd 0.71955299, -0.37622699, -0.58369303
.data:00846C78 67 A4 3E CC 60+                    dd 0.96687502, 0.173593, -0.187132
.data:00846C78 00 BF 2E AA 4D+                    dd 0.760831, 0.51910597, -0.38944301
.data:00846C78 BF 71 AB 4C 3F+                    dd -0.114642, 0.87551898, -0.46938601
.data:00846C78 D5 92 8E 3D BE+                    dd -0.53236699, 0.76885903, -0.354177
.data:00846C78 BC 18 BF 5A 2D+                    dd -0.96226698, 0.024977, -0.27095801
.data:00846C78 C8 3E 4F 74 45+                    dd -0.46738699, -0.721986, -0.51018202
.data:00846C78 3F C1 91 00 BF+                    dd 0.058449998, -0.85235399, -0.51968902
.data:00846C78 09 71 A5 3D 37+                    dd 0.49823299, -0.74374002, -0.44566301
.data:00846C78 4F 1D 3F 36 E7+                    dd 0.93915099, -0.27024499, -0.212044
.data:00846C78 48 BF 81 95 3B+                    dd 0.58393198, 0.80944198, -0.061857
.data:00846C78 BF 16 A7 D2 3E+                    dd 0.183797, 0.97322798, -0.138007
.data:00846C78 CE C2 0A BF 9B+                    dd -0.88435501, 0.45221901, -0.115822
.data:00846C78 39 3C BF 8E 20+                    dd -0.943178, -0.33206701, 0.012138
.data:00846C78 15 3C C7 7F 2D+                    dd -0.69844002, -0.70656699, -0.113772
.data:00846C78 BF 3F 70 4D BF+                    dd -0.228411, -0.95470601, -0.190694
.data:00846C78 62 31 CA BE B4+                    dd 0.73156399, -0.675861, -0.089588001
.data:00846C78 00 E5 BE 60 59+                    dd 0.96925098, 0.046804, 0.24158201
.data:00846C78 09 BE DD D2 16+                    dd 0.85564703, 0.50347698, 0.119916
.data:00846C78 BF AD FB 4B BF+                    dd -0.25115299, 0.96794701, -0.000080999998
.data:00846C78 A0 34 38 3F D3+                    dd -0.64779502, 0.75674897, 0.087711997
.data:00846C78 A0 C0 BE E8 6C+                    dd -0.96916401, 0.14519399, 0.1991
.data:00846C78 15 BF 1F 85 77+                    dd -0.41479301, -0.88896698, 0.194126
.data:00846C78 3F 5D C2 31 3E+                    dd 0.25077501, -0.961178, -0.115109
.data:00846C78 88 9F 3F BE D2+                    dd 0.47862899, -0.84259301, 0.246883
.data:00846C78 C5 42 3F 21 E4+                    dd 0.89004397, -0.39614201, 0.225595
.data:00846C78 04 3F 13 65 C7+                    dd 0.52405101, 0.76235998, 0.37970701
.data:00846C78 BE 6D C9 EA BD+                    dd 0.11962, 0.94548202, 0.30291
.data:00846C78 03 22 60 3F 5D+                    dd -0.76085001, 0.49007499, 0.42536199
.data:00846C78 53 F0 BE 34 49+                    dd -0.86978501, -0.20215, 0.450122
.data:00846C78 08 BF F2 D3 44+                    dd -0.70946699, -0.60242403, 0.36570701
.data:00846C78 3F B0 56 B5 BE+                    dd 0.019308999, -0.95887101, 0.28318599
.data:00846C78 21 57 76 BF 91+                    dd 0.626113, -0.564677, 0.53770101
.data:00846C78 9C CC 3C 02 BB+                    dd 0.769943, -0.126663, 0.62541503
.data:00846C78 8A BE 59 4D EF+                    dd 0.76419097, 0.35070199, 0.54131401
.data:00846C78 BE 13 D4 38 BF+                    dd -0.001878, 0.74136698, 0.67109799
.data:00846C78 4A 9B 02 BF 44+                    dd -0.37088001, 0.81836802, 0.43900099
.data:00846C78 69 6F 3D DF 33+                    dd -0.71390897, 0.12865201, 0.68831801
.data:00846C78 5A BF 57 0A 05+                    dd -0.295165, -0.73866397, 0.60601401
.data:00846C78 BF 65 18 FF 3E+                    dd 0.186195, -0.73836899, 0.648184
.data:00846C78 BF 65 3E BF F1+                    dd 0.387523, -0.35878301, 0.84917599
.data:00846C78 2D E4 BE 33 6C+                    dd 0.481022, 0.124846, 0.86777401
.data:00846C78 70 3F 8D 5D 8A+                    dd 0.391808, 0.54505599, 0.741216
.data:00846C78 BE 10 22 59 BE+                    dd -0.0035359999, 0.36559799, 0.93076599
.data:00846C78 91 7C 15 3F 97+                    dd -0.42049801, 0.484961, 0.76680797
.data:00846C78 37 4F 3F C4 5D+                    dd -0.35490301, 0.019470001, 0.93470001
.data:00846C78 7D BD 48 35 3C+                    dd -0.54783702, -0.35920799, 0.75554299
.data:00846C78 3E 78 25 79 3F+                    dd -0.106662, -0.445115, 0.88909799
.data:00846C78 B5 51 0D BE 17+                    dd 0.086796001, -0.059307002, 0.99445897

.data:00846F78 D1 CD 06 3F 3E+    Normal_Index_4  dd 0.52657801, -0.35962099, -0.77031702
.data:00846F78 20 B8 BE 7F 33+                                            ; DATA XREF: .data:008469F0o
.data:00846F78 45 BF F4 17 1A+                    dd 0.150482, 0.43598399, 0.88728398
.data:00846F78 3E 4B 39 DF 3E+                    dd 0.414195, 0.73825502, -0.53237402
.data:00846F78 0B 25 63 3F 5E+                    dd 0.075152002, 0.91624898, -0.393498
.data:00846F78 11 D4 3E 48 FE+                    dd -0.316149, 0.93073601, -0.18379299
.data:00846F78 3C 3F AA 49 08+                    dd -0.77381903, 0.62333399, -0.11251
.data:00846F78 BF 4B E9 99 3D+                    dd -0.90084201, 0.42853701, -0.069568001
.data:00846F78 4B 8F 6A 3F 92+                    dd -0.99894202, -0.010971, 0.044665001
.data:00846F78 78 C9 BE 48 DE+                    dd -0.979761, -0.15767001, -0.123324
.data:00846F78 A1 BE B7 44 6E+                    dd -0.91127402, -0.362371, -0.19562
.data:00846F78 3F 3B 34 3C BE+                    dd -0.62406898, -0.72094101, -0.301301
.data:00846F78 01 19 46 BF D1+                    dd -0.310173, -0.80934501, -0.498752
.data:00846F78 92 1F 3F A5 6B+                    dd 0.146613, -0.81581903, -0.55941403
.data:00846F78 E6 BD 95 9D 66+                    dd -0.71651602, -0.69435602, -0.066887997
.data:00846F78 BF 34 69 DB 3E+                    dd 0.50397199, -0.114202, -0.85613698
.data:00846F78 AB 79 8E BD AA+                    dd 0.45549101, 0.87262702, -0.176211
.data:00846F78 BA 7F BF B6 BF+                    dd -0.00501, -0.114373, -0.99342501
.data:00846F78 33 BC A6 F2 36+                    dd -0.104675, -0.327701, -0.93896502
.data:00846F78 3D 9E D1 7A BF+                    dd 0.56041199, 0.75258899, -0.34575599
.data:00846F78 3F 74 21 BE 4B+                    dd -0.060575999, 0.82162797, -0.566796
.data:00846F78 91 FC BD 41 49+                    dd -0.30234101, 0.79700702, -0.522847
.data:00846F78 69 BF B1 88 B9+                    dd -0.671543, 0.67074001, -0.314863
.data:00846F78 BE 9C 50 48 BE+                    dd -0.77840102, -0.12835699, 0.61450499
.data:00846F78 FC C2 1F BF 97+                    dd -0.92404997, 0.278382, -0.261985
.data:00846F78 8F 38 BF 20 44+                    dd -0.69977301, -0.55049098, -0.45527801
.data:00846F78 9A BE FF CE 9E+                    dd -0.56824797, -0.51718903, -0.64000797
.data:00846F78 BE 3C 31 4F BF+                    dd 0.054097999, -0.93286401, -0.356143
.data:00846F78 6C 5C FF BE B8+                    dd 0.75838202, 0.57289302, -0.31088799
.data:00846F78 21 16 3E 84 D9+                    dd 0.0036200001, 0.30502599, -0.95233703
.data:00846F78 50 BF C2 35 0F+                    dd -0.060849998, -0.98688602, -0.14951099
.data:00846F78 BF 98 6D 37 BF+                    dd 0.63523, 0.045478001, -0.77098298
.data:00846F78 51 C1 31 BF 93+                    dd 0.52170497, 0.241309, -0.81828701
.data:00846F78 FC 88 BD 4F 04+                    dd 0.26940399, 0.63542497, -0.72364098
.data:00846F78 01 3F BD E2 E9+                    dd 0.045676, 0.67275399, -0.738455
.data:00846F78 BD CB 2B 5B BF+                    dd -0.180511, 0.67465699, -0.71571898
.data:00846F78 1E 36 E9 3E 7C+                    dd -0.397131, 0.63664001, -0.66104198
.data:00846F78 64 5F 3F A8 70+                    dd -0.55200398, 0.47251499, -0.687038
.data:00846F78 34 BE ED 2A A4+                    dd -0.77217001, 0.08309, -0.62996
.data:00846F78 BB 64 3C EA BD+                    dd -0.669819, -0.119533, -0.73284
.data:00846F78 1A 51 7E BF D9+                    dd -0.54045498, -0.31844401, -0.77878201
.data:00846F78 5F D6 BD 6D C8+                    dd -0.38613501, -0.522789, -0.75999397
.data:00846F78 A7 BE 03 60 70+                    dd -0.261466, -0.68856698, -0.676395
.data:00846F78 BF 29 77 0F 3F+                    dd -0.019412, -0.69610298, -0.71767998
.data:00846F78 AC A9 40 3F EE+                    dd 0.30356899, -0.48184401, -0.82199299
.data:00846F78 06 B1 BE 8A 1E+                    dd 0.68193901, -0.19512901, -0.70490003
.data:00846F78 78 BD 36 56 52+                    dd -0.24488901, -0.116562, -0.96251899
.data:00846F78 3F 8B 19 11 BF+                    dd 0.80075902, -0.022979001, -0.59854603
.data:00846F78 71 CC 9A BE A7+                    dd -0.37027499, 0.095583998, -0.92399102
.data:00846F78 08 4C 3F 4D D9+                    dd -0.33067101, -0.32657799, -0.88543999
.data:00846F78 05 BF 3E EA 2B+                    dd -0.16322, -0.52757901, -0.83367902
.data:00846F78 BF 9E B5 2B 3F+                    dd 0.12639, -0.313146, -0.941257
.data:00846F78 B9 35 A1 BE 4A+                    dd 0.34954801, -0.27222601, -0.89649802
.data:00846F78 45 47 BF 04 70+                    dd 0.23991799, -0.085825004, -0.96699202
.data:00846F78 03 BE 33 50 1D+                    dd 0.390845, 0.081537001, -0.91683799
.data:00846F78 3F 8A 8E 6C BF+                    dd 0.25526699, 0.26869699, -0.92878503
.data:00846F78 16 88 8E 3E E6+                    dd 0.146245, 0.48043799, -0.86474901
.data:00846F78 22 86 BE 53 24+                    dd -0.32601601, 0.47845599, -0.81534898
.data:00846F78 33 BF FA EC 0C+                    dd -0.46968201, -0.112519, -0.87563598
.data:00846F78 BF 33 1A E9 BE+                    dd 0.81844002, -0.25852001, -0.51315099
.data:00846F78 B3 78 11 BF 80+                    dd -0.474318, 0.292238, -0.83043301
.data:00846F78 66 04 BF 90 D7+                    dd 0.778943, 0.39584199, -0.48637101
.data:00846F78 23 BF DD 95 5D+                    dd 0.62409401, 0.39377299, -0.67487001
.data:00846F78 3D 2D D0 6E BF+                    dd 0.74088597, 0.203834, -0.63995302
.data:00846F78 60 58 B6 BE 53+                    dd 0.48021701, 0.565768, -0.67029703
.data:00846F78 25 42 3F 1E A9+                    dd 0.38093001, 0.42453501, -0.82137799
.data:00846F78 12 3F B6 2C 9F+                    dd -0.093422003, 0.50112402, -0.86031801
.data:00846F78 BE 86 3D 6D 3B+                    dd -0.236485, 0.29619801, -0.92538702
.data:00846F78 5E 2C 9C 3E 5C+                    dd -0.131531, 0.093959004, -0.98684901
.data:00846F78 CC 73 BF D9 3D+                    dd -0.82356203, 0.29577699, -0.48400599
.data:00846F78 79 BD 90 A4 7C+                    dd 0.61106598, -0.624304, -0.486664
.data:00846F78 BF 69 19 19 BE+                    dd 0.069495998, -0.52033001, -0.85113299
.data:00846F78 6F 9E 22 3F 24+                    dd 0.226522, -0.66487902, -0.711775
.data:00846F78 47 3A 3D 24 5F+                    dd 0.47130799, -0.56890398, -0.67395699
.data:00846F78 45 BF 75 8E 05+                    dd 0.38842499, -0.74262398, -0.54556
.data:00846F78 3F B5 19 77 3E+                    dd 0.78367501, -0.48072901, -0.39338499
.data:00846F78 42 7B 51 BF 52+                    dd 0.962394, 0.135676, -0.235349
.data:00846F78 EF 89 3E 36 AB+                    dd 0.876607, 0.172034, -0.449406
.data:00846F78 22 3F 89 40 39+                    dd 0.63340503, 0.58979303, -0.50094098
.data:00846F78 BF C2 16 3B 3D+                    dd 0.182276, 0.80065799, -0.57072097
.data:00846F78 9B 39 2C 3F 63+                    dd 0.177003, 0.76413399, 0.62029701
.data:00846F78 0B 3D BF E0 D7+                    dd -0.544016, 0.675515, -0.49772099
.data:00846F78 38 BE 52 B6 2C+                    dd -0.67929697, 0.28646699, -0.67564201
.data:00846F78 3F 5C 39 37 BF+                    dd -0.59039098, 0.091369003, -0.801929
.data:00846F78 C1 54 CB BE D7+                    dd -0.82436001, -0.13312399, -0.55018902
.data:00846F78 FA 22 3F 0C 3A+                    dd -0.71579403, -0.33454201, -0.61296099
.data:00846F78 29 BF 22 50 0D+                    dd 0.17428599, -0.89248401, 0.416049
.data:00846F78 BF 7C ED F1 3E+                    dd -0.082528003, -0.83712298, -0.54075301
.data:00846F78 B9 E1 2F BF EF+                    dd 0.28333101, -0.88087398, -0.37918901
.data:00846F78 AC 45 BF 17 2B+                    dd 0.675134, -0.42662701, -0.60181701
.data:00846F78 AA 3D 0F 45 21+                    dd 0.84372002, -0.512335, -0.160156
.data:00846F78 BF 42 79 2B BF+                    dd 0.97730398, -0.098555997, -0.18752
.data:00846F78 B8 CD F4 BD 67+                    dd 0.846295, 0.522672, -0.102947
.data:00846F78 9B 3B BF 42 5B+                    dd 0.67714101, 0.72132498, -0.145501
.data:00846F78 0A BF 18 0B A3+                    dd 0.32096499, 0.87089199, -0.37219399
.data:00846F78 BE 42 5E 47 BF+                    dd -0.178978, 0.911533, -0.37023601
.data:00846F78 7D B3 C5 BE 80+                    dd -0.44716901, 0.82670099, -0.341474
.data:00846F78 D5 05 BF F7 8E+                    dd -0.70320302, 0.496328, -0.50908101
.data:00846F78 42 BF DF DE 85+                    dd -0.97718102, 0.063562997, -0.202674
.data:00846F78 BE ED 45 30 BF+                    dd -0.87817001, -0.412938, 0.241455
.data:00846F78 39 28 2D BF EA+                    dd -0.83583099, -0.35855001, -0.415728
.data:00846F78 05 9F BC CE 33+                    dd -0.499174, -0.69343299, -0.51959199
.data:00846F78 32 BF E0 B9 37+                    dd -0.188789, -0.92375302, -0.33322501
.data:00846F78 BF 65 6D 9B 3E+                    dd 0.19225401, -0.96936101, -0.152896
.data:00846F78 42 B4 F6 BE 22+                    dd 0.51594001, -0.783907, -0.34539199
.data:00846F78 6E 52 BF 8E 93+                    dd 0.90592498, -0.30095199, -0.29787099
.data:00846F78 2E 3F E6 CF 47+                    dd 0.99111199, -0.127746, 0.037106998
.data:00846F78 BE 54 74 34 BF+                    dd 0.99513501, 0.098424003, -0.0043830001
.data:00846F78 2F C4 7A BE 0F+                    dd 0.76012301, 0.64627701, 0.067367002
.data:00846F78 B8 EE BD A5 67+                    dd 0.205221, 0.95958, -0.192591
.data:00846F78 76 BF 8B FE 4C+                    dd -0.042750001, 0.97951299, -0.19679099
.data:00846F78 3F 75 3E BC BC+                    dd -0.43801701, 0.89892697, 0.0084920004
.data:00846F78 50 3A 19 BF AF+                    dd -0.82199401, 0.48078501, -0.30523899
.data:00846F78 94 BD BE 8B C1+                    dd -0.89991701, 0.081710003, -0.42833701
.data:00846F78 C3 3D AD 8A 6C+                    dd -0.92661202, -0.144618, -0.347096
.data:00846F78 BF B6 4D A9 BE+                    dd -0.79365999, -0.55779201, -0.24283899
.data:00846F78 3B 35 A7 BE 32+                    dd -0.43134999, -0.84777898, -0.30855799
.data:00846F78 AC 62 BF 25 23+                    dd -0.0054919999, -0.96499997, 0.26219299
.data:00846F78 27 BE 6B 0F 07+                    dd 0.58790499, -0.80402601, -0.088940002
.data:00846F78 BF FD 6B 55 BF+                    dd 0.69949299, -0.66768599, -0.254765
.data:00846F78 61 6C 01 3E AC+                    dd 0.88930303, 0.359795, -0.282291
.data:00846F78 54 A0 BE 38 F6+                    dd 0.780972, 0.197037, 0.59267199
.data:00846F78 70 BF F5 F7 B2+                    dd 0.52012098, 0.50669599, 0.68755698
.data:00846F78 3E 35 61 8B BE+                    dd 0.40389499, 0.69396102, 0.59605998
.data:00846F78 E5 80 65 BF 10+                    dd -0.154983, 0.89923602, 0.40909001
.data:00846F78 AD 75 3E 05 C5+                    dd -0.65733802, 0.53716803, 0.528543
.data:00846F78 AF BD CA 8C 77+                    dd -0.74619502, 0.33409101, 0.575827
.data:00846F78 BF D6 1C C8 3E+                    dd -0.62495202, -0.049144, 0.77911502
.data:00846F78 DF FC A6 3D E5+                    dd 0.31814101, -0.254715, 0.913185
.data:00846F78 B5 6A BF 5B B2+                    dd -0.555897, 0.405294, 0.725752
.data:00846F78 82 3E A7 92 89+                    dd -0.79443401, 0.099405997, 0.59916002
.data:00846F78 3E DB C4 6D BF+                    dd -0.64036101, -0.68946302, 0.33849499
.data:00846F78 40 C1 15 3E F8+                    dd -0.12671299, -0.73409498, 0.66711998
.data:00846F78 FB F5 3E 31 60+                    dd 0.105457, -0.78081697, 0.61579502
.data:00846F78 5D BF 92 EB A6+                    dd 0.40799299, -0.48091599, 0.77605498
.data:00846F78 BE 2F F8 F4 3E+                    dd 0.69513601, -0.54512, 0.468647
.data:00846F78 B6 BA 50 BF 29+                    dd 0.97319102, -0.0064889998, 0.229908
.data:00846F78 7A F0 BE 5D 70+                    dd 0.94689399, 0.317509, -0.050799001
.data:00846F78 E6 BD AE 29 60+                    dd 0.56358302, 0.82561201, 0.027183
.data:00846F78 BF 49 85 51 3F+                    dd 0.325773, 0.94542301, 0.0069490001
.data:00846F78 BC 5C 84 BE DD+                    dd -0.171821, 0.98509699, -0.0078149997
.data:00846F78 5D 03 BF CF D9+                    dd -0.67044097, 0.73993897, 0.054768998
.data:00846F78 F2 BE 38 A0 95+                    dd -0.822981, 0.55496198, 0.121322
.data:00846F78 3E 42 97 54 BF+                    dd -0.96619302, 0.117857, 0.229307
.data:00846F78 CF 68 47 3F CD+                    dd -0.95376903, -0.29470399, 0.058945
.data:00846F78 AB CA 3E 9F 05+                    dd -0.86438698, -0.50272799, -0.010015
.data:00846F78 F9 BE A0 C4 1F+                    dd -0.53060901, -0.84200603, -0.097365998
.data:00846F78 3F 9D 9C C9 3E+                    dd -0.162618, -0.98407501, 0.071772002
.data:00846F78 48 C4 2C BF B4+                    dd 0.081446998, -0.99601102, 0.036439002
.data:00846F78 AA 3D 3F DC B9+                    dd 0.74598402, -0.66596299, 0.00076199998
.data:00846F78 50 3E F6 D3 23+                    dd 0.94205701, -0.32926899, -0.064106002
.data:00846F78 BF 01 DF F5 3E+                    dd 0.93970197, -0.28108999, 0.194803
.data:00846F78 2C D6 10 3F 96+                    dd 0.77121401, 0.55067003, 0.319363
.data:00846F78 98 2B BF 42 09+                    dd 0.641348, 0.73069, 0.23402099
.data:00846F78 C3 3E A7 5C D9+                    dd 0.080682002, 0.99669099, 0.0098789996
.data:00846F78 3E D4 45 52 BF+                    dd -0.046725001, 0.97664303, 0.20972501
.data:00846F78 09 54 BF BD AA+                    dd -0.53107601, 0.82100099, 0.209562
.data:00846F78 49 00 3F CD 3D+                    dd -0.69581503, 0.65599, 0.29243499
.data:00846F78 5C BF 20 29 72+                    dd -0.97612202, 0.216709, -0.014913
.data:00846F78 BE 44 A7 97 3E+                    dd -0.96166098, -0.14412899, 0.23331399
.data:00846F78 2A E6 6C BF 10+                    dd -0.772084, -0.61364698, 0.165299
.data:00846F78 B0 06 BE 94 6D+                    dd -0.44960001, -0.83605999, 0.314426
.data:00846F78 C0 3D 23 A2 7C+                    dd -0.39269999, -0.91461599, 0.096247002
.data:00846F78 BF F6 D4 52 BF+                    dd 0.390589, -0.91947001, 0.044890001
.data:00846F78 15 70 97 3E A2+                    dd 0.58252901, -0.79919797, 0.148127
.data:00846F78 CF F7 BE D2 6E+                    dd 0.866431, -0.48981199, 0.096864
.data:00846F78 1C 3F 63 D2 1F+                    dd 0.90458697, 0.111498, 0.41145
.data:00846F78 BF 06 2C F9 BE+                    dd 0.95353699, 0.23232999, 0.191806
.data:00846F78 EB 53 8E 3D 59+                    dd 0.497311, 0.77080297, 0.398177
.data:00846F78 34 05 BF DA E3+                    dd 0.194066, 0.95631999, 0.218611
.data:00846F78 59 BF 62 F5 67+                    dd 0.422876, 0.882276, 0.206797
.data:00846F78 3E 83 35 2A BF+                    dd -0.373797, 0.84956598, 0.37217399
.data:00846F78 E3 36 36 BF 48+                    dd -0.53449702, 0.71402299, 0.4522
.data:00846F78 4F F1 3E B1 A3+                    dd -0.881827, 0.23716, 0.40759799
.data:00846F78 11 BF 72 88 2C+                    dd -0.904948, -0.014069, 0.42528901
.data:00846F78 BF A4 DF C6 3E+                    dd -0.751827, -0.51281703, 0.41445801
.data:00846F78 9B 1C 3E BF D2+                    dd -0.50101501, -0.69791698, 0.51175803
.data:00846F78 A9 0B BF ED 9E+                    dd -0.23519, -0.92592299, 0.295555
.data:00846F78 48 3F 1D 22 F6+                    dd 0.228983, -0.95393997, 0.193819
.data:00846F78 BE C2 69 C9 BE+                    dd 0.734025, -0.63489801, 0.241062
.data:00846F78 74 5F 76 3F A6+                    dd 0.91375297, -0.063253, -0.40131599
.data:00846F78 EE 0A 3E 54 FF+                    dd 0.90573502, -0.161487, 0.391875
.data:00846F78 70 BE 51 69 60+                    dd 0.85892999, 0.342446, 0.38074899
.data:00846F78 3F AE 29 30 3E+                    dd 0.62448603, 0.60758102, 0.49077699
.data:00846F78 8B 18 E6 BE D5+                    dd 0.28926399, 0.85747898, 0.42550799
.data:00846F78 26 22 3F AD FC+                    dd 0.069968, 0.90216899, 0.42567101
.data:00846F78 16 3F AB 3D 00+                    dd -0.28617999, 0.94069999, 0.182165
.data:00846F78 BF 8F A6 3A 3E+                    dd -0.57401299, 0.80511898, -0.14930899
.data:00846F78 EC F7 4C 3F C5+                    dd 0.111258, 0.099717997, -0.98877603
.data:00846F78 1A 12 BF 46 40+                    dd -0.30539301, -0.94422799, -0.12316
.data:00846F78 35 3E 49 9E 43+                    dd -0.60116601, -0.78957599, 0.123163
.data:00846F78 3F C9 CB 1E 3F+                    dd -0.290645, -0.81213999, 0.50591898
.data:00846F78 A2 44 0B BF 8D+                    dd -0.064920001, -0.87716299, 0.47578499
.data:00846F78 EE 2C 3F 49 D5+                    dd 0.408301, -0.862216, 0.29978901
.data:00846F78 FE BE 68 E6 2D+                    dd 0.56609702, -0.72556603, 0.39126399
.data:00846F78 BF CD AB 92 3E+                    dd 0.83936399, -0.427387, 0.33586901
.data:00846F78 E0 F6 2C BF DD+                    dd 0.81889999, -0.041305002, 0.57244802
.data:00846F78 23 17 BF AC 1F+                    dd 0.71978402, 0.41499701, 0.55649698
.data:00846F78 BB 3D 38 4B 4D+                    dd 0.88174403, 0.45027, 0.140659
.data:00846F78 BF 42 09 53 BF+                    dd 0.40182301, -0.89822, -0.17815199
.data:00846F78 A8 51 08 BE 30+                    dd -0.054019999, 0.79134399, 0.60898
.data:00846F78 D9 0C BF 47 3E+                    dd -0.29377401, 0.76399398, 0.57446498
.data:00846F78 37 BF 17 49 AB+                    dd -0.450798, 0.61034697, 0.65135098
.data:00846F78 BE 03 EB 1C BF+                    dd -0.63822103, 0.186694, 0.74687302
.data:00846F78 07 78 32 3E D5+                    dd -0.87287003, -0.25712699, 0.41470799
.data:00846F78 79 64 BF 60 04+                    dd -0.58725703, -0.52170998, 0.618828
.data:00846F78 D5 3E 71 04 A9+                    dd -0.35365799, -0.64197397, 0.680291
.data:00846F78 BD B1 4D 56 BF+                    dd 0.041648999, -0.61127299, 0.79032302
.data:00846F78 CA 6E 0A BF C3+                    dd 0.348342, -0.77918297, 0.52108699
.data:00846F78 10 91 3E F5 80+                    dd 0.499167, -0.62244099, 0.602826
.data:00846F78 61 BF 10 25 C2+                    dd 0.79001898, -0.30383101, 0.53250003
.data:00846F78 BE 95 D5 2C 3F+                    dd 0.66011798, 0.060733002, 0.74870199
.data:00846F78 DB 6E DA BE AE+                    dd 0.60492098, 0.29416099, 0.73996001
.data:00846F78 10 1A BF 09 FE+                    dd 0.38569701, 0.37934601, 0.84103203
.data:00846F78 57 3F 63 28 03+                    dd 0.239693, 0.207876, 0.94833201
.data:00846F78 BF EF FF 23 BE+                    dd 0.012623, 0.25853199, 0.96591997
.data:00846F78 98 30 7A 3F BA+                    dd -0.100557, 0.457147, 0.88368797
.data:00846F78 D7 C9 BD 3E 05+                    dd 0.046967, 0.62858802, 0.77631903
.data:00846F78 40 BE CA A6 58+                    dd -0.43039101, -0.44540501, 0.785097
.data:00846F78 3F D5 CD 05 3F+                    dd -0.43429101, -0.196228, 0.87913901
.data:00846F78 E0 D5 D2 BD 1D+                    dd -0.25663701, -0.336867, 0.90590203
.data:00846F78 59 2D 3F C1 A8+                    dd -0.131372, -0.15891001, 0.97851402
.data:00846F78 38 3F 37 FE 14+                    dd 0.102379, -0.208767, 0.972592
.data:00846F78 BE 86 55 A4 3E+                    dd 0.195687, -0.450129, 0.87125802
.data:00846F78 C7 F2 5E 3F 36+                    dd 0.62731898, -0.42314801, 0.65377098
.data:00846F78 90 BE BE 02 46+                    dd 0.68743902, -0.171583, 0.70568198
.data:00846F78 37 BE 3A 5A 69+                    dd 0.27592, -0.021255, 0.96094602
.data:00846F78 3F 93 8F BD BE+                    dd 0.45936701, 0.15746599, 0.87417799
.data:00846F78 56 F3 E4 BE AD+                    dd 0.285395, 0.583184, 0.76055598
.data:00846F78 A2 53 3F AE D5+                    dd -0.81217402, 0.46030301, 0.35846099
.data:00846F78 AE BE 1D 05 34+                    dd -0.189068, 0.64122301, 0.743698
.data:00846F78 BF B4 1E FE 3E+                    dd -0.338875, 0.47648001, 0.811252
.data:00846F78 22 53 02 BF 89+                    dd -0.92099398, 0.347186, 0.176727
.data:00846F78 28 7A BF 51 2D+                    dd 0.040638998, 0.024465, 0.99887401
.data:00846F78 82 3D C6 89 4F+                    dd -0.73913199, -0.35374701, 0.57318997
.data:00846F78 BE C0 CF 60 BF+                    dd -0.60351199, -0.28661501, 0.74405998
.data:00846F78 9C 6C D3 BE FB+                    dd -0.188676, -0.547059, 0.81555402
.data:00846F78 3F 77 3E 05 F9+                    dd -0.026045, -0.39782, 0.91709399
.data:00846F78 55 BF DE 93 B7+                    dd 0.26789701, -0.649041, 0.71202302
.data:00846F78 BE 4D DA D4 BE+                    dd 0.518246, -0.28489101, 0.80638599
.data:00846F78 BC 93 FF BE D3+                    dd 0.493451, -0.066532999, 0.86722499
.data:00846F78 84 31 BF FB 03+                    dd -0.328188, 0.140251, 0.93414301
.data:00846F78 05 BF E7 51 41+                    dd -0.328188, 0.140251, 0.93414301
.data:00846F78 BE 14 7B 6C BF+                    dd -0.328188, 0.140251, 0.93414301
.data:00846F78 78 9C AA BE 3C+                    dd -0.328188, 0.140251, 0.93414301
.data:00846F78 DE 44 3E 0B 28+                    dd -0.328188, 0.140251, 0.93414301


Also TS has all 4 normal arrays and they are exactly the same so thats intresting

_________________
Tiberian Dawn, Red Alert, Tiberian Sun ,Red Alert 2,Renegade, Command & Conquer 3,Tiberium and Tiberium Wars and Westwood related image & video archive
https://picasaweb.google.com/113361105083292812413?noredirect=1

Skype live:tomsons26
Don't forget to state who are you otherwise i'll ignore the invite

Back to top
View user's profile Send private message Visit poster's website
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Thu Sep 01, 2016 11:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

The cake is a lie #Tongue.

But thanks for the data. I'll add it to VXLSE III as soon as I can.

Back to top
View user's profile Send private message Visit poster's website Skype Account
MadHQ
Commander


Joined: 07 Nov 2003

PostPosted: Thu Sep 01, 2016 11:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

hummm.... you say without missing data...

Code:

.data:00846F78 84 31 BF FB 03+                    dd -0.328188, 0.140251, 0.93414301
.data:00846F78 05 BF E7 51 41+                    dd -0.328188, 0.140251, 0.93414301
.data:00846F78 BE 14 7B 6C BF+                    dd -0.328188, 0.140251, 0.93414301
.data:00846F78 78 9C AA BE 3C+                    dd -0.328188, 0.140251, 0.93414301
.data:00846F78 DE 44 3E 0B 28+                    dd -0.328188, 0.140251, 0.93414301


The last 5 are the same... so this must be the same as what was found years ago...

So this is nothing new...

Now...

If you can find a vxl rotation lookup table (possibly int array('s) ) that would be more interesting.

_________________
MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.)

Back to top
View user's profile Send private message Skype Account
tomsons26lv
Cyborg Artillery


Joined: 30 Dec 2009
Location: Latvia

PostPosted: Fri Sep 02, 2016 12:01 am    Post subject: Reply with quote  Mark this post and the followings unread




idaq_2016-09-02_02-55-31.png
 Description:
 Filesize:  13.69 KB
 Viewed:  16825 Time(s)

idaq_2016-09-02_02-55-31.png



idaq_2016-09-02_02-55-43.png
 Description:
 Filesize:  13.69 KB
 Viewed:  16825 Time(s)

idaq_2016-09-02_02-55-43.png



_________________
Tiberian Dawn, Red Alert, Tiberian Sun ,Red Alert 2,Renegade, Command & Conquer 3,Tiberium and Tiberium Wars and Westwood related image & video archive
https://picasaweb.google.com/113361105083292812413?noredirect=1

Skype live:tomsons26
Don't forget to state who are you otherwise i'll ignore the invite

Back to top
View user's profile Send private message Visit poster's website
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Fri Sep 02, 2016 5:39 am    Post subject: Reply with quote  Mark this post and the followings unread

tomsons26lv wrote:
That is what is in both the TS and RA2 and YR binaries, the last values are like that in all of them, god knows why.

Well if they are all theoretically bottoms, something WW figured you'd never see in TS....

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Fri Sep 02, 2016 6:28 am    Post subject: Reply with quote  Mark this post and the followings unread

Just compared all the 4 normal index tables. Sleipnirstuff bglman's tables have rounded
off to 6 decimal places and Normal index 4 list has 4 last entries with same values and
yours has 5 same entries. So normal index 4 has one more repeated entry in yours. Other
than that both are same.

Back to top
View user's profile Send private message
MadHQ
Commander


Joined: 07 Nov 2003

PostPosted: Fri Sep 02, 2016 7:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

G-E wrote:
tomsons26lv wrote:
That is what is in both the TS and RA2 and YR binaries, the last values are like that in all of them, god knows why.

Well if they are all theoretically bottoms, something WW figured you'd never see in TS....


For some reason I think the missing ones are the top part... Or maybe its just the "hot spot" (I can remember the name of it) were the light is so bright is just white...

This link is some thing I did a wail ago, shows the normal's as a sphere... The red dot is the duplicates, and the white is just a reference for the top...

http://zombapro.ppmsite.com/vxlrender/normals.html

I do not think the game uses those values to render the vxls... I think they were just left in as reference...

I pretty sure the game used the vpl and some offset values for rotation... Those offset values are what I want...

I will have to look and think about those arrays that prime posted... there are 8 arrays... so maybe that is for 8 facings...

_________________
MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.)

Back to top
View user's profile Send private message Skype Account
tomsons26lv
Cyborg Artillery


Joined: 30 Dec 2009
Location: Latvia

PostPosted: Sat Sep 03, 2016 10:33 am    Post subject: Reply with quote  Mark this post and the followings unread

Confused
I'm not prime...
Just because someone likes the pre-release look of RA2 doesn't make him him automatically.......
Mind you Gangster wanted to do a PreRA2 reboot for say after Rewire would be done or gotten to a point where this could be worked on.

As for rotation yea i have a feeling that array is voxel facing related as well.
If not i guess the game just uses MatrixClass for it, the tables for that code are generated on runtime.
If these don't mean anything then i guess i can't find it...






Really stripped down Matrix code is available in the TT sources http://www.tiberiantechnologies.org/downloads

The original Ren source snippets they are using were leaked a long time ago, Ren's Matrix code is really simple compared to what's in  TS/YR/BR. But i can't share the leaked one. The public TT version has a lot of code stripped but maybe that helps dunno

_________________
Tiberian Dawn, Red Alert, Tiberian Sun ,Red Alert 2,Renegade, Command & Conquer 3,Tiberium and Tiberium Wars and Westwood related image & video archive
https://picasaweb.google.com/113361105083292812413?noredirect=1

Skype live:tomsons26
Don't forget to state who are you otherwise i'll ignore the invite

Back to top
View user's profile Send private message Visit poster's website
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Sat Feb 17, 2018 6:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Unless i have made a mistake the following should be the normal direction tables in code form:

https://pastebin.com/bZAhw6QU (Pascal)

Note: I could have done it all as a single Constant but, so it was sane i didn't (It would have looked crazy).

16 for Type 1
36 for Type 2
64 for Type 3
245 for Type 4

_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
MadHQ
Commander


Joined: 07 Nov 2003

PostPosted: Sat Feb 17, 2018 7:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

Topic reincarnation...

Anyways, it is the normal's that define the light source per unit angel, but they have to be redirected when the unit rotates.

This renders a vxl in WebGL to a series of images and loops them. (wait a few sec for it to load)
http://zombapro.ppmsite.com/temp/vplmapping/normalsTRIG_FTW.html?zipName=alliedunits.zip

This was some thing I did a lot of playing with, and I got very close, I think there is some tweaks/modifications I can make to make it better. But for now I am good.

_________________
MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.)

Back to top
View user's profile Send private message Skype Account
tomsons26lv
Cyborg Artillery


Joined: 30 Dec 2009
Location: Latvia

PostPosted: Sat Feb 17, 2018 8:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

Got a formatted dump out of the binary
Spoiler (click here to read it):
Vector3 NormalTable1[16] =
{
 {  0.54946297, -0.000183, -0.835518 },
 {  0.00014400001,  0.54940403, -0.83555698 },
 { -0.54940403, -0.000068000001, -0.83555698 },
 {  0.000106, -0.54946297, -0.835518 },
 {  0.94900799,  0.00031599999, -0.31525001 },
 { -0.000186,  0.94899702, -0.31528401 },
 { -0.94899702,  0.00031800001, -0.31528401 },
 { -0.000447, -0.94900799, -0.31525001 },
 {  0.95084399, -0.000279,  0.30967101 },
 {  0.000202,  0.95084798,  0.30965701 },
 { -0.95084798, -0.000070000002,  0.30965701 },
 {  0.000147, -0.95084399,  0.30967101 },
 {  0.55237001, -0.000011,  0.83359897 },
 {  0.000019999999,  0.55238003,  0.833592 },
 { -0.55238003,  0.000057000001,  0.83359301 },
 { -0.000066000001, -0.55237001,  0.83359897 }
};

Vector3 NormalTable2[36] =
{
 {  0.67121398,  0.19849201, -0.714194 },
 {  0.26964301,  0.58439398, -0.76536 },
 { -0.040546,  0.096988, -0.99445897 },
 { -0.57242799, -0.091913998, -0.81478697 },
 { -0.17140099, -0.57270998, -0.80163902 },
 {  0.36255699, -0.30299899, -0.88133103 },
 {  0.81034702, -0.34897199, -0.470698 },
 {  0.103962,  0.93867201, -0.328767 },
 { -0.324047,  0.58766901, -0.74137598 },
 { -0.80086499,  0.34046099, -0.49264699 },
 { -0.66549802, -0.59014702, -0.45698899 },
 {  0.314767, -0.803002, -0.506073 },
 {  0.97262901,  0.151076, -0.17655 },
 {  0.680291,  0.68423599, -0.26272699 },
 { -0.52007902,  0.82777703, -0.210483 },
 { -0.96164399, -0.179001, -0.207847 },
 { -0.262714, -0.937451, -0.22840101 },
 {  0.219707, -0.97130102,  0.091124997 },
 {  0.92380798, -0.229975,  0.30608699 },
 { -0.082488999,  0.97065997,  0.225866 },
 { -0.59179801,  0.69678998,  0.40528899 },
 { -0.92529601,  0.36660099,  0.097111002 },
 { -0.705051, -0.68777502,  0.172828 },
 {  0.7324, -0.68036699, -0.026304999 },
 {  0.85516202,  0.37458199,  0.358311 },
 {  0.47300601,  0.83648002,  0.276705 },
 { -0.097617,  0.65411198,  0.750072 },
 { -0.90412402, -0.153725,  0.39865801 },
 { -0.211916, -0.85808998,  0.46773201 },
 {  0.50022697, -0.67440802,  0.543091 },
 {  0.584539, -0.110249,  0.80384099 },
 {  0.43737301,  0.45464399,  0.77588898 },
 { -0.042440999,  0.083318003,  0.995619 },
 { -0.59625101,  0.22013199,  0.77202803 },
 { -0.506455, -0.39697701,  0.76544899 },
 {  0.070569001, -0.47847399,  0.87526202 }
};

Vector3 NormalTable3[64] =
{
 {  0.45651099, -0.073968001, -0.88663799 },
 {  0.50769401,  0.38511699, -0.77067 },
 {  0.095431998,  0.22666401, -0.96928602 },
 { -0.35876599,  0.54318798, -0.75910097 },
 { -0.361276,  0.13299499, -0.92292601 },
 { -0.48311701, -0.32406601, -0.813375 },
 { -0.018073, -0.197559, -0.980124 },
 {  0.3211, -0.501477, -0.80337799 },
 {  0.79949099,  0.069615997, -0.59662998 },
 {  0.390971,  0.77130598, -0.50222403 },
 {  0.080782004,  0.61448997, -0.784778 },
 { -0.73275,  0.41143101, -0.54203498 },
 { -0.73525399,  0.0091019999, -0.67773098 },
 { -0.80249399, -0.39490801, -0.44727099 },
 { -0.13413, -0.58915502, -0.79680902 },
 {  0.71955299, -0.37622699, -0.58369303 },
 {  0.96687502,  0.173593, -0.187132 },
 {  0.760831,  0.51910597, -0.38944301 },
 { -0.114642,  0.87551898, -0.46938601 },
 { -0.53236699,  0.76885903, -0.354177 },
 { -0.96226698,  0.024977, -0.27095801 },
 { -0.46738699, -0.721986, -0.51018202 },
 {  0.058449998, -0.85235399, -0.51968902 },
 {  0.49823299, -0.74374002, -0.44566301 },
 {  0.93915099, -0.27024499, -0.212044 },
 {  0.58393198,  0.80944198, -0.061857 },
 {  0.183797,  0.97322798, -0.138007 },
 { -0.88435501,  0.45221901, -0.115822 },
 { -0.943178, -0.33206701,  0.012138 },
 { -0.69844002, -0.70656699, -0.113772 },
 { -0.228411, -0.95470601, -0.190694 },
 {  0.73156399, -0.675861, -0.089588001 },
 {  0.96925098,  0.046804,  0.24158201 },
 {  0.85564703,  0.50347698,  0.119916 },
 { -0.25115299,  0.96794701, -0.000080999998 },
 { -0.64779502,  0.75674897,  0.087711997 },
 { -0.96916401,  0.14519399,  0.1991 },
 { -0.41479301, -0.88896698,  0.194126 },
 {  0.25077501, -0.961178, -0.115109 },
 {  0.47862899, -0.84259301,  0.246883 },
 {  0.89004397, -0.39614201,  0.225595 },
 {  0.52405101,  0.76235998,  0.37970701 },
 {  0.11962,  0.94548202,  0.30291 },
 { -0.76085001,  0.49007499,  0.42536199 },
 { -0.86978501, -0.20215,  0.450122 },
 { -0.70946699, -0.60242403,  0.36570701 },
 {  0.019308999, -0.95887101,  0.28318599 },
 {  0.626113, -0.564677,  0.53770101 },
 {  0.769943, -0.126663,  0.62541503 },
 {  0.76419097,  0.35070199,  0.54131401 },
 { -0.001878,  0.74136698,  0.67109799 },
 { -0.37088001,  0.81836802,  0.43900099 },
 { -0.71390897,  0.12865201,  0.68831801 },
 { -0.295165, -0.73866397,  0.60601401 },
 {  0.186195, -0.73836899,  0.648184 },
 {  0.387523, -0.35878301,  0.84917599 },
 {  0.481022,  0.124846,  0.86777401 },
 {  0.391808,  0.54505599,  0.741216 },
 { -0.0035359999,  0.36559799,  0.93076599 },
 { -0.42049801,  0.484961,  0.76680797 },
 { -0.35490301,  0.019470001,  0.93470001 },
 { -0.54783702, -0.35920799,  0.75554299 },
 { -0.106662, -0.445115,  0.88909799 },
 {  0.086796001, -0.059307002,  0.99445897 }
};

Vector3 NormalTable4[245] =
{
 {  0.52657801, -0.35962099, -0.77031702 },
 {  0.150482,  0.43598399,  0.88728398 },
 {  0.414195,  0.73825502, -0.53237402 },
 {  0.075152002,  0.91624898, -0.393498 },
 { -0.316149,  0.93073601, -0.18379299 },
 { -0.77381903,  0.62333399, -0.11251 },
 { -0.90084201,  0.42853701, -0.069568001 },
 { -0.99894202, -0.010971,  0.044665001 },
 { -0.979761, -0.15767001, -0.123324 },
 { -0.91127402, -0.362371, -0.19562 },
 { -0.62406898, -0.72094101, -0.301301 },
 { -0.310173, -0.80934501, -0.498752 },
 {  0.146613, -0.81581903, -0.55941403 },
 { -0.71651602, -0.69435602, -0.066887997 },
 {  0.50397199, -0.114202, -0.85613698 },
 {  0.45549101,  0.87262702, -0.176211 },
 { -0.00501, -0.114373, -0.99342501 },
 { -0.104675, -0.327701, -0.93896502 },
 {  0.56041199,  0.75258899, -0.34575599 },
 { -0.060575999,  0.82162797, -0.566796 },
 { -0.30234101,  0.79700702, -0.522847 },
 { -0.671543,  0.67074001, -0.314863 },
 { -0.77840102, -0.12835699,  0.61450499 },
 { -0.92404997,  0.278382, -0.261985 },
 { -0.69977301, -0.55049098, -0.45527801 },
 { -0.56824797, -0.51718903, -0.64000797 },
 {  0.054097999, -0.93286401, -0.356143 },
 {  0.75838202,  0.57289302, -0.31088799 },
 {  0.0036200001,  0.30502599, -0.95233703 },
 { -0.060849998, -0.98688602, -0.14951099 },
 {  0.63523,  0.045478001, -0.77098298 },
 {  0.52170497,  0.241309, -0.81828701 },
 {  0.26940399,  0.63542497, -0.72364098 },
 {  0.045676,  0.67275399, -0.738455 },
 { -0.180511,  0.67465699, -0.71571898 },
 { -0.397131,  0.63664001, -0.66104198 },
 { -0.55200398,  0.47251499, -0.687038 },
 { -0.77217001,  0.08309, -0.62996 },
 { -0.669819, -0.119533, -0.73284 },
 { -0.54045498, -0.31844401, -0.77878201 },
 { -0.38613501, -0.522789, -0.75999397 },
 { -0.261466, -0.68856698, -0.676395 },
 { -0.019412, -0.69610298, -0.71767998 },
 {  0.30356899, -0.48184401, -0.82199299 },
 {  0.68193901, -0.19512901, -0.70490003 },
 { -0.24488901, -0.116562, -0.96251899 },
 {  0.80075902, -0.022979001, -0.59854603 },
 { -0.37027499,  0.095583998, -0.92399102 },
 { -0.33067101, -0.32657799, -0.88543999 },
 { -0.16322, -0.52757901, -0.83367902 },
 {  0.12639, -0.313146, -0.941257 },
 {  0.34954801, -0.27222601, -0.89649802 },
 {  0.23991799, -0.085825004, -0.96699202 },
 {  0.390845,  0.081537001, -0.91683799 },
 {  0.25526699,  0.26869699, -0.92878503 },
 {  0.146245,  0.48043799, -0.86474901 },
 { -0.32601601,  0.47845599, -0.81534898 },
 { -0.46968201, -0.112519, -0.87563598 },
 {  0.81844002, -0.25852001, -0.51315099 },
 { -0.474318,  0.292238, -0.83043301 },
 {  0.778943,  0.39584199, -0.48637101 },
 {  0.62409401,  0.39377299, -0.67487001 },
 {  0.74088597,  0.203834, -0.63995302 },
 {  0.48021701,  0.565768, -0.67029703 },
 {  0.38093001,  0.42453501, -0.82137799 },
 { -0.093422003,  0.50112402, -0.86031801 },
 { -0.236485,  0.29619801, -0.92538702 },
 { -0.131531,  0.093959004, -0.98684901 },
 { -0.82356203,  0.29577699, -0.48400599 },
 {  0.61106598, -0.624304, -0.486664 },
 {  0.069495998, -0.52033001, -0.85113299 },
 {  0.226522, -0.66487902, -0.711775 },
 {  0.47130799, -0.56890398, -0.67395699 },
 {  0.38842499, -0.74262398, -0.54556 },
 {  0.78367501, -0.48072901, -0.39338499 },
 {  0.962394,  0.135676, -0.235349 },
 {  0.876607,  0.172034, -0.449406 },
 {  0.63340503,  0.58979303, -0.50094098 },
 {  0.182276,  0.80065799, -0.57072097 },
 {  0.177003,  0.76413399,  0.62029701 },
 { -0.544016,  0.675515, -0.49772099 },
 { -0.67929697,  0.28646699, -0.67564201 },
 { -0.59039098,  0.091369003, -0.801929 },
 { -0.82436001, -0.13312399, -0.55018902 },
 { -0.71579403, -0.33454201, -0.61296099 },
 {  0.17428599, -0.89248401,  0.416049 },
 { -0.082528003, -0.83712298, -0.54075301 },
 {  0.28333101, -0.88087398, -0.37918901 },
 {  0.675134, -0.42662701, -0.60181701 },
 {  0.84372002, -0.512335, -0.160156 },
 {  0.97730398, -0.098555997, -0.18752 },
 {  0.846295,  0.522672, -0.102947 },
 {  0.67714101,  0.72132498, -0.145501 },
 {  0.32096499,  0.87089199, -0.37219399 },
 { -0.178978,  0.911533, -0.37023601 },
 { -0.44716901,  0.82670099, -0.341474 },
 { -0.70320302,  0.496328, -0.50908101 },
 { -0.97718102,  0.063562997, -0.202674 },
 { -0.87817001, -0.412938,  0.241455 },
 { -0.83583099, -0.35855001, -0.415728 },
 { -0.499174, -0.69343299, -0.51959199 },
 { -0.188789, -0.92375302, -0.33322501 },
 {  0.19225401, -0.96936101, -0.152896 },
 {  0.51594001, -0.783907, -0.34539199 },
 {  0.90592498, -0.30095199, -0.29787099 },
 {  0.99111199, -0.127746,  0.037106998 },
 {  0.99513501,  0.098424003, -0.0043830001 },
 {  0.76012301,  0.64627701,  0.067367002 },
 {  0.205221,  0.95958, -0.192591 },
 { -0.042750001,  0.97951299, -0.19679099 },
 { -0.43801701,  0.89892697,  0.0084920004 },
 { -0.82199401,  0.48078501, -0.30523899 },
 { -0.89991701,  0.081710003, -0.42833701 },
 { -0.92661202, -0.144618, -0.347096 },
 { -0.79365999, -0.55779201, -0.24283899 },
 { -0.43134999, -0.84777898, -0.30855799 },
 { -0.0054919999, -0.96499997,  0.26219299 },
 {  0.58790499, -0.80402601, -0.088940002 },
 {  0.69949299, -0.66768599, -0.254765 },
 {  0.88930303,  0.359795, -0.282291 },
 {  0.780972,  0.197037,  0.59267199 },
 {  0.52012098,  0.50669599,  0.68755698 },
 {  0.40389499,  0.69396102,  0.59605998 },
 { -0.154983,  0.89923602,  0.40909001 },
 { -0.65733802,  0.53716803,  0.528543 },
 { -0.74619502,  0.33409101,  0.575827 },
 { -0.62495202, -0.049144,  0.77911502 },
 {  0.31814101, -0.254715,  0.913185 },
 { -0.555897,  0.405294,  0.725752 },
 { -0.79443401,  0.099405997,  0.59916002 },
 { -0.64036101, -0.68946302,  0.33849499 },
 { -0.12671299, -0.73409498,  0.66711998 },
 {  0.105457, -0.78081697,  0.61579502 },
 {  0.40799299, -0.48091599,  0.77605498 },
 {  0.69513601, -0.54512,  0.468647 },
 {  0.97319102, -0.0064889998,  0.229908 },
 {  0.94689399,  0.317509, -0.050799001 },
 {  0.56358302,  0.82561201,  0.027183 },
 {  0.325773,  0.94542301,  0.0069490001 },
 { -0.171821,  0.98509699, -0.0078149997 },
 { -0.67044097,  0.73993897,  0.054768998 },
 { -0.822981,  0.55496198,  0.121322 },
 { -0.96619302,  0.117857,  0.229307 },
 { -0.95376903, -0.29470399,  0.058945 },
 { -0.86438698, -0.50272799, -0.010015 },
 { -0.53060901, -0.84200603, -0.097365998 },
 { -0.162618, -0.98407501,  0.071772002 },
 {  0.081446998, -0.99601102,  0.036439002 },
 {  0.74598402, -0.66596299,  0.00076199998 },
 {  0.94205701, -0.32926899, -0.064106002 },
 {  0.93970197, -0.28108999,  0.194803 },
 {  0.77121401,  0.55067003,  0.319363 },
 {  0.641348,  0.73069,  0.23402099 },
 {  0.080682002,  0.99669099,  0.0098789996 },
 { -0.046725001,  0.97664303,  0.20972501 },
 { -0.53107601,  0.82100099,  0.209562 },
 { -0.69581503,  0.65599,  0.29243499 },
 { -0.97612202,  0.216709, -0.014913 },
 { -0.96166098, -0.14412899,  0.23331399 },
 { -0.772084, -0.61364698,  0.165299 },
 { -0.44960001, -0.83605999,  0.314426 },
 { -0.39269999, -0.91461599,  0.096247002 },
 {  0.390589, -0.91947001,  0.044890001 },
 {  0.58252901, -0.79919797,  0.148127 },
 {  0.866431, -0.48981199,  0.096864 },
 {  0.90458697,  0.111498,  0.41145 },
 {  0.95353699,  0.23232999,  0.191806 },
 {  0.497311,  0.77080297,  0.398177 },
 {  0.194066,  0.95631999,  0.218611 },
 {  0.422876,  0.882276,  0.206797 },
 { -0.373797,  0.84956598,  0.37217399 },
 { -0.53449702,  0.71402299,  0.4522 },
 { -0.881827,  0.23716,  0.40759799 },
 { -0.904948, -0.014069,  0.42528901 },
 { -0.751827, -0.51281703,  0.41445801 },
 { -0.50101501, -0.69791698,  0.51175803 },
 { -0.23519, -0.92592299,  0.295555 },
 {  0.228983, -0.95393997,  0.193819 },
 {  0.734025, -0.63489801,  0.241062 },
 {  0.91375297, -0.063253, -0.40131599 },
 {  0.90573502, -0.161487,  0.391875 },
 {  0.85892999,  0.342446,  0.38074899 },
 {  0.62448603,  0.60758102,  0.49077699 },
 {  0.28926399,  0.85747898,  0.42550799 },
 {  0.069968,  0.90216899,  0.42567101 },
 { -0.28617999,  0.94069999,  0.182165 },
 { -0.57401299,  0.80511898, -0.14930899 },
 {  0.111258,  0.099717997, -0.98877603 },
 { -0.30539301, -0.94422799, -0.12316 },
 { -0.60116601, -0.78957599,  0.123163 },
 { -0.290645, -0.81213999,  0.50591898 },
 { -0.064920001, -0.87716299,  0.47578499 },
 {  0.408301, -0.862216,  0.29978901 },
 {  0.56609702, -0.72556603,  0.39126399 },
 {  0.83936399, -0.427387,  0.33586901 },
 {  0.81889999, -0.041305002,  0.57244802 },
 {  0.71978402,  0.41499701,  0.55649698 },
 {  0.88174403,  0.45027,  0.140659 },
 {  0.40182301, -0.89822, -0.17815199 },
 { -0.054019999,  0.79134399,  0.60898 },
 { -0.29377401,  0.76399398,  0.57446498 },
 { -0.450798,  0.61034697,  0.65135098 },
 { -0.63822103,  0.186694,  0.74687302 },
 { -0.87287003, -0.25712699,  0.41470799 },
 { -0.58725703, -0.52170998,  0.618828 },
 { -0.35365799, -0.64197397,  0.680291 },
 {  0.041648999, -0.61127299,  0.79032302 },
 {  0.348342, -0.77918297,  0.52108699 },
 {  0.499167, -0.62244099,  0.602826 },
 {  0.79001898, -0.30383101,  0.53250003 },
 {  0.66011798,  0.060733002,  0.74870199 },
 {  0.60492098,  0.29416099,  0.73996001 },
 {  0.38569701,  0.37934601,  0.84103203 },
 {  0.239693,  0.207876,  0.94833201 },
 {  0.012623,  0.25853199,  0.96591997 },
 { -0.100557,  0.457147,  0.88368797 },
 {  0.046967,  0.62858802,  0.77631903 },
 { -0.43039101, -0.44540501,  0.785097 },
 { -0.43429101, -0.196228,  0.87913901 },
 { -0.25663701, -0.336867,  0.90590203 },
 { -0.131372, -0.15891001,  0.97851402 },
 {  0.102379, -0.208767,  0.972592 },
 {  0.195687, -0.450129,  0.87125802 },
 {  0.62731898, -0.42314801,  0.65377098 },
 {  0.68743902, -0.171583,  0.70568198 },
 {  0.27592, -0.021255,  0.96094602 },
 {  0.45936701,  0.15746599,  0.87417799 },
 {  0.285395,  0.583184,  0.76055598 },
 { -0.81217402,  0.46030301,  0.35846099 },
 { -0.189068,  0.64122301,  0.743698 },
 { -0.338875,  0.47648001,  0.811252 },
 { -0.92099398,  0.347186,  0.176727 },
 {  0.040638998,  0.024465,  0.99887401 },
 { -0.73913199, -0.35374701,  0.57318997 },
 { -0.60351199, -0.28661501,  0.74405998 },
 { -0.188676, -0.547059,  0.81555402 },
 { -0.026045, -0.39782,  0.91709399 },
 {  0.26789701, -0.649041,  0.71202302 },
 {  0.518246, -0.28489101,  0.80638599 },
 {  0.493451, -0.066532999,  0.86722499 },
 { -0.328188,  0.140251,  0.93414301 },
 { -0.328188,  0.140251,  0.93414301 },
 { -0.328188,  0.140251,  0.93414301 },
 { -0.328188,  0.140251,  0.93414301 },
 { -0.328188,  0.140251,  0.93414301 }
};


BTW TS has the 4th table too weirdly

Edit:
How has no one tested RA2 voxels in TS to this day...



GAME203_2018-02-17_22-35-55.png
 Description:
 Filesize:  206.83 KB
 Viewed:  6979 Time(s)

GAME203_2018-02-17_22-35-55.png



_________________
Tiberian Dawn, Red Alert, Tiberian Sun ,Red Alert 2,Renegade, Command & Conquer 3,Tiberium and Tiberium Wars and Westwood related image & video archive
https://picasaweb.google.com/113361105083292812413?noredirect=1

Skype live:tomsons26
Don't forget to state who are you otherwise i'll ignore the invite

Back to top
View user's profile Send private message Visit poster's website
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Sat Feb 17, 2018 8:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

MadHQ wrote:
Topic reincarnation...

You know me, i come back every year or two when i do something related to TS/RA2 SHP/VXL/etc or i just randomly drop in.

MadHQ wrote:
Anyways, it is the normal's that define the light source per unit angel, but they have to be redirected when the unit rotates.


Am i correct in assuming that they are Standard Normals where they represent the direction of the Surface (Like in 3D Modeling) ?

I was hoping to literally just use them as the Normal Values for OpenGL.

_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
MadHQ
Commander


Joined: 07 Nov 2003

PostPosted: Sun Feb 18, 2018 4:21 am    Post subject: Reply with quote  Mark this post and the followings unread

It depends on what you want and how you want to go about it. If you want it to look like TS/RA2 you will need to rotate the normals sphere, and reapply the normals. The normals are used as a redirect in pair with the vpl data.

I created another temp URL that shows what happens if you use the vpl data and do not rotate the normal's.
http://zombapro.ppmsite.com/temp/vplmapping/normalsTRIG_FTW2.html?zipName=alliedunits.zip

Its up to you on how you want to handle it.

I could be wrong, or handling things in a difficult way... But I think I am way to close to be wrong...

_________________
MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.)

Back to top
View user's profile Send private message Skype Account
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Sun Feb 18, 2018 10:48 am    Post subject: Reply with quote  Mark this post and the followings unread

With OpenGL if you call the glLightfv(GL_LIGHT1,GL_POSITION,@LP[0]); at the start, before you have rotated the Model View Matrix it will work like a global light. If you call it after the Model View rotations it will be like a Light which is stuck to your model (as in the light will always shine against a specific part of the model) as the light position is rotated by the current Model View matrix.

https://www.opengl.org/discussion_boards/showthread.php/168706-Light-Position-in-eye-s-cordinate
Quote:
ZwqXin wrote:

You know, we can explictly define the position of a set of light, using opengl code glLightfv(GL_LIGHT_POSITION,...) or so.

And I think the position is defined as a world -coordination, right?

No, technically the light position you pass to the above call is in object coordinates, as (when the above call is made) it is automagically multiplied by the entire MODELVIEW matrix to convert it into eye coordinates.

Now if your current MODELVIEW matrix is only the VIEWING matrix (meaning the MODELING transform is the identity in this case), then of course object coordinates == world coordinates for this case, so you could consider the input position in object or world coordinates.


P.S When i use the TS/RA2 normal values as if they were 3D Normals (I am flipping the Y and Z with both the Voxels and Normals so the model is orientated correctly. By the looks of things WestWood didn't do a Direct X style but instead just swapped Y and Z around) they work a bit better than the individual cubes normals(Less blocky, but its only really noticeable when its rotating):


_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Mon Feb 19, 2018 5:06 am    Post subject: Reply with quote  Mark this post and the followings unread

stucuk wrote:
By the looks of things WestWood didn't do a Direct X style but instead just swapped Y and Z around)

I thought that was obvious when reading the voxel structure... my guess is someone was thinking X/Y for the 2D plane would be easier to make sense of?

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Mon Feb 19, 2018 12:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

G-E wrote:
I thought that was obvious when reading the voxel structure... my guess is someone was thinking X/Y for the 2D plane would be easier to make sense of?


Not to Banshee. VXLSE 3 code below (I remember it being there in the past and me commenting about it being wrong, Its not WW to OGL, its WW to VXLSE III's odd system. Banshee still maintains VXLSE III is correct).

Given that TS/RA2 will be software rendering rather than Direct 3D/OpenGL they likely didn't follow the two common ways (Left/Right hand). Direct 3D is X,-Z,Y when you convert to OpenGL. The X/Y won't directly map to 2D as you still need isometric rotation, but they would be able to just use the Z Axis for height value.

I find it interesting they never made a 3D Sprite like what Original War does (GMZ format is basically a SHP with a ZBuffer that represents the height of each pixel).

VXLSE 3 wrote:
// Westwood's coordinate system is different than OpenGL's.
// So, we'll turn (x,y,z) into (y,z,x)


https://ppmforums.com/viewtopic.php?p=565903#565903
Banshee wrote:
I don't think that the DirectX coordinate system is the only thing that affects the original coordinates of these units. Remember that it is an "2.5D isometric" game. The X coordinate in game is the Y of your screen.


X Coordinate is never Y.

_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Wed Feb 21, 2018 11:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

Stu, it is quite disrespectful to place words into someone else's mouth.

And, in maths, X, Y, Z axis can be conveniently switched if it is interesting to whoever is dealing with it to solve a specific problem. There is nothing wrong with it.

Back to top
View user's profile Send private message Visit poster's website Skype Account
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Thu Feb 22, 2018 8:24 am    Post subject: Reply with quote  Mark this post and the followings unread

Banshee wrote:
Stu, it is quite disrespectful to place words into someone else's mouth.

I am not putting anything in your mouth. You have stated that its normal to convert it to Y,Z,X.

Code:
// Westwood's coordinate system is different than OpenGL's.
// So, we'll turn (x,y,z) into (y,z,x)


Code:
// This function converts the Westwood coordinates into OpenGL's
// (x,y,z) becomes (y,z,x)


Code:
// This function converts the OpenGL coordinates into Westwood's
// (x,y,z) becomes (z,x,y)


Banshee wrote:
And, in maths, X, Y, Z axis can be conveniently switched if it is interesting to whoever is dealing with it to solve a specific problem. There is nothing wrong with it.


There is when you label stuff as "OpenGL Coordinates". It makes people wrongly think that you have to do Y, Z, X to get it into OpenGL.

_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Thu Feb 22, 2018 3:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

G-E wrote:
my guess is someone was thinking X/Y for the 2D plane would be easier to make sense of?


stucuk wrote:
Not to Banshee.



....

stucuk wrote:
I am not putting anything in your mouth. You have stated that its normal to convert it to Y,Z,X.


Yea, you are. You are using words that I said to infer conclusions that I did not say. Pay attention to the word easier on his question.

Back to top
View user's profile Send private message Visit poster's website Skype Account
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Thu Feb 22, 2018 4:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

1) Stu states its X, Z, Y.
2) G-E states its obvious based on the VXL format.
3) Stu states that its not obvious to banshee as he has code and comments state that its Y, Z, X.
4a) Banshee doesn't read it right/takes it wrong and assumes its an insult rather than a statement of fact.
4b) Banshee continues to maintain that Y, Z, X actually correct which further proves Stu's point about it not being obvious to Banshee.
5) Thread gets further derailed.

_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Thu Feb 22, 2018 4:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

Look, what I do acknowledge that the "Y, Z, X bull crap" is not a Westwood design, nor an OpenGL or DirectX design. It is due to the way the VXLSE code reads the bloody file and what I did in my code is a work around to convert it to the coordinates system used by VXLSE III, which is not YZX.

So, someone is misunderstanding things... and I am not alone here Wink.

Back to top
View user's profile Send private message Visit poster's website Skype Account
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Thu Feb 22, 2018 5:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

VXLSE III is a Frankenstine. The original VXLSE III was made by me referencing VXLSE II, some parts are copy/paste and others are re-made. Then you have years of modifications on top.

VXLSE IV should have been made a long time ago. Rebuilding is the only way to get rid of the bloat and bad code.

_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [22 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2716s ][ Queries: 16 (0.0160s) ][ Debug on ]