Panorama Exporter

Well, what can I say, it’s a Script that exports panoramas :wink: Ondra had the idea, I’ve just been scripting it.
The script either takes a 360x180° jpg file or grabs the image directly from CoronaVfb and generates 3 or 4 files (depends on your settings). The Html file uses the awesome threejs library http://threejs.org/.

How to use:

  • Choose a Name for your panorama
  • Set an output path for your panorama files (you can use the browse button)
  • Either pick a jpg file (Browse)
  • .. or grab the current image from the CoronaVfb
  • you can turn off the automatic rotation if you want it static
  • you can also turn off the Corona Logo display (but why would you want to do that :wink: )
  • now you can use it locally on your machine or upload all the files to your webspace. Paths are all relative, so it’s portable.

P.S. Some browsers like IE or Chrome seem to disallow running the js library on a local machine. Once it’s uploaded to a webserver, all Browser show the content. Firefox seems to be working fine locally and web. Don’t ask me why this happens, I’m not a web developer :smiley:

Example:
http://www.racoon-artworks.de/panorama/Cathedral_6k.html (old logo)

changelog:
*v0.3 - [2015/03/07] -----------------------------

Thanks for the script, The cathedral looks great in panorama!

Grand Dead

Thanks a lot buddy !

Wow, the cathedral looks amazing. Nice script

BTW, is the blooming in the bigger windows been generated naturally inside Corona, or elsewhere? Can’t get it to look anything close to that. How did you go about it?

Thanks!

Glad you all like it :smiley:

It’s not from Corona, it was made with several layered glows in eyeon Fusion.

Very good script! Thanks :smiley:

Wow, thanks a lot for your script, that’s really helpful!

Hi Deadclown

I’m currently trying to make it work, I have some questions

If I use the script with default values, it request for a “jpg” file…which I suppossed it has to be already in 360° Panorama format… :S
If I choose get from VFB it only takes current image, but it doesnt convert such image in 360°, the final result is black html page

How do you set how many images are going to be taken? (…“or grabs the image directly from CoronaVfb and generates 3 or 4 files (depends on your settings…”)

What I’m doing wrong?

Ps. I’ve also noticed first time I use the script on a empty scene it creates a camera, but everytime It try to use it on an existing scene it doesnt work
I’m using A6 + Max 2014

thanks

in case of black html page, try first to use another browser…mine was black in chrome, but firefox worked.

but i think thats not your problem.
you need to choose spherical cam in corona cam mod and render. then there’s no question how many images you need…it’s only one.

Yes - you need a 360°x180° image.
The html file is black if you test it on your machine and your browser forbids running javascript locally (Chrome and IE). Firefox works fine. If you load it up to a webserver all browsers should display it properly.

It’s only 1 image, it’s not working like the max internal panorama exporter. It doesn’t render several pictures and stitches them together. You need to render a full spherical camera view first (with the new spherical camera mode in corona, still only daily builds I guess)

I tested it here and it didn’t create a camera. It would be quite funny too because there is no code for doing such a thing in the script :wink:

Thanks for your help

So, there is no way to create a single jpg file in 360° without using A7?
…it’s a shame.

ah…thanks for the pointer, didn’t know that :smiley:

It’s less than a week to A7 :wink:

I’m not sure if my explanation is exact, but that’s how I interpreted the black pages :wink:

It’s less than a week to A7 :wink:
[/quote]

yeeeiiiii :smiley:

Hi Martin

would it be possible to add the following option in your script:
a thick box for enabling or disabeling zooming (scroll middle mouse bottom) inside of the panorma?

thanks

You mean as a web control? or in the maxscript exporter?

I was thinking in the script.

But if the other combined with the option for switching on or off the automatic rotation thing would be possible as web control…

I have no idea about web development, so maxscript would be the only option for me anyway :wink:
I’ll have a look, as soon as I have some time for scripting =/

NO problem to have the option in maxscript only, it would be fine!

What about the option of choosing your own logo?
It is maybe a bit harder to implement, I tried to adapt your script for this and managed to do it with some work around.
But I am not a scripter.

Secondly, it all (web control) works fine on my desktop, but not on my nexus 5.
But I guess this is due to some Java stuff?

anyway many thanks for the script up untill now!!