Jul 06 2009

OpenSim Terrain notes, and Darb has Process Credit history!

I’d read about this, but never before experienced the agony first-hand.  Extracting funds from SL, the wait for funds to arrive at PayPal was a bit slow.  In fact, in the time it took funds to go from Linden to PayPal, a bamboo shoot in my back yard could have grown taller than me (that’s my RL not SL height!), and would have been over 2 meters tall.  Anyway, Process Credits are quite lacking in symmetry with how quickly credit charges can flow into the Linden realm.

During this week of waiting my random prims have been cleared out from Amida and nary a trace of Berkurodam BART Station remains besides a video in Gualala.  The video screen was actually entombed by a neighbor, who may not like it but did not send any message.

Anyway–for me this week is all about generating maps and graphics while keeping up with work.  I’ve generated a 50cm terrain grid for parts of my county where perhaps 150,000 people live.  With computational process improvements I should be able to make production stable enough to generate a 25cm grid.  The point is to model terrain slope and aspect within urban parcels.  OpenSim can pack 64 terrain megaprim sculpties over each region to refine terrain more than the built-in 1-meter postings, and display 10cm orthoimagery at full resolution.

Last year, I used first-return LiDAR data of the UC Berkeley campus to generate a 25cm grid for 10cm imagery.  Now, I’m working with bare-earth LiDAR data from FEMA, topographic contours (densified to 1.5m vertex spacing), and most importantly, photogrammetric terrain and water break lines.

Throwing all those data into the mix, the data are built into an ESRI Terrain Dataset, from which I generate TIN and GRID models at various reolution and extent.  The ESRI ArcGIS 3D Analyst Terrain-to-TIN generator breaks down after about 10 mega-faces (so would I…)  And the ArcGIS Terrain-to-GRID generator seems to drift into Windows-unconsciousness after about 1.0 giga-cells.  So for the grid, I break it down and do the pieces, then merge the tiles using ERDAS Imagine, because the ESRI ArcGIS raster mosaic function does not produce output grids much over 10 GB.  As annoying as learning these ArcGIS limits can be, it is very satisfying (and instructive) to see huge swaths of seamless terrain with great detail once it all comes together.  Thanks to the break lines, many driveways and most home building site cuts and fills are resolved.  And it will be a lot of terrain by OpenSim standards–enough to calibrate terrain for over 20,000 contiguous regions–not that I ever expect to build it all at 1:1 scale!

No responses yet

Aug 28 2008

OpenSim Screen Shots – An OpenBerkurodam-40 Deluge

I took a bit of a rest after the ESRI International User Conference (actually, it was more like catching up with real work). Sadly, I missed out on the call for images by Adam, and I can’t even blame it on there being so many time zones between here and Perth.;^)

So in the interest of sharing stuff in bulk, please accept the following pile of shots. All of them were made from the 40-region OpenBerkurodam (OB40) model that has been taking shape over the past few months. All of them are from the 1.024:1 scale model of the UC Berkeley campus and adjacent downtown environs that have been built (precisely 2.5 square km. worth).

Unlike the attractively detailed SketchUp models one finds for selected UC Berkeley buildings in Google Earth, the OB40 sim has every building, every moderately large tree, a lot of light poles, and even a construction crane imaged in 3D. This was because it was built wholesale with reflective LiDAR data. Lots of data, and very little artistic craft!

The resulting mismatch between the LiDAR bump-map surfaces and the 10-cm natural color orthoimagery that I have draped over them create an effect that is quick, dirty, and very complete. At first glance, one might think that we can’t decide where we are–on the continuum between representational and surrealistic art, or that perhaps the trees have not lichen, but a rather different kind of fungus affecting them. Hey, I’m just saying…

The OB40 model was demonstrated live on two and three higher-end laptops running the standard Second Life client; they had NVIDIA Quadro graphics cards and they did OK. The sculpties imaged a little bit differently than they do with fully approved graphics cards but the client never crashed outright.

Some senior ESRI system folks got a look and a see of what OpenSim was about with GIS data loaded into it. Several public safety people expressed some interest in the possibilities. The presentation was not at a booth, but rather in a corner of the showroom floor given to the “User Applications Fair” that was a spot for about 32 non-commercial folks to show their stuff. Strictly speaking, the ESRI software was not the application on display, but without the ESRI (and ERDAS) software, I wouldn’t have been able to get my GIS data loaded into OpenSim in time for the conference.

What sort of shocked me in terms of response was a huge non-linearity in acceptance based on the age of the person viewing the demonstration. At one point, I was describing some obscure details with an experienced GIS person, and within 15 seconds, a group of three teen-aged 4H Club members (I’d seen them in another part of the conference) sat themselves down without questions or introductions and began going all over the place 3X. They had no questions about the SL client interface, the purpose of the OB40 sim, or any of that. They just sat down and started exploring.

For me, the experience of seeing the 4H kids using OB40 intuitively provided great hope that some day not too far off, people will just accept a Multi-User Virtual Environment (MUVE) as readily as I would read a map from the American Automobile Association (AAA). I mean, for me there’s some effort involved in using the SL client, although at this point it is about as familiar to my hands as the ‘vi’ editor is—I just use it, kind of like reading a book without mouthing the words. But for the younger people who interacted with OpenSim, the interface did not seem hardly present for them, they focused at once on the content and enjoyed it for just the fun.

OK, enough blather – I’ll try and share all the shots, including some that did not make it to San Diego. The actual date for all of the shots was 20080731.
Shattuck Ave and Center Street in Berkeley, view westerly

This is downtown Berkeley, the BART station, same area that has been modeled at 1:3 scale in Second Life Agni grid, Gualala region. In Gualala, everything has been built in detail by hand, with custom real-world texture shots. In OB40, the scale is nominally 1:1, but at the moment only a LiDAR drape fills the region (and 39 adjacent regions, too.) There is an avatar above the Power Bar building, the tower on the left.

Pictometry-style shot of Civic Center

This is synthetic “MS Virtual Earth” or Pictometry high-angle view of the Martin Luther King Jr. Civic Center building, Berkeley’s city hall. There is an avatar on the near-left side of the roof, enjoying a brown-bag lunch.

Shattuck Ave and Hearst St, view Swly

This is Shattuck Ave and Hearst St, view SWly. Oscar’s hamburger grill is on the right with all the ducting on the roof.

Berkeley Arts Magnet school

View Wly across Shattuck Ave toward the Berkeley Arts Magnet school campus.

Farms in Berkeley

View toward Oxford St, near sunrise. Strawberry fields in foreground.

Farms In Berkeley?  You bet!

Farms in Berkeley? Indeed, this strawberry field was imaged on 2006 07 01 just a couple of blocks from the UC campus. View SEly near sunrise.

View up Hearst toward Euclid

View uphill on Hearst St towards Euclid, northerly side of UC Berkeley campus. TECHNICAL DETAIL: in the far distance toward sunrise, there are huge eggs floating above the ground, but textured with the orthoimagery. These are the LiDAR megaprims after they have received their photo texture, but before they have rezzed with their bump map. Depending on bandwidth, how much of the model the client may have already visited and cached, and the phase of the (virtual) moon, it might take anywhere from 15 seconds to a minute or two for the bump maps to fully rez out when one arrives near a region. When shooting these pictures, and typically in OB40, I keep the SL client viewing out 512 meters with “ultra” quality graphcs.

LBNL synchotron view Ely

Above the top of Hearst, the Lawrence Berkeley National Laboratory (LBNL) sychotron and nearby buildings, view Ely, including some really large Blue Gum (eucalyptus) trees.

Foothill student residences, view Sly

Below LBNL, the Foothill student residences, with Sather Tower in view, far right

The UC Berkeley Greek Theater, view Ely

The UC Berkeley Greek Theater, site of a great many fine performances over many decades, view Ely, and just Sly of the Foothill residences.

UC Berkeley International House, and California Memorial Stadium

View NEly, of UC Berkeley’s International House, with California Memorial Stadium in background. Avatar is hovering over the cupola of the I-House, sneaking a free look at the football scrimmage (or is it cheerleader camp?) 2006 07 01

View Nly up Piedmont toward I-House

View Nly up Piedmont Ave, in the Greek housing section of campus. View toward International House with California Memorial Stadium in background. Horizontal scale 1.024:1, vertical scale 1:1; those trees have scaled height and bulk thanks to LiDAR first return gridding.

View Wly of UC Berkeley campus near Wurster Hall

UC Berkeley main campus near Bancroft and Piedmont. Large red-roofed building in mid left frame is Boalt Hall, lighter building in right mid-far range is Wurster hall, home of the Urban Planning folks. Here’s looking at you, kids!

Long shot Enely of Sather Tower

Finally, UC Berkeley campus toward LBNL, long shot near Sather Tower. All these shots were from the OB40 sim, sometimes running on osim.bargc.org

No responses yet

May 06 2008

Berkurodam 1:25 map on Agni – 1:3 BART Station still online

Published by under SL In General

For ease of QA, there’s nothing quite like shrinking a big multi-region project to get through faster. And to share the joy a bit, this index map is in a public space, on Agni. at Amida 16/12/30

The parcel in Agni (standard Second Life public grid) now has a 1:25 model of Open Berkurodam loaded. There are 159 of the 160 terrain sculpties in place, all with full 1K x 1K ortho image textures. If you find yourself on Agni, stop by to check out the details and see the underside of the terrain sculptie diamonds.

1:25 scale Index map in Second Life 1:25 scale index map in standard Second Life grid

1:25 scale index map in Second Life standard grid 1;25 scale index map in Second Life standard grid

1:25 scale index map in Second Life standard grid

The location is just across the water from original 1:3 scale Berkurodam BART Station. The index map can be found in Amida 16/12/30. Give it a chance to rez, because uncompressed there are 477 MB of Targa image textures represented on 159 terrain sculpties, each of which is specified with a 132×132 bumpmap. In the interest of full disclosure, I have exaggerated the Z dimension here by 50% relative to X and Y, so that the 1:25 scale is horizontal only, and vertical scale is 1:16.6 just to make the terrain more apparent. At this scale, a lot of the immersive experience seems lost and the perspective is quite a bit like Google Earth.

Striving for multiple media channels, I have also uploaded some suitably grainy videos to offer a taste to those who can’t or won’t visit the Agni grid. Believe me, it’s a much sweeter sight at 1600×1200 with the new Windlight viewer, but if one is interested in this sort of rendering, the videos might offer some motivation to explore with the SL client proper.

The longest is 3:39 and starts in Gualala, shows a bit of rezzing of the 1:25 map, does a fairly good job of showing off the texture detail on football fields, then finishes up with a flight over to the Berkurodam BART station 1:3 model, with a glimpse inside the two underground levels.

The shortest video is 0:39 and can be viewed here

The next video shows some of both the 1:3 Berkurodam BART station model in Gualala, and the nearby 1:25 OpenBerkurodam index map in an adjacent part of Amida

There is a third one that is still uploading as of this moment

No responses yet