That is a very good finding there. And in this case I think it is only a good simile. I believe Octrees are used to keep track of 3D world data in rendering engines. For those that know, is this how octrees are used in games?:
Using and algorithm the engine chops up the level when compiled into octrees which it will reference for rendering distance when the game is being rendered. Thus a game world is a bunch of octress holding octrees that all hold 3D objects. Now all of these octrees rely on camera position and view distance of the camera to decide what to render within the octree (and its sub octrees if nessicary). Thus the whole level is not rendered at once as octrees are rendered based on camera view and then objects are excluded from render with a seprarte algorthim that looks for intersections of objects in the field of view. Thus the engine only renders the objects that are visible on screen. Even more advanced engines use an algorithm that looks at what polygons of objects are visible and only renders the polygons that are visible within the octrees that it can "see". That advanced algorithm is called occlusion.
Did I get that information correct? or did I confuse it with another aspect?
Euphoria physics engine GC 2006 demo
-
- Posts: 866
- Joined: Fri Jul 08, 2005 4:27 am
- Location: PA, USA
Re: Euphoria physics engine GC 2006 demo
Think outside the box.
To go on an adventure, one must discard the comforts and safety of the known and trusted.
To go on an adventure, one must discard the comforts and safety of the known and trusted.
Re: Euphoria physics engine GC 2006 demo
Oh ok I think I got it a little mixed up when I saw the reference image posted there on the wikipedia. But it would be a similiar concept to a degree. But on a model and polygon level, and instead of using it for camera rendering, use it with the physics to calculate which group of polygons are effected.
Sorry to get started on this rampage. While looking for some python scripts I ran across that and apparently quickly got confused. But at least I know now
Sorry to get started on this rampage. While looking for some python scripts I ran across that and apparently quickly got confused. But at least I know now
Jonas
Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack
Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack
Re: Euphoria physics engine GC 2006 demo
Below are some Google cache links to Pixalux's old website. They created DMM which is the physics engine used for breaking objects. These web pages sort of explain how the breaking is done.
http://209.85.165.104/search?q=cache:EO ... d=32&gl=us
http://209.85.165.104/search?q=cache:hf ... cd=1&gl=us
Also here is a link to Pixalux's first video demo:
http://moonwax.vox.com/library/video/6a ... ff219.html
http://209.85.165.104/search?q=cache:EO ... d=32&gl=us
http://209.85.165.104/search?q=cache:hf ... cd=1&gl=us
Also here is a link to Pixalux's first video demo:
http://moonwax.vox.com/library/video/6a ... ff219.html
-
- Posts: 866
- Joined: Fri Jul 08, 2005 4:27 am
- Location: PA, USA
Re: Euphoria physics engine GC 2006 demo
I must reiterate that I am not not entirely sure of myself with my explaination of octrees. I am pretty sure thats how octrees work however, I might have confused them with somthing else or confused a whole bunch of stuff together. I read about that kind of thing a while ago, but never studied it to any degree. I personally don't enjoy coding to the degree of writing a game engine and so the information I have found on it has become rusty.
Anyhow, those are some good links there Allanon. I will have to check those out later, their main site is down for maintenance this week as I tried to view the web pages by clicking on Home on the links you gave and I got redirected to a temporary page.
Anyhow, those are some good links there Allanon. I will have to check those out later, their main site is down for maintenance this week as I tried to view the web pages by clicking on Home on the links you gave and I got redirected to a temporary page.
Think outside the box.
To go on an adventure, one must discard the comforts and safety of the known and trusted.
To go on an adventure, one must discard the comforts and safety of the known and trusted.