Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!

Tutorials »
3D
3D Engine for Dummies
Author: KStor
What's Next?
Here are some suggestions about what you could add to the engine.
- a different rotation system, not working with independent buttons but with a single circle.
The object rotates in a different direction depending on the position of the mouse and at varying speeds.
By the way you don't really need a slow sine and cosine function, use only the square root function...
It can all be done, I did it.
- z-sorting, not too hard.
- shadows
These are pretty simple to make: place a light at any position, then calculate
the intersection of the line light-point and the "floor plane" parallel to the xz plane, for each point.
Then redraw each line with the new coordinates.
You can also make an outdoor light by chosing not an origin of the light but it's direction (a vector).
Then calculate parallel lines through each point and calculate the intersection with the floor. Easy!
I'll let you figure out the math formulas all by yourselves (if you don't manage, mail me)
An extra thing would be different light intensities: the stronger the light, the darker the shadow (set alpha...);
and why not light colours.
- full faces
If ever you manage this, MAIL ME!!!!!!!!!!
One last thing,
PLEASE RATE THIS TUTORIAL (highly)!
| » Level Advanced |
|
|
Added: : 2000-12-04
Rating: 8.97 Votes: 2634
Hits: 4706
|
| » Author |
|
KStor is a student living in France and working with Flash during his free time...that is, not very much.
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (39 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|