SketchUp

CityEngine model videos – Middle East City Part 1&2

I’ve been working away on SketchUp and needed to do some test urban/residential areas in a fictional Middle East city… For some reason the videos are better quality on my PC to what has been uploaded and processed by YouTube. YouTube seems to have squashed them…   I’ll try and fix it when I get time (my upload speeds aren’t great so I don’t really want to do it again just yet…)

So they are two different models using the same road layout but different rule files.   Both use CityEngine to place or build the city model and Lumion3D to render and make the video (with a little edit from Windows Live Movie Maker).   SketchUp has been used for a few of the elements (a villa, cars, sign posts and the tram!).

Middle East City Part 1 : 

Middle East City Part 2:

{lang: 'en-GB'}

CityEngine 2012.1 New Features & I was right…

Okay please excuse me whilst I engage smug mode …. perhaps I should ask for more in my blogs!  If you’re not sure why I said that, read this: “Will you SketchUp your CityEngine, please?

The new 2012.1 CityEngine!

Okay so I was asking for it to be made easier to use, not to just put in some rudimentary 3D modelling/editing tools into CityEngine (like SketchUp’s…), but it’s a start!

Push/Pull tool anyone?

As this screenshot from the Mid-Morning Plenary at this years ESRIUC in San Diego shows that’s what they’ve done.   I hope they made it so that the model you create is described as a CGA rule so you can use it elsewhere but I doubt it..

Looks like there might be some distance measuring capabilities in there too at last, as it’s a much needed feature.   When a manual model is created it seems that the length of the line is displayed.

There are some other icons also along that toolbar as well so I’m very curious to know what they are.

One thing that puzzles me is the lack of a beta program for CityEngine, I’ve asked and been told there isn’t one.  However the guys at Honolulu seem to be getting the latest releases… is this a government customer thing?

I’ll be posting more on this later and perhaps some thoughts on what the guys in Honolulu are doing.  I’m particularly interested in there public consultation ideas…

{lang: 'en-GB'}

Will you SketchUp your CityEngine, please?


You’ll see my recent blog posts have been mainly about CityEngine and more recently Lumion3D.   Exciting stuff is being done by the people at Digital Urban (UCL) as well!   Both have been talked about as being ‘game changers’ but why?

  • Is it there advanced capabilities?
  • Or is it because of their 3D visualisation possibilities?
  • Perhaps it’s because they work nicely with other file formats?

The answer is in part yes to all of the above, but there is something more fundamental going on and it is in part due to a tool called SketchUp.

When you work in three dimensions everything becomes a little more complicated, yes you can visualise your buildings nicely and see what you are designing, but there is an added layer of complication, for myself it is viewpoints.


I know what a building should look like and all its component parts but you have to be able to view how everything interacts behind other features.   Understanding how a building will look from a 3D model is easier, but understanding how all the component parts fit together (services, floor levels etc..) can be harder to understand.

Working in an architectural practice two dimensional black and white drawings provide a good snapshot of how things fit together and work.   Now that virtually every client wants a 3D model and to walk around it like a computer game, has given us a problematic transition.   UK planning departments still want properly measured 2D black and white drawings, whereas clients would often prefer 3D models.

Historically we have worked with AutoCAD LT, as we’re too small to require AutoCAD (and wouldn’t use many of the advanced features) as well as the various Building Information Modelling (BIM) solutions.   However our clients do want 3D models so we have been creating models for a while now using SketchUp (even prior to it being purchased by Google and now Trimble).

SketchUp is amazing, no that’s not correct, it’s an incredible piece of software.    In fact I regard its development as being one of the most important things to have ever happened to our industry (architecture and urban design).    There are two main reasons for me giving such importance:

  • It fits into our existing software/workflows nicely
  • It is easy to use

That’s it, no really!   The learning curve as anyone who has used SketchUp will know, is very small.   I can guarantee most first time computer literate professional users (with no reading of a manual) can produce a good looking useful 3D model with ease.

Lumion3D is also not the most powerful of visualisation packages but after a couple of minutes of using it I realised I could with relative ease create beautifully rendered models and all within my existing workflows. Like SketchUp the real utility of this tool is how easy it is to create a good looking useful product with minimal training.

But what about CityEngine? It certainly is very powerful and the learning curve is quite steep for anyone without a background in programming.    However it does fit in with my existing workflows just like SketchUp and Lumion3D.   I’m certain that the ESRI CityEngine team is working on usability so I’m asking nicely ESRI, will you please SketchUp your software too?

{lang: 'en-GB'}

ArcGIS – CityEngine – SketchUp – Lumion3D – A workflow

I’m quite partial to a good workflow, so here’s the result of one I’ve posted on GeoPlanIT’s YouTube channel:

Lumion3D is a great rendering/visualisation tool I hope to be using much more in the future.   It might not give you full control over everything but if you want quick and easy renderings of your models it’s brilliant.   A word of caution though, you might want to upgrade your graphics card… (or like me your entire PC).   You can download a free (limited feature) trial now from here.

{lang: 'en-GB'}

CityEngine to SketchUp Keeping your Circles

I’ve been playing around with the export settings for placing models in SketchUp, but there has been a problem.   Basically, circular elements of my models are having their vertices merged so they look like they’ve been crushed:

Something is not right here....

That's better!

Turns out you just need to check the tickbox “Create Shape Groups” I don’t know why so if anyone knows just post a comment after this post…

Just check the box....

{lang: 'en-GB'}

CityEngine, SketchUp and Kerkythea: How to make them play nice.

My first rendered (albeit simple) CityEngine model

I’ve been looking at ways to import properly my GIS to CityEngine models into SketchUp, the trouble is that when I’ve opened them in SketchUp the model looks weird. In that I mean it doesn’t draw properly and doesn’t display properly. It sort of flashes on and off when I move around the model. Then when I’ve tried to render it in Kerkythea (a great and free renderer) it doesn’t work either.

I looked for a solution and it appears the answer lay in this forum post “obj export to Lightwave – problems with scale”.  What’s happening is that I’ve been importing my ArcGIS Shapefiles as “‘Cartesian’(disable projection)”.   This way I can easily export the results back to ArcGIS.   I’ll freely admit I’m not so good with projections and map systems!  Anyway while this is great for back and forth between CityEngine and GIS, the models produced (obj or 3DS, in my case) have an issue.

Basically the models are exported with origin points far to far away from the actual model.    CityEngine at this time does not seem to be able to sort this problem out.  Their solution is to import all shapefiles and centre the data by offsetting, but of course getting back to your GIS is not as easy as my preferred method.

My model is displaying a bit weird in SketchUp...

I’ve decided that I like too much the ability to go between ArcGIS and CityEngine so the solution lies for me where the problem manifests itself in SketchUp:

  1. Import your model into SketchUp (3DS or OBJ)
  2. Double click on the imported model so you are working inside the ‘component/group’ no right click off the mode to bring up the menu with ‘Change Axes’
  3. Now position the axes were you want it within the model you’ve imported.*UPDATE: Alternatively use the ‘Move to Origin and Center’ plugin tool which you can download from Smustard
  4. Close the component/group
  5. Viola! you should have a properly displaying model now.
  6. Now for getting the model into Kerkythea you need to download and install this SketchUp Plugin
As a footnote if you want the model to sit correctly in Google Earth, use SketchUp’s Geo-Location tool under the File menu.  Then just manually position your model.   It’s not a perfect solution but Google Earth for most people isn’t about millimetre accuracy!

 

 

{lang: 'en-GB'}

Digital Elevation Models – OS OpenData to SketchUp : A workflow

Update: Geolocating the DEM in SketchUp has been solved see at bottom of page!


So you have SketchUp and you’ve heard wondrous things about the UK’s Ordnance Survey OpenData?!    In particular you hear there maybe some contour/elevation models out there for free as well!   This quick workflow guide shows you how get that elevation model into SketchUp so you can plan horrible developments in undeserving places (I’m a planner so I know…).

Prerequisites:

  1. Windows Vista (I’m sure XP, Windows 7 etc.. all work as well)
  2. SketchUp Pro (although you can import DEMs with the free version) http://sketchup.google.com/intl/en/product/whygopro.html
  3. MicroDEM – follow the install guide to get yourself up and running http://www.usna.edu/Users/oceano/pguth/website/microdem/microdem.htm
  4. OS OpenData, in particular the Land-Form Panorama dataset, select the download option enter your details (it only requires your email address) and then wait for  523MB zip file to download https://www.ordnancesurvey.co.uk/opendatadownload/products.html
  5. Google Earth (to check your DEM is georeferenced properly)
  6. You need a basic working knowledge of MS Windows, SketchUp and some file management skills. 

Once downloaded you need to know what OS Grid square you want to import.   You can read the wiki article or I have used StreetMap and once you’ve searched for your location you can look just below the map and it says “Click here to convert coordinates” on this page LR seems to relate to the OS grid.
http://en.wikipedia.org/wiki/Ordnance_Survey_National_Grid


The Walkthrough

Double click on the ‘panorama_gb.zip’ file and navigate to this directory ‘\DTM\ASCII\data’.   Yes there are other types of data (contours as DXF and DEM as NTF) but this is what worked for me.

1 – Extract a tile from the directory name corresponding to your chosen OS tile.  In this case we’re going to use Sedbergh, Cumbria tile which is under ‘\DYM\ASCII\data\sd\sd68.asc’.  You can copy it to any directory but in this instance I tend to copy it to the ‘mapdata\DEMs’ directory created by your installation of MicroDEM (you did install it right?)

2 – Load up MicroDEM and then click File –> Open DEM now navigate to the ‘mapdata\DEMs’ directory and select the ‘sd68.asc’ file.

3 – MicroDEM will ask you to pick its projection parameters as its OS OpenData my guess is that these settings are okay and then click ‘Mercator’ instead of ‘OK’

4 – The DEM should load up and look something like this :

Nice Colours?

5 – If you want to get rid of the legend and scale bar and any grid that may appear right click on the image and select ‘Legend/marginalia’.  Uncheck the boxes and click the ‘Grid’ button and select the option ‘neither’

6 – Click ‘OK(Close’ and say ‘yes to redraw… I often get errors and warnings at this point which I ignore….
Now click on the menu heading file again and save this as a DEM and in particular a USGS ASCII one:

7 – Once it is saved close MicroDEM and open up SketchUp…  I’m assuming you will import into a fresh new SketchUp Model, so click on the File menu and select import.

8 – Choose the file type DEM (*.dem, *.ddf) and find that file you saved in MicroDEM, before you click open click on Options:

9 – Here you can see I’ve entered 20000 points to import the lower the number the less detail for this tile 20000 as suggested by Chris Fullmer’s tutorial seems good.  I suggest you experiment with this to get what you want though!  Also I’ve check ‘Generate gradient texture’ this is entirely up to you, I suggest you first try with and then without.

The DEM should be imported and the axes, click the zoom extents button to check it’s all there:

10 – Now to get rid of all those lines, double click the DEM (to edit component) and select all of the DEM (keyboard shortcut : ‘ctrl-a’).   Now right click the selected DEM and  click on ‘Soften/Smooth Edges’:

11 – As per Chris Fullmer’s suggestion slide to around 90 degrees and check both boxes (Smooth normals and Soften coplanar)

12 – Et voila! You now have a terrain model for placing your models on!

mmm smooth elevation model!

13 – One important thing to note this is not GeoReferenced.  I haven’t figured out why SketchUp doesn’t load the DEM in the correct place.  If anyone has any suggestions please tell me (via Twitter or otherwise) and I’ll add it to this tutorial.

Geo-Reference (or Geo-Locate) your DEM

14 – First you need to know where your DEM is in Latitude and Longitude you can do this by going to nearby.org Coordinate Convertor and putting in your OS tile number (in this case SD68), I suggest you select output as Coordinate Conversion only:

15 – You are now going to copy the Lat and Long coordinates into SketchUp so leave this webpage open and….

16 – In SketchUp click on the menu ‘Window’ then ‘Model Info’ and select ‘Geo-Location’

17 – Give the Country name and location something meaningful…. and copy and paste your latitude and longitude’s full number (and letter after) in the appropriate places.
Now to test it press the Preview in Google Earth button:

18 – If you’re computer is up to it you should see the DEM appear in the correct location in Google Earth, it may take a while to load though so be patient!

DEM Placed in GE

{lang: 'en-GB'}

Game changers? Any suggestions?

Does this do anything for you? Source: Wikipedia

Warning a more than slightly geeky post is about to happen! This list is not in any particular order… (warning most of the list below is linking to wiki)

  1. Commodre 64
  2. PC 1512
  3. Microsoft Windows 3.1
  4. Microsoft Word for Windows
  5. AutoCAD
  6. InkJet printers
  7. iPod 
  8. SketchUP
  9. Freedom of Information/OpenData
  10. GIS
  11. PlanningPortal and Planning Delivery Grant
  12. Kindle
  13. Twitter
The items on the list above all have something in common, yes they are technology related but that’s not necessarily it.   It is an incomplete list in many respects and depending on who you are and your interests you may wish to add and subtract from the list.

So what do they have in common?  As the title of this post suggests they are technologies, software and ideas that I consider to be ‘Game Changers‘ and by that I mean that these have changed how we do things or think about things completely.   I must stress this is a personal list and is based on my bias towards technology, but I think you’ll get the point.

The idea for this post really started with me thinking about how best to produce drawings and display boards in the office where I work.  In the past AutoCAD has been more than adequate, but now I have more choices than I know what to do with and I don’t necessarily have to choose AutoCAD!  The trouble is a lot of people’s mindsets are stuck a few years behind and if its always been done a particular way it’s difficult to change that mindset.  For example I could produce a display board entirely in AutoCAD or SketchUp or combine it with Photoshop and InDesign to get something really special.

So there you have it, a silly little idea for a blog post but one that I hope makes us re-evaluate the jobs we do now and look at things different;y.

Below is my reasonings for each item on the list, would you like to comment on any of them?  I would appreciate it!

Commodre 64 - Okay my family had the Commodore Pet and Vic20 before it, but this was what made computer ownership an integral part of the family environment.   Not just good at games it could Word Process as well!   (some might add ataris, amigas and bbc micro here too).
PC 1512 –  The first computer that looked like something we might have today in our household, with a pre windows DOS (I think MS not DR, but I could be wrong), it was mainly for business.   Working at home using a computer became a reality for us.  I first experienced Elite and pinball on this beauty as well as weird things
Microsoft Windows 3.1 – What can I say a graphical pseudo OS running that made using a PC easier for more people.  Gone was most of complexity of command line DOS and hello to world of icons, windows and desktops!  Game changing because Windows basically hasn’t changed an awful lot since then.  (I am aware of other graphical OS out there, but windows I have used throughout)
Microsoft Word for Windows - (more specifically 2.0)  Up until my first contact with Word I really had no use of anything else for I was to young.  But I’ve only ever used Word in Windows, I have been known to dabble in WordPerfect and OpenOffice but these have never come even close to the familiarity and ease of use I get from Word and all its incarnations.  Word processors allowed people to be free from typewriters and correct errors before they were printed.  Once you could do that the nature of how people worked changed, drafts could be perfected and seen by many more people for instance!
AutoCAD - My first dabble in the world of work was at an architects office where my mother worked, drawing boards and the smell of ammonia for the copier are what give me very vivid memories. Combine that with the ‘salty’ language of the resident architects and the smell of cigarettes and pipes (not from my mother on either account)!!  Here a computer was purchased and after school I got to play on it, it had AutoCAD (release 11 I think) and digitizer, there was also a plotter which used real pens to plot drawings!  Some didn’t see the writing on the wall, but the days of using razor to get rid of mistakes on your drawing were long gone as the result of AutoCAD.  My first job outside of university was using AutoCAD and every subsequent office I’ve been to has basically been at least 2 or 3 versions behind the latest release, which shows how useful AutoCAD can be.

InkJet printers - Printing at home anyone, and cheaply?  Enough said.
iPod – Not so much the device but the whole ecosystem.  The shockwaves of this product are still to this day upsetting the music industry who until Spotify came along were playing catchup to a technology and product which changed the business model entirely.   I see the iPod as having basically reduced recorded music to next to valueless in monetary terms.   Real money can be made by artists but this is from live performances, and advertising (tv/radio or to sell a newspaper).   With an electronic format why are artists not looking more at getting away from the traditional album format?  
SketchUP - 3D modelling software that is the easy to use, if you are even remotely CAD/computer literate this product is amazing and for most people free!   With its layout tool and easy export to many formats this is the way forward.   Forget AutoCAD, it is too expensive, difficult to train someone in and for the most part far too powerful for most uses.  SketchUp means anyone can make a 3D model that looks professional.

Freedom of Information/OpenData – The concept of being able to access government held information freely sounds so reasonable one wonders what we did before to discover what our elected officials and government got up to…   Forget the naysayers that dislike the amount of time which is wasted chasing up ‘stupid’ questions from the public, this has made people think about government differently.  As to OpenData well, as soon as someone figures out how to make use of the flood of data from government and make it usable things will be different.  Which brings us neatly to :
GIS - Geographic Information Systems, before this it was called a map.  Nowadays you can’t escape GIS, its everywhere and that’s why you don’t notice it.  Google/Yahoo Maps? = GIS, SatNav? = GIS, postman/courier? = GIS, rubbish/trash collection? = GIS, Planning Applications? = GIS.   Had enough yet?
PlanningPortal and Planning Delivery Grant –  A bit different this as it relates more to my profession.  The planning delivery grant in the England and Wales forced and encouraged Planning departments to get more efficient and go online by offering financial incentives to meet various Pendleton Point criteria.   Before this came in very few councils made it easy for the public to find the planning departments section of their website.   Pendleton made it a key requirement.  
Is that important to have a link on a council’s frontpage I hear you all ask?! Well yes considering that residents often need the planning department and are consulted by them as well.  Hiding your consultation documents and planning applications is hardly open and transparent is it?   Yes a paper register is kept that you can see if you visit the council offices, but who can take time off from work to do that?  Suffice to say I think the Planning delivery grant was one of the few government schemes that has increased participation of residents in the democratic process.  As to the Planning Portal, heaven forbid that us professionals are forced to stop spending money on printing and delivery of planning application documents!   
Kindle –  Yes, yes my blog post and radio debut due to a kindle blah blah…  Hang on a minute though, the Kindle like the iPod has challenged a long established industry of paper, bricks/mortar and publishers.  Yes other eReaders are available, but Amazon’s delivery method and their Kindle (hardware and software) is amazingly simple.  

Publishers must get a grip on this and innovate with the technology and not just sit there like the music industry did until it’s too late suing ‘John Smith’ for allowing his children to download music that they can listen to for free on radio…  

Oh sure there are deep meaningful conversations to be had about the nature of book reading, and the relationship between publisher, authors and the consumer.  But just remember technology and in particular the consumer adapts.   For instance I didn’t know this until recently but you can’t purchase legally any Harry Potter book for an ereader.  Why? Because of the fear of piracy?  Sorry but that ship has sailed if I want a copy of any Harry Potter book electronically I can get it now with the help of a search engine… result one lost sale for publisher and author.  I’m not advocating stealing (that’s what piracy is often) but there are ways to get good profits out of digital sales of books (not just film rights!).

Twitter – I’m not going to be a typical twitter advocate here,  after my initial scepticism and resistance I came late to Twitter.  Perhaps it was the constant twitter this, and twitter that from radio DJs (I’m looking at you BBC) but I hated the idea.  Why on earth would you share with the world your life’s smallest details??!  Who the hell cares if celebrity A is drinking with celebrity B.  

Oh and an endorsement from Stephen Fry a person I respect and admire greatly didn’t do it for me either, as far as I was concerned Twitter was for patting famous people on the back.

Then for some unknown reason I caved completely, I think I had searched for something to do with GIS and then realised a whole community for GIS users were on twitter. Damn it!  I joined up and have slowly realised that twitter is populated almost without exception with polite helpful people.  Of course this is a product of who I follow and what I’m interested in.   

The fact is that now news and information I would not have found otherwise comes to me.  Yes I still use Google and my main sites but for the most part I sit in front of Hootsuite (a twitter client) soaking it all up.  As to it being a game changer think of it this way:  

If you are in a small business advertising is a bloody nightmare and expensive too.  What if by being yourself you could talk to your potential customer base directly.   For the most part you only follow people who interest you, so my contacts are mostly GIS and planning related (as well as localgov).   This works in reverse so people will follow you and look at your links because they are interested in what you have to say.   This brings me to state the bleeding obvious “content is important” give people interesting articles or weblinks and they will trust you further and look more closely out for your ‘tweets’.

All I can say is try it out and get involved, you will see pretty quickly that twitter, far from being a social tool is a simple and potentially effective tool for communicating with prospective clients as well as gaining knowledge.

So that’s my list apologies for its length, but now I would really like your comments, anything I’ve missed out or that you agree/disagree with?  I won’t be offended, but I will be interested!


{lang: 'en-GB'}

CityEngine Consulting & Training
I can advise you or help and conduct CityEngine training and workshops.
You can connect with me in a number of ways click here to choose :
http://about.me/elliothartley
Mini-Bio
You can find out more about me here at : http://about.me/elliothartley
GeoPlanITon

I'm supporting

Did you attend the GeoDesign Summit 2013?