Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 [source] Full 3D Engine
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Catalyst




PostPosted: Tue Jun 24, 2003 12:51 pm   Post subject: [source] Full 3D Engine

...


Engine3Dv0.5.t
 Description:

Download
 Filename:  Engine3Dv0.5.t
 Filesize:  20.28 KB
 Downloaded:  463 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
AsianSensation




PostPosted: Tue Jun 24, 2003 2:19 pm   Post subject: (No subject)

ahh....this is the stuff..... and well worth the bandwidth

*saving each screen shot in case something happen to this site... also, saving multiple copies and emailing myself some in case something goes wrong with my comp

Edit: eh......where i can get the .raw file?
Catalyst




PostPosted: Tue Jun 24, 2003 2:54 pm   Post subject: (No subject)

hmm since i cant attach
heres a raw file

code:
30.10043 -50.480443 -121.789849 37.375454 -7.173736 -81.348638 -6.60651 -36.83392 -85.606447
-6.60651 -36.83392 -85.606447 7.680916 -58.758358 -163.959356 30.10043 -50.480443 -121.789849
20.635231 -12.363452 -64.947413 24.923716 10.314496 -30.86773 -5.477355 -23.745439 6.712992
-5.477355 -23.745439 6.712992 -6.60651 -36.83392 -85.606447 29.20498 -13.106185 -86.756411
33.873463 -16.836717 -160.014224 6.994589 -16.470278 -200.002339 16.610783 37.404388 -82.085434
-6.887906 43.170739 -89.6966 16.610783 37.404388 -82.085434 6.994589 -16.470278 -200.002339
16.610783 37.404388 -82.085434 -6.887906 43.170739 -89.6966 -5.842046 28.561255 -7.350298
-5.842046 28.561255 -7.350298 14.064876 28.615131 -7.666157 16.610783 37.404388 -82.085434
41.097312 -40.288839 -155.636416 5.100126 -35.41811 -217.997262 6.994589 -16.470278 -200.002339
2.829287 16.741853 35.459174 10.012482 11.691561 34.713217 -4.933502 23.61364 49.066495
170.414466 -25.133279 39.224384 181.263969 -25.923828 -33.517922 174.322191 0.787352 -25.234703
41.097312 -40.288839 -155.636416 35.080481 6.606438 -108.308739 29.20498 -13.106185 -86.756411
24.923716 10.314496 -30.86773 29.20498 -13.106185 -86.756411 151.374949 -20.620604 -26.078445
137.865152 -20.109807 -19.490534 120.817216 1.076954 6.68851 24.923716 10.314496 -30.86773
29.139285 26.11064 -84.208039 140.327779 -4.447444 18.623983 147.84169 -4.628283 -18.410139
140.327779 -4.447444 18.623983 29.139285 26.11064 -84.208039 24.61265 19.516417 -10.074741
147.84169 -4.628283 -18.410139 144.633925 -5.649985 -50.564527 29.139285 26.11064 -84.208039
130.321924 -9.076006 17.547077 137.865152 -20.109807 -19.490534 163.106525 -38.351371 -26.503804
163.106525 -38.351371 -26.503804 155.93614 -38.451254 38.438062 130.321924 -9.076006 17.547077
147.84169 -4.628283 -18.410139 140.327779 -4.447444 18.623983 167.25182 0.687735 39.705576
167.25182 0.687735 39.705576 174.322191 0.787352 -25.234703 147.84169 -4.628283 -18.410139
174.322191 0.787352 -25.234703 181.263969 -25.923828 -33.517922 174.694435 -18.836025 -106.036159
137.865152 -20.109807 -19.490534 144.633925 -5.649985 -50.564527 174.518661 -13.527558 -105.067398
163.106525 -38.351371 -26.503804 137.865152 -20.109807 -19.490534 174.518661 -13.527558 -105.067398
147.84169 -4.628283 -18.410139 174.322191 0.787352 -25.234703 174.518661 -13.527558 -105.067398
-5.477355 -23.745439 6.712992 24.923716 10.314496 -30.86773 7.808537 -13.302623 25.177027
7.808537 -13.302623 25.177027 2.601436 -10.148245 25.21046 -5.477355 -23.745439 6.712992
14.064876 28.615131 -7.666157 -5.842046 28.561255 -7.350298 -4.933502 23.61364 49.066495
-4.933502 23.61364 49.066495 8.049401 23.651507 46.660207 14.064876 28.615131 -7.666157
24.923716 10.314496 -30.86773 29.962461 7.8765 17.509906 10.012482 11.691561 34.713217
24.61265 19.516417 -10.074741 29.962461 7.8765 17.509906 133.742462 -1.391464 39.034729
155.93614 -38.451254 38.438062 170.414466 -25.133279 39.224384 152.737654 -17.681426 73.618159
130.321924 -9.076006 17.547077 155.93614 -38.451254 38.438062 143.305496 -11.777581 72.6748
167.25182 0.687735 39.705576 140.327779 -4.447444 18.623983 143.305496 -11.777581 72.6748
140.327779 -4.447444 18.623983 133.742462 -1.391464 39.034729 143.305496 -11.777581 72.6748
41.097312 -40.288839 -155.636416 30.10043 -50.480443 -121.789849 5.100126 -35.41811 -217.997262
30.10043 -50.480443 -121.789849 7.680916 -58.758358 -163.959356 5.100126 -35.41811 -217.997262
6.994589 -16.470278 -200.002339 33.873463 -16.836717 -160.014224 41.097312 -40.288839 -155.636416
8.049401 23.651507 46.660207 -4.933502 23.61364 49.066495 10.012482 11.691561 34.713217
170.414466 -25.133279 39.224384 155.93614 -38.451254 38.438062 181.263969 -25.923828 -33.517922
155.93614 -38.451254 38.438062 163.106525 -38.351371 -26.503804 181.263969 -25.923828 -33.517922
174.322191 0.787352 -25.234703 167.25182 0.687735 39.705576 170.414466 -25.133279 39.224384
29.20498 -13.106185 -86.756411 30.10043 -50.480443 -121.789849 41.097312 -40.288839 -155.636416
41.097312 -40.288839 -155.636416 33.873463 -16.836717 -160.014224 35.080481 6.606438 -108.308739
33.873463 -16.836717 -160.014224 29.139285 26.11064 -84.208039 35.080481 6.606438 -108.308739
29.139285 26.11064 -84.208039 144.633925 -5.649985 -50.564527 35.080481 6.606438 -108.308739
144.633925 -5.649985 -50.564527 29.20498 -13.106185 -86.756411 35.080481 6.606438 -108.308739
137.865152 -20.109807 -19.490534 29.20498 -13.106185 -86.756411 144.633925 -5.649985 -50.564527
181.263969 -25.923828 -33.517922 163.106525 -38.351371 -26.503804 174.694435 -18.836025 -106.036159
163.106525 -38.351371 -26.503804 174.518661 -13.527558 -105.067398 174.694435 -18.836025 -106.036159
174.518661 -13.527558 -105.067398 174.322191 0.787352 -25.234703 174.694435 -18.836025 -106.036159
144.633925 -5.649985 -50.564527 147.84169 -4.628283 -18.410139 174.518661 -13.527558 -105.067398
29.962461 7.8765 17.509906 24.61265 19.516417 -10.074741 10.012482 11.691561 34.713217
24.61265 19.516417 -10.074741 8.049401 23.651507 46.660207 10.012482 11.691561 34.713217
7.808537 -13.302623 25.177027 24.923716 10.314496 -30.86773 10.012482 11.691561 34.713217
140.327779 -4.447444 18.623983 24.61265 19.516417 -10.074741 133.742462 -1.391464 39.034729
29.962461 7.8765 17.509906 24.923716 10.314496 -30.86773 133.742462 -1.391464 39.034729
24.923716 10.314496 -30.86773 130.321924 -9.076006 17.547077 133.742462 -1.391464 39.034729
170.414466 -25.133279 39.224384 167.25182 0.687735 39.705576 152.737654 -17.681426 73.618159
167.25182 0.687735 39.705576 143.305496 -11.777581 72.6748 152.737654 -17.681426 73.618159
143.305496 -11.777581 72.6748 155.93614 -38.451254 38.438062 152.737654 -17.681426 73.618159
133.742462 -1.391464 39.034729 130.321924 -9.076006 17.547077 143.305496 -11.777581 72.6748
33.873463 -16.836717 -160.014224 16.610783 37.404388 -82.085434 29.139285 26.11064 -84.208039
24.61265 19.516417 -10.074741 29.139285 26.11064 -84.208039 16.610783 37.404388 -82.085434
16.610783 37.404388 -82.085434 14.064876 28.615131 -7.666157 24.61265 19.516417 -10.074741
8.049401 23.651507 46.660207 24.61265 19.516417 -10.074741 14.064876 28.615131 -7.666157
7.808537 -13.302623 25.177027 10.012482 11.691561 34.713217 -1.568619 -6.241773 26.692756
10.012482 11.691561 34.713217 -5.159967 11.653234 32.753676 -1.568619 -6.241773 26.692756
-23.941404 -16.553999 -199.511483 -6.887906 43.170739 -89.6966 6.994589 -16.470278 -200.002339
5.100126 -35.41811 -217.997262 -23.941404 -16.553999 -199.511483 6.994589 -16.470278 -200.002339
-22.516295 -35.492847 -217.559063 -23.941404 -16.553999 -199.511483 5.100126 -35.41811 -217.997262
-23.255078 -58.842076 -163.468503 -22.516295 -35.492847 -217.559063 5.100126 -35.41811 -217.997262
7.680916 -58.758358 -163.959356 -23.255078 -58.842076 -163.468503 5.100126 -35.41811 -217.997262
-6.60651 -36.83392 -85.606447 -23.255078 -58.842076 -163.468503 7.680916 -58.758358 -163.959356
-44.535467 -13.305742 -85.586386 -44.369924 -50.681974 -120.608243 -6.60651 -36.83392 -85.606447
-23.255078 -58.842076 -163.468503 -6.60651 -36.83392 -85.606447 -44.369924 -50.681974 -120.608243
-39.168946 17.286879 -33.463726 -44.535467 -13.305742 -85.586386 -5.477355 -23.745439 6.712992
-6.60651 -36.83392 -85.606447 -5.477355 -23.745439 6.712992 -44.535467 -13.305742 -85.586386
-23.941404 -16.553999 -199.511483 -49.535733 -17.062435 -158.690787 -31.822947 37.273317 -81.316943
-31.822947 37.273317 -81.316943 -6.887906 43.170739 -89.6966 -23.941404 -16.553999 -199.511483
-6.887906 43.170739 -89.6966 -31.822947 37.273317 -81.316943 -5.842046 28.561255 -7.350298
-25.749966 28.507381 -7.034425 -5.842046 28.561255 -7.350298 -31.822947 37.273317 -81.316943
-22.516295 -35.492847 -217.559063 -56.490052 -40.55293 -154.088016 -23.941404 -16.553999 -199.511483
-20.253597 11.609657 35.193435 -5.159967 11.653234 32.753676 -4.933502 23.61364 49.066495
-192.794098 -24.036192 -27.499331 -179.545687 -23.447452 44.880301 -184.239144 2.127149 -19.642723
-51.20834 6.372924 -106.939611 -56.490052 -40.55293 -154.088016 -44.535467 -13.305742 -85.586386
-44.535467 -13.305742 -85.586386 -39.168946 17.286879 -33.463726 -148.694619 -21.741358 -14.894758
-140.04104 -10.265724 21.886335 -148.694619 -21.741358 -14.894758 -39.168946 17.286879 -33.463726
-141.490453 3.944991 -8.164487 -44.601163 25.911085 -83.038013 -157.021215 -5.509099 -13.733026
-44.601163 25.911085 -83.038013 -148.337457 -5.257416 23.034126 -36.319456 19.351527 -9.107943
-155.726647 -6.947758 -45.849356 -157.021215 -5.509099 -13.733026 -44.601163 25.911085 -83.038013
-148.694619 -21.741358 -14.894758 -140.04104 -10.265724 21.886335 -174.950756 -37.866422 -20.968219
-165.822755 -37.922238 43.745051 -174.950756 -37.866422 -20.968219 -140.04104 -10.265724 21.886335
-148.337457 -5.257416 23.034126 -157.021215 -5.509099 -13.733026 -175.111636 2.07137 45.04056
-184.239144 2.127149 -19.642723 -175.111636 2.07137 45.04056 -157.021215 -5.509099 -13.733026
-192.794098 -24.036192 -27.499331 -184.239144 2.127149 -19.642723 -189.291725 -18.341097 -95.547948
-155.726647 -6.947758 -45.849356 -148.694619 -21.741358 -14.894758 -189.430586 -14.147426 -94.782629
-148.694619 -21.741358 -14.894758 -174.950756 -37.866422 -20.968219 -189.430586 -14.147426 -94.782629
-184.239144 2.127149 -19.642723 -157.021215 -5.509099 -13.733026 -189.430586 -14.147426 -94.782629
-39.168946 17.286879 -33.463726 -5.477355 -23.745439 6.712992 -18.228092 -13.373088 25.590148
-1.568619 -6.241773 26.692756 -18.228092 -13.373088 25.590148 -5.477355 -23.745439 6.712992
-5.842046 28.561255 -7.350298 -25.749966 28.507381 -7.034425 -4.933502 23.61364 49.066495
-17.987226 23.581047 47.07333 -4.933502 23.61364 49.066495 -25.749966 28.507381 -7.034425
-40.72838 7.685194 18.631543 -39.168946 17.286879 -33.463726 -20.253597 11.609657 35.193435
-40.72838 7.685194 18.631543 -36.319456 19.351527 -9.107943 -142.008699 -7.021709 43.404169
-179.545687 -23.447452 44.880301 -165.822755 -37.922238 43.745051 -160.423963 -17.126027 78.68874
-165.822755 -37.922238 43.745051 -140.04104 -10.265724 21.886335 -150.757906 -12.013363 77.341315
-148.337457 -5.257416 23.034126 -175.111636 2.07137 45.04056 -150.757906 -12.013363 77.341315
-142.008699 -7.021709 43.404169 -148.337457 -5.257416 23.034126 -150.757906 -12.013363 77.341315
-44.369924 -50.681974 -120.608243 -56.490052 -40.55293 -154.088016 -22.516295 -35.492847 -217.559063
-23.255078 -58.842076 -163.468503 -44.369924 -50.681974 -120.608243 -22.516295 -35.492847 -217.559063
-49.535733 -17.062435 -158.690787 -23.941404 -16.553999 -199.511483 -56.490052 -40.55293 -154.088016
-4.933502 23.61364 49.066495 -17.987226 23.581047 47.07333 -20.253597 11.609657 35.193435
-165.822755 -37.922238 43.745051 -179.545687 -23.447452 44.880301 -192.794098 -24.036192 -27.499331
-174.950756 -37.866422 -20.968219 -165.822755 -37.922238 43.745051 -192.794098 -24.036192 -27.499331
-175.111636 2.07137 45.04056 -184.239144 2.127149 -19.642723 -179.545687 -23.447452 44.880301
-44.369924 -50.681974 -120.608243 -44.535467 -13.305742 -85.586386 -56.490052 -40.55293 -154.088016
-49.535733 -17.062435 -158.690787 -56.490052 -40.55293 -154.088016 -51.20834 6.372924 -106.939611
-44.601163 25.911085 -83.038013 -49.535733 -17.062435 -158.690787 -51.20834 6.372924 -106.939611
-155.726647 -6.947758 -45.849356 -44.601163 25.911085 -83.038013 -51.20834 6.372924 -106.939611
-44.535467 -13.305742 -85.586386 -155.726647 -6.947758 -45.849356 -51.20834 6.372924 -106.939611
-44.535467 -13.305742 -85.586386 -148.694619 -21.741358 -14.894758 -155.726647 -6.947758 -45.849356
-174.950756 -37.866422 -20.968219 -192.794098 -24.036192 -27.499331 -189.291725 -18.341097 -95.547948
-189.430586 -14.147426 -94.782629 -174.950756 -37.866422 -20.968219 -189.291725 -18.341097 -95.547948
-184.239144 2.127149 -19.642723 -189.430586 -14.147426 -94.782629 -189.291725 -18.341097 -95.547948
-157.021215 -5.509099 -13.733026 -155.726647 -6.947758 -45.849356 -189.430586 -14.147426 -94.782629
-36.319456 19.351527 -9.107943 -40.72838 7.685194 18.631543 -20.253597 11.609657 35.193435
-17.987226 23.581047 47.07333 -36.319456 19.351527 -9.107943 -20.253597 11.609657 35.193435
-39.168946 17.286879 -33.463726 -18.228092 -13.373088 25.590148 -20.253597 11.609657 35.193435
-36.319456 19.351527 -9.107943 -148.337457 -5.257416 23.034126 -142.008699 -7.021709 43.404169
-39.168946 17.286879 -33.463726 -40.72838 7.685194 18.631543 -142.008699 -7.021709 43.404169
-140.04104 -10.265724 21.886335 -39.168946 17.286879 -33.463726 -142.008699 -7.021709 43.404169
-175.111636 2.07137 45.04056 -179.545687 -23.447452 44.880301 -160.423963 -17.126027 78.68874
-150.757906 -12.013363 77.341315 -175.111636 2.07137 45.04056 -160.423963 -17.126027 78.68874
-165.822755 -37.922238 43.745051 -150.757906 -12.013363 77.341315 -160.423963 -17.126027 78.68874
-140.04104 -10.265724 21.886335 -142.008699 -7.021709 43.404169 -150.757906 -12.013363 77.341315
-31.822947 37.273317 -81.316943 -49.535733 -17.062435 -158.690787 -44.601163 25.911085 -83.038013
-44.601163 25.911085 -83.038013 -36.319456 19.351527 -9.107943 -31.822947 37.273317 -81.316943
-25.749966 28.507381 -7.034425 -31.822947 37.273317 -81.316943 -36.319456 19.351527 -9.107943
-36.319456 19.351527 -9.107943 -17.987226 23.581047 47.07333 -25.749966 28.507381 -7.034425
-20.253597 11.609657 35.193435 -18.228092 -13.373088 25.590148 -1.568619 -6.241773 26.692756
-5.159967 11.653234 32.753676 -20.253597 11.609657 35.193435 -1.568619 -6.241773 26.692756
Homer_simpson




PostPosted: Tue Jun 24, 2003 5:34 pm   Post subject: (No subject)

hmmm... cool... finally put it all together Very Happy
but the light position doesn't effect the light at all... =S
and i dunno how the texture thingy works at all =(

any way very nice engine +50 bits
Catalyst




PostPosted: Tue Jun 24, 2003 5:51 pm   Post subject: (No subject)

ya i never finished the light or camera classes
its been together (besides the non working classes) for a while i just didnt want to give the source code away b4 i got my footing in c++

the 1d texture modifies the shading, giving you a lot more control over it
Andy




PostPosted: Wed Jun 25, 2003 11:42 am   Post subject: (No subject)

how come one of the wings of the ship has holes in them?
Catalyst




PostPosted: Wed Jun 25, 2003 12:20 pm   Post subject: (No subject)

thats a problem with the culling, the only way i know of to fix that is to turn it off or get rid of the perspective
Andy




PostPosted: Wed Jun 25, 2003 1:50 pm   Post subject: (No subject)

oo okay ic, k thnx
very cool btw
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: