3D math? Where do I begin?
3D math? Where do I begin?
3D math? Where do I begin?
3D math? Where do I begin?
3D math? Where do I begin?
3D math? Where do I begin? 3D math? Where do I begin? 3D math? Where do I begin? 3D math? Where do I begin? 3D math? Where do I begin? 3D math? Where do I begin? 3D math? Where do I begin? 3D math? Where do I begin?
3D math? Where do I begin? 3D math? Where do I begin?
3D math? Where do I begin?
Go Back  Xtreme Visual Basic Talk > > > > 3D math? Where do I begin?


Reply
 
Thread Tools Display Modes
  #1  
Old 12-12-2004, 04:31 PM
Napivo1972 Napivo1972 is offline
Junior Contributor
 
Join Date: Dec 2003
Location: Belgium
Posts: 284
Default 3D math? Where do I begin?


I guess people have asked this a thousand times. I started playing around with directX9 and VB.net. I since long dreamed to have a VB 3d engine that has the power of the Half-life engine (for inside) but could create infinite sized outdoor scenes. I’d like to create a RPGmaker3d but whether or not we (Me and my friends) will ever accomplish this task it is not relevant at this point but I can always dream.

Given that this task is impossible for us right now. I decided to build a 3D drawing program to start learning. This only looked natural compared to 2d graphics leaning as one of the first tasks is to write a drawing program like “Advanced Paint”

Being not too bad at 2d math, I thought, with a little help from the internet, I’ll learn the 3d math easily enough... No such luck. This stuff is so complex

When I started I thought: “A plane is defined by 3 points and a shape is the space between a number of those planes. What more do I need?”

Although I know the above statement is absolutely correct, how do you explain this to your computer? I found the answer here: http://mathworld.wolfram.com/Plane-P...ersection.html but I couldn’t make heads or tails from this stuff. MathImagics (I admire) is probably Rolling Over the Floor Laughing for how easy this stuff is but I never learned about this stuff.

So, I need to learn 3D math from the start but I can’t seem to find such resource on the internet. I am not asking for people to write me code, I rather prefer to understand what I playing with but where do I get the knowledge? All resources, books, tutorials, articles are welcome.

Thanks
Reply With Quote
  #2  
Old 12-12-2004, 04:56 PM
Titanium Sniper Titanium Sniper is offline
Freshman
 
Join Date: Dec 2004
Location: Charlotte, NC
Posts: 33
Default

to put a point n space on the observers sreen. if the observer is at 0,0,0 (x,y,z) and is looking into the positive z axis the place a point in 3d would be drawn on the screen is:
( i use radians here as everyonbe should)
and this only works if the point will be on the screen otherwise it will mess up

xvalue on screen is: widthof screen in pixles/2 *(pi/4/arctangent(z/x)
yvalue on screen is: heightof screen in pixles/2 *(pi/4/arctangent(z/y)
this should work if it dosent then post a better way
__________________
My Programs Post
I am proud of the
GO TO MY WEBSITE NOW IT IS HERE

Last edited by Titanium Sniper; 12-12-2004 at 05:05 PM.
Reply With Quote
  #3  
Old 12-12-2004, 06:38 PM
Mathimagics's Avatar
Mathimagics3D math? Where do I begin? Mathimagics is offline
Algorithms 'R' Us

Forum Leader
* Guru *
 
Join Date: Jun 2002
Location: Canberra
Posts: 4,159
Default

Actually, 3D geometry is not one of my strengths at all

I'm more comfortable in other areas, I'm afraid, algebra, number theory, combinatorics.

So really I'm in the same situation as you - the only geometry I did was 2D High School level - maybe I'm a little better off, as the areas I did study at university gave me enough to understand the notation and be able to get the gist of articles like the one you refer to (on Planar intersections) e.g. I know about matrix and vector operations, and that's a tool much used in 3D geometric transformations.

How would I go about learning the 3D math and about 3D drawing systems? I'd go and find a good textbook - forget "internet tutorials", sit down with a good book, paper and pens, and study it - long, hard and often.

Quote:
I decided to build a 3D drawing program to start learning.
I once thought about that myself, and still hope to one day (time, alas, is a finite resource) - a book I would recommend is Ian Foley's "Computer Graphics: Principles and Practice", it is a "classic" in the field, I believe, and has both the preparatory maths and, of interest to you also, the methods and techniques used to build graphics systems and do basic 3D modelling.




PS: Whenever I need to explore a new area of maths, or catch up on an old one, I switch off the PC and find the nearest University library and find the "QA" section (maths and computer science). Some universities actually allow the general public to register and get some borrowing rights.
__________________
Cogito, ergo codo
Reply With Quote
  #4  
Old 12-12-2004, 11:40 PM
Napivo1972 Napivo1972 is offline
Junior Contributor
 
Join Date: Dec 2003
Location: Belgium
Posts: 284
Default

Thank you both for your answers. I will follow MathImagics recommendation and find a suitable textbook on this subject and start learning.
Reply With Quote
  #5  
Old 12-14-2004, 05:35 PM
BillSoo's Avatar
BillSoo3D math? Where do I begin? BillSoo is offline
Code Meister

Retired Moderator
* Guru *
 
Join Date: Aug 2000
Location: Vancouver, BC, Canada
Posts: 10,441
Default

I wrote a short tutorial that might help with the display aspects...

http://www.xtremevbtalk.com/tutors-corner/22865-3d-graphics.html
__________________
"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
3D math? Where do I begin?
3D math? Where do I begin?
3D math? Where do I begin? 3D math? Where do I begin?
3D math? Where do I begin?
3D math? Where do I begin?
3D math? Where do I begin? 3D math? Where do I begin? 3D math? Where do I begin? 3D math? Where do I begin? 3D math? Where do I begin? 3D math? Where do I begin? 3D math? Where do I begin?
3D math? Where do I begin?
3D math? Where do I begin?
 
3D math? Where do I begin?
3D math? Where do I begin?
 
-->