| Author |
Your attention please... |
Nephilim
Joined: Feb 28, 2002 Posts: 165 From: Enschede, the Netherlands
| Posted: 2002-09-03 06:36  
It's the technique that games like
Quake and Unreal use for their geometry.
I don't use it myself, and I can't
really explain how it works, but here's
a definition I found:
A Binary Space Partitioning Tree (or BSP Tree) is a data structure that is used to organize objects within a space. Within the field of computer graphics, it has applications in hidden surface removal and ray tracing. A BSP tree is a recursive sub-division of space that treats each line segment (or polygon, in 3D) as a cutting plane which is used to categorize all remaining objects in the space as either being in "front" or in "back" of that plane. In other words, when a partition is inserted into the tree, it is first categorized with respect to the root node, and then recursively with respect to each appropriate child
 
|
Deamon
Joined: May 10, 2002 Posts: 620 From: Germany
| Posted: 2002-09-03 22:00  
Is it from a book? or from a website ?
 
|
Nephilim
Joined: Feb 28, 2002 Posts: 165 From: Enschede, the Netherlands
| Posted: 2002-09-04 06:54  
From a website.
You can find plenty of info on
BSP geometry on the web.
 
|
Manuel Ortega
Joined: Jul 23, 2002 Posts: 184 From: Alicante - Spain
| Posted: 2002-09-04 07:22  
Expect tons of matrix algebra and binary/octal trees.
_________________
Current Status: Pre-Alpha - 9%
R1L web page:
http://uboat.cjb.net
Manuel Ortega
 
|
Deamon
Joined: May 10, 2002 Posts: 620 From: Germany
| Posted: 2002-09-04 11:28  
I love math hehe
Can you suggest me some good ones.Maybe some good for beginners ?
 
|
Manuel Ortega
Joined: Jul 23, 2002 Posts: 184 From: Alicante - Spain
| Posted: 2002-09-04 13:29  
Sure, what language will you use? I know a couple of pages about BSP but oriented to OpenGL.
If OpenGL, you can find several good bsp tutorials on www.gametutorials.com
_________________
Current Status: Pre-Alpha - 8%
R1L web page:
http://uboat.cjb.net
Manuel Ortega
[ This Message was edited by: Manuel Ortega on 2002-09-04 14:26 ]
 
|
Deamon
Joined: May 10, 2002 Posts: 620 From: Germany
| Posted: 2002-09-04 22:19  
Quote:
|
On 2002-09-04 13:29, Manuel Ortega wrote:
Sure, what language will you use? I know a couple of pages about BSP but oriented to OpenGL.
If OpenGL, you can find several good bsp tutorials on www.gametutorials.com
|
|
First thanks.
I want to make it in OpenGL and languages C/C++ and later i want to go in assambler.
What kinde of languages do you use ?
 
|
Deamon
Joined: May 10, 2002 Posts: 620 From: Germany
| Posted: 2002-09-04 23:32  
Quote:
|
On 2002-09-04 13:29, Manuel Ortega wrote:
If OpenGL, you can find several good bsp tutorials on www.gametutorials.com
|
|
Give it to me
What have you else?
Something good on assembler for beginners?
BTW The site is great this are the kinde of sites i allways looking for.
 
|
Deamon
Joined: May 10, 2002 Posts: 620 From: Germany
| Posted: 2002-09-04 23:38  
My be you have something on wave animation too ?
 
|
Nephilim
Joined: Feb 28, 2002 Posts: 165 From: Enschede, the Netherlands
| Posted: 2002-09-05 05:27  
The way you animate your waves is also
dependent on what the waves are made
of...
 
|
Manuel Ortega
Joined: Jul 23, 2002 Posts: 184 From: Alicante - Spain
| Posted: 2002-09-05 07:59  
I haven't found a good water algorythm. Most ones that I saw were high-CPU-use and other used EMBM effects. I try to avoid this hardware feature. I want to program a good water using a Geforce 2 (I refuse to have to change graphics card every year). There are several ways of making it. The most easy and effective is the typical poly mesh.
Try looking some examples at
http://romka.demonews.com
_________________
Current Status: Pre-Alpha - 9%
R1L web page:
http://uboat.cjb.net
Manuel Ortega
 
|
Deamon
Joined: May 10, 2002 Posts: 620 From: Germany
| Posted: 2002-09-05 10:49  
Quote:
|
On 2002-09-05 05:27, Nephilim wrote:
The way you animate your waves is also
dependent on what the waves are made
of...
|
|
Made of ? Of what can it be made if not out of mashes ?
 
|
Deamon
Joined: May 10, 2002 Posts: 620 From: Germany
| Posted: 2002-09-05 10:57  
Quote:
|
On 2002-09-05 07:59, Manuel Ortega wrote:
...I saw were high-CPU-use and other used EMBM effects...
|
|
EMBM effects?
 
|
Manuel Ortega
Joined: Jul 23, 2002 Posts: 184 From: Alicante - Spain
| Posted: 2002-09-05 11:55  
Quote:
|
Made of ? Of what can it be made if not out of mashes ?
|
|
Usually poly meshes is the most easy and common. There is other methods like Voxels and particle systems, but these eats lots of CPU power. In a game, a Voxel water engine could use 95% of the power used by the entire game, and allows low framerates (Remember Comanche 3 and the high minimum requirements to play).
Environment Map Bump Mapping.
Yes, that amazing water effect that uses 'Destroyer Command' and better 'Lock-On: Modern Air Combat' reflecting lights and objects in the plane water surface like real water. Of course this is pure hardware management, and only by recent graphic cards like Geforce 3 or 4 and Radeon series. Programming this stunning effect can be done by only 6-7 code lines. Without it, the effect has to be software-emulated, with hundreds of lines more, and without reaching the same quality.
_________________
Current Status: Pre-Alpha - 9%
R1L web page:
http://uboat.cjb.net
Manuel Ortega
 
|
Nephilim
Joined: Feb 28, 2002 Posts: 165 From: Enschede, the Netherlands
| Posted: 2002-09-06 06:19  
Simply applying a surface shader to
the water surface can work miracles too 
 
|