Saturday, March 19, 2011

Learning using traffic simulatorsD

'Traffic simulator used': 'SUMO 0.12.3', 'net/route generator used': 'VERGILIUS.VMF'

VMF use the TIGER file in 2006 (later versions are shapefiles, not text, don't know how to use) to generate topology and flow files for SUMO, which simulates traffic.

The TIGER file has road format like this:
11206  40087991 A  Worcester                     St    A31                                                                        25250270272643026430
73830073830020042001 -71706031+42224956 -71706159+42225103
11206  40016687 A  I-90                                A15                                                                        25250270272643026430
73820073830020062004 -71706031+42224956 -71716298+42223170

dont know what those numbers mean yet.
unknown unknown unknown       street name       unknown                                                       unknown
unknown           coordinates of one end       coordinates of the other end

Lots of information are missing, such as number of lanes, DIRECTION OF ROADS (in the TIGER file, some roads are two-way, and some are one-way), but VMF only takes TIGER files. So what comes from VMF is far from the real thing.  Number of lanes and directions need to be filled manually.

But, at this stage, I only want to simulate I-90 rather than an area.  So, I can just spend a day to make a simplified TIGER file formatted file by hand and feed to VMF.

Monday, March 14, 2011

PES 2011, wine 1.3.15, ubuntu 10.10

Finally worked.

it used to give me a shader error right after "press any button" screen, for a long while. but somehow, mysteriously, it runs smoothly.

Still cannot figured out what's the trick exactly.

tried installing directx9 separately using winetricks. It helped a little when everything is a mess that i couldn't even start the program.

tried wine 1.2 and 1.3 alternatively several times. in the end it works in wine 1.3.

what doesn't work: in the settings of pes, there used to be fullscreen option available, when I couldn't even start the program. but now only window mode available.

additional notes: disabling compiz improves the performance a lot, as mentioned by everyone's post anywhere.

there is still error output, but didn't affect running:
err:d3d_texture:basetexture_set_autogen_filter_type >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexParameteri(target, GL_GENERATE_MIPMAP_HINT_SGIS, GL_FASTEST) @ basetexture.c / 198

 

段子

1、本人大四了,一天一个人在宿舍看A片,室友推门而入,我迅速最小化,装作是在玩游戏。他看了我一眼,幽幽的说,四年了,我们兄弟还是没能到肝胆相照的地步(via糗百)


3、收到一条短信:“今日15点31分开始起,我老婆就要开始陪别人的老公睡啦,我还得幸福的伺候着洗漱更衣沐浴,没办法他带枪来的。”看了百思不得其解,一看发信人,我勒个去,生孩子居然有这样报喜的!

4、某网友:哥守了21年的处男之身,终于在前天晚上………………………..变成22年了…


6、“老婆,你是我见过最可爱的人!~”

“muma!~老公,我就喜欢你这种没见过世面的……”