Register | Sign In


Understanding through Discussion


EvC Forum active members: 60 (9209 total)
1 online now:
Newest Member: Skylink
Post Volume: Total: 919,444 Year: 6,701/9,624 Month: 41/238 Week: 41/22 Day: 8/6 Hour: 1/2


Thread  Details

Email This Thread
Newer Topic | Older Topic
  
Author Topic:   Percy's Alife Project
TechnoCore
Inactive Member


Message 62 of 63 (66349)
11-13-2003 5:57 PM


This seems like a insanly computing-time/storage costly project.
I would not use a real grid at all. Just position-vectors to where each object in the world is. Then let every object in your world contain a sub-grid. So a cell (an object) allocates exactly as many gridscells it needs to represent itself in 3d. It also contains a position-vector describing its position in the world. Maybe also a vector describing the radius of a bounding-sphere that completly suurounds the object.(for speeding up distance calculations between objects) Then place all these objects within an oct-tree. (So you only do distance-calculations between objects that are actually close to eachother.) Every "frame" check whichs objects are close enough to eachother to interact. If that is the case, you can apply the same logic you would have had in a true 3d-grid.
Im maybe way off here... didn't read all mails, just the first few and last

  
Newer Topic | Older Topic
Jump to:


Copyright 2001-2023 by EvC Forum, All Rights Reserved

™ Version 4.2
Innovative software from Qwixotic © 2024