[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re: basemap portals are all messed up
i currently generate one portal for each edge in the space contour, which
should produce many portals. yet, the number of white dots on the image you
sent still seems to be TOO large. how many dots do you use to denote each
portal? how do you denote a portal?
also, if we compute the shortest distance between two points, i am not sure
how decreasing the number of portals will make the path less "twisty".
decreasing the number of portals may be a good optimization that can help us
to decrease the precomputation time on your side. i'm ready to implement it.
let's brainstorm the problem tomorrow and find a solution.
i have already changed the ".rooms" extension to ".spaces". the next version
of the space adjacency info will follow the ".spaces" convention.
see you tomorrow,
vitaly
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Hi Guys,
Attached is a picture of a route on the basemap with portals shown as
white circles. You'll note that portals are pretty messed up here -- there
are WAY too many connecting various spaces. I'm not sure how these get
generated, but there should be a stage in the basemap code where the
number of portals is reduced. Perhaps it is best to have N portals along
each edge, with the constraints that (a) the portals follow some
reasonable density, and (b) for two neighboring spaces there is at least
one portal connecting the two. I am sure we need way fewer portals than we
have now, and I think this is why routes look a bit more twisty than they
should.
Also, MIC -- how are you coming on elevators? Can we get together tomorrow
to talk about automating data generation?
-Patrick
--
* * *
Patrick James Nichols II
Graduate Student, MIT Computer Graphics Group
http://graphics.csail.mit.edu/~pnichols