Select to view content in your preferred language

NEWEST CityEngine WebViewer application package (= offline viewer)

7570
18
Jump to solution
01-14-2013 07:47 AM
MatthiasBuehler1
Deactivated User
Download here :

http://www.arcgis.com/home/item.html?id=38fede3935a440e49cf316dcae6aae47

Please read description carefully.


Cheers !

Matt
Tags (3)
0 Kudos
18 Replies
AndreasUlmer
Esri Contributor
Llew,

did you modify the dojoConfig flags in the main html file (viewer.html)?
please check that isDebug is set to false in dojoConfig in viewer.html.

<script>
  var dojoConfig = {
 locale: 'en',
    isDebug: false,
    packages: [
      { name: "esri", location: "../../esri" },
      { name: "WebScene", location: "../../WebScene" }
    ]
  };
</script>
0 Kudos
LlewCain
Deactivated User
Hi

true to false got everything working nicely. Thanks for the help.

Llew
0 Kudos
boycepostma
Emerging Contributor
Hey All,

   I am completely new to CityEngine (1 week of exploring). I would like to create something like the Portland Zoning Regulations application created for the web viewer - but in my copy of CityEngine. For me this means the easiest way would be to get a hold of the Portland Zoning Regulations files and open them in my copy of CityEngine and tear them apart a little bit - explore how they were made.

   Does anyone know if I can get the appropriate files that were used to  make this online app?
Thanks!

-ap-
0 Kudos
MatthiasBuehler1
Deactivated User
Hi !


I'd recommend to go through all stuff here ( tutorial videos and workflow tutorials ) first, before diving in actual projects :

http://forums.arcgis.com/threads/64843-CityEngine-Collection-RESOURCES-FAQ-HELP

Concerning the Portland project : There's a way you can get access to it, but you have to request access to the ArcGIS online group named 'ArcGIS for 3D Cities':
http://www.arcgis.com/home/groups.html
Once activated, you can download the CE project of Portland here :
http://www.arcgis.com/home/item.html?id=1d7e43f8ab3444609a40af573850c6e0



Ok ?

Matt
0 Kudos
boycepostma
Emerging Contributor
Matt,

  Brilliant! I have gone through a good portion of the tutorials, but there are even more here, which is fantastic!

   I had read that I would need to request access to the group in order to have access to the files, but I guess I thought it would be more like registering, than waiting for approval - which is probably why I couldn't seem to download the CE project. All is well now.

   Thanks for your help!

-AP-




Hi !


I'd recommend to go through all stuff here ( tutorial videos and workflow tutorials ) first, before diving in actual projects :


http://forums.arcgis.com/threads/64843-CityEngine-Collection-RESOURCES-FAQ-HELP

Concerning the Portland project : There's a way you can get access to it, but you have to request access to the ArcGIS online group named 'ArcGIS for 3D Cities':
http://www.arcgis.com/home/groups.html
Once activated, you can download the CE project of Portland here :
http://www.arcgis.com/home/item.html?id=1d7e43f8ab3444609a40af573850c6e0



Ok ?

Matt
0 Kudos
MatthiasBuehler1
Deactivated User
Hi,

what you have seen at UC is not yet available. That was a preview of the upcoming technology. the link at the top of this thread is 'just' the latest version of what's available to the public so far.

ok ? 🙂

matt
0 Kudos
AndreasUlmer
Esri Contributor
1. with a custom web server (e.g. IIS, apache)
CityEngine Web Viewer requires a web server to be able to tun. The 2nd part of the description text
"Use CityEngine Web Viewer application on custom web server"
explains how to set up CityEngine Web Viewer on an already installed web server.


2. Use CityEngine built-in web server
CityEngine contains a small web server that is started when CityEngine launches. This is required for the 3ws preview application to be able to run. The url for this needs to start with http://, not with file:// (file:// bypasses the web server).
Note that
* the internal CityEngine web server is started with a random port number that is different everytime CityEngine is started.

To load 3ws files with the CityEngine preview application, place the 3ws in a CityEngine project in your current workspace, and load it with
?3dWebScene=/PROJECT/FOLDER/WEBSCENE.3ws

the complete url looks like
http://localhost:RANDOMPORTNUMBER/ceviewer.html?3dWebScene=/PROJECT/FOLDER/WEBSCENE.3ws
0 Kudos
AndreasUlmer
Esri Contributor
andreas.ulmer, I am really sorry for asking you again... but how can I figure out what am i to type in instead of RANDOMPORTNUMBER? If new port number is randomly generated every time, waht is the way to find th current one?



  1. Start CityEngine

  2. Preview a 3ws (double-click on 3ws)

  3. Browser opens, the url shows the random port number


Note: While CityEngine is running, the random port does not change. CityEngine selects one random port when it's started, and this random port is used until CityEngine is closed. When CityEngine is restarted, a new random port is generated.
0 Kudos
nicogis
MVP Frequent Contributor
Good news: IE11 supports WebGL and popular library webgl trees.js
http://msdn.microsoft.com/it-it/library/ie/bg182648(v=vs.85).aspx
0 Kudos