Author Topic: Panorama Exporter  (Read 128654 times)

2014-04-16, 23:59:32

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks


Well, what can I say, it's a Script that exports panoramas ;)  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 ;-) )
- 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 :D

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

changelog:
*v0.3 - [2015/03/07] -----------------------------
- changed corona logo
- added speed spinner: from -1.0 (rotates left) to 1.0 (rotates right)
- view center is now the image center

*v0.2 - [2014/10/20] -----------------------------
- mouse wheel zoom can now be disabled
*v0.1 - [2014/04/16] -----------------------------
- initial release
« Last Edit: 2015-03-12, 21:14:20 by DeadClown »
Any sufficiently advanced bug is indistinguishable from a feature.

2014-04-17, 00:26:12
Reply #1

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
Thanks for the script, The cathedral looks great in panorama!

2014-05-01, 21:05:45
Reply #2

rafpug

  • Active Users
  • **
  • Posts: 722
    • View Profile
Grand Dead

2014-05-02, 06:46:29
Reply #3

Chakib

  • Active Users
  • **
  • Posts: 787
  • Corona Omnomnomer !
    • View Profile

2014-05-03, 15:30:25
Reply #4

ikercito

  • Active Users
  • **
  • Posts: 111
    • View Profile
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!

2014-05-03, 23:36:20
Reply #5

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Glad you all like it :)

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?

It's not from Corona, it was made with several layered glows in eyeon Fusion.
Any sufficiently advanced bug is indistinguishable from a feature.

2014-05-23, 06:21:15
Reply #6

b24

  • Users
  • *
  • Posts: 4
    • View Profile
Very good script! Thanks :)

2014-06-04, 17:14:57
Reply #7

PlayvilleStudios

  • Users
  • *
  • Posts: 1
    • View Profile
Wow, thanks a lot for your script, that's really helpful!

2014-06-25, 18:15:33
Reply #8

benjamincillo

  • Active Users
  • **
  • Posts: 31
    • View Profile

Well, what can I say, it's a Script that exports panoramas ;)  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 ;-) )
- 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.



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

2014-06-25, 18:30:50
Reply #9

ukajali

  • Active Users
  • **
  • Posts: 12
    • View Profile
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.

2014-06-25, 18:35:55
Reply #10

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
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
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.

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...")
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)

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
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 ;)
Any sufficiently advanced bug is indistinguishable from a feature.

2014-06-25, 19:09:24
Reply #11

benjamincillo

  • Active Users
  • **
  • Posts: 31
    • View Profile
Thanks for your help

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

2014-06-25, 19:14:16
Reply #12

ukajali

  • Active Users
  • **
  • Posts: 12
    • View Profile

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.


ah...thanks for the pointer, didn't know that :)

2014-06-25, 19:32:29
Reply #13

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
So, there is no way to create a single jpg file in 360° without using A7?
...it's a shame.
It's less than a week to A7 ;)

ah...thanks for the pointer, didn't know that :)
I'm not sure if my explanation is exact, but that's how I interpreted the black pages ;)
Any sufficiently advanced bug is indistinguishable from a feature.

2014-06-25, 20:20:03
Reply #14

benjamincillo

  • Active Users
  • **
  • Posts: 31
    • View Profile

It's less than a week to A7 ;)
[/quote]

yeeeiiiii :D

2014-10-16, 09:58:12
Reply #15

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 761
    • View Profile
    • belly.be
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

2014-10-16, 10:00:45
Reply #16

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
You mean as a web control? or in the maxscript exporter?
Any sufficiently advanced bug is indistinguishable from a feature.

2014-10-16, 10:03:48
Reply #17

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 761
    • View Profile
    • belly.be
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.......

2014-10-16, 10:06:07
Reply #18

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
I have no idea about web development, so maxscript would be the only option for me anyway ;)
I'll have a look, as soon as I have some time for scripting =/
Any sufficiently advanced bug is indistinguishable from a feature.

2014-10-16, 10:18:55
Reply #19

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 761
    • View Profile
    • belly.be
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!!

2014-10-17, 15:32:10
Reply #20

vinbarg

  • Active Users
  • **
  • Posts: 129
    • View Profile
any one help me how to upload panorama tour on the web? this script is perfect for single panorama pictures but i need som. for tour, any help?

2014-10-17, 15:35:59
Reply #21

borisquezadaa

  • Active Users
  • **
  • Posts: 614
    • View Profile
Panotour?... maybe you should try this forum instead:
http://www.kolor.com/forum/
What i do with Corona My Corona post of random stuff rendering
WARNING: English.dll still loading...

2014-10-17, 15:40:44
Reply #22

vinbarg

  • Active Users
  • **
  • Posts: 129
    • View Profile
oh thx boris gonna look at it

2014-10-17, 15:58:19
Reply #23

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 761
    • View Profile
    • belly.be

2014-10-20, 11:37:35
Reply #24

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
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.
Maybe in the next version, we'll see ;)

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?
The script uses a javascript library, don't ask me how and where this stuff works :D


Update v0.02
- added an option to disable mouse-wheel zoom
Any sufficiently advanced bug is indistinguishable from a feature.

2014-10-20, 11:58:49
Reply #25

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 761
    • View Profile
    • belly.be

2014-10-21, 01:39:30
Reply #26

zombie_farm

  • Users
  • *
  • Posts: 1
    • View Profile
So this is fantastic.. an area that Im very interested in. I was wondering if it would be hard to modify the script that does 360 3D panoramas in Mental Ray to work in Corona.
Its called : LatLong Stereo Shader

 This is the fellow that wrote it

http://www.andrewhazelden.com/blog/2012/04/domemaster3d-stereoscopic-shader-for-autodesk-maya/

The way you look at them is with a google cardboard

https://play.google.com/store/apps/details?id=com.google.samples.apps.cardboarddemo&hl=en

I would love to see a corona version with the interactive rendering and speed of corona.

cheers



2014-10-23, 14:27:04
Reply #27

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
I don't really understand what you're requesting.. I mean, that doesn't have any relation to the Panorama exporter, right? For me it looks like a stereo render of 2 cameras in eye distance with a 180° fov. Imho you don't need a fancy script for that.
Any sufficiently advanced bug is indistinguishable from a feature.

2014-10-31, 14:11:27
Reply #28

Shershov

  • Users
  • *
  • Posts: 1
    • View Profile
TNX!

2015-01-02, 19:53:22
Reply #29

zicher

  • Users
  • *
  • Posts: 1
    • View Profile
Hi, a bit late, but just to clarify :)

The latlong shader from Andrew's web page (which I wrote originally) is not just 2 cameras with 180 degrees. It's a real 3D stereo projection where the cameras move for every image sample. This is used to create images for cylindrical projectors or Oculus Rift.

A 2 cameras setup won't be able to reproduce the omnidirectional stereo effect you get with this.

The LatLong shader is a stripped down version of the domemaster shader. You can find more info here:
http://www.robertoziche.com/domemaster/

If Corona allows for custom camera shaders, Andrew and I could help in the porting if someone wants to do some coding :)
The shaders are open source and can be found on Github:
https://github.com/zicher3d-org/domemaster-stereo-shader

Rob

2015-01-02, 20:13:23
Reply #30

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
I fear I'm not the right person for such kind of things, I'm only doing a bit of scripting stuff ;) Shader programming etc is something you'd have to contact keymaster
Any sufficiently advanced bug is indistinguishable from a feature.

2015-02-26, 14:02:03
Reply #31

Tanakov

  • Active Users
  • **
  • Posts: 831
  • Corona is faster than diarrhea
    • View Profile
    • https://www.behance.net/Gringott
I cant make the exporter to work since corona 1.0 does that have anything to do with the script?
Using Corona since 2014-01-02
https://www.behance.net/Gringott

2015-02-26, 14:03:40
Reply #32

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Probably. I'll have a look soon and fix maxscript properties that have changed for 1.0 . Will post an update here when it's finished ;)
Any sufficiently advanced bug is indistinguishable from a feature.

2015-02-26, 14:16:03
Reply #33

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Hmm, I just tested the script with 1.0 and everything seems to work fine. What exactly doesn't work at your side? Can you elaborate what you do exactly?
Any sufficiently advanced bug is indistinguishable from a feature.

2015-03-06, 22:04:46
Reply #34

pashashch

  • Users
  • *
  • Posts: 3
    • View Profile
First of all: THANKS!
really good work)
I've got a one minor problem... and if i may to ask, one request..

Most of the time we r creating panorama, we expect that the camera target would be in the center of image, while i'am using it in interior, i would like to put an eye of the client on the best thing and starting rotation from there. But now it adjust target to left corner of image...
It's very simple to recreate in photoshop, but i hope there is a way to direct camera to another vector.
Please! I think it would be very important for everyone)

Thanks, anyway)

2015-03-06, 23:32:59
Reply #35

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Glad you like the script :)

Good point about the center. I never noticed it, but I also didn't use it that often myself ;) . It shouldn't be a big problem to fix it. I'll try to upload a new version soon :)
Any sufficiently advanced bug is indistinguishable from a feature.

2015-03-07, 01:21:38
Reply #36

pashashch

  • Users
  • *
  • Posts: 3
    • View Profile
Sound fantastic!

Sitting hall day trying to rotate sphere or reorient UWmap of the texture)
Unfortunately, no luck) can't work with threeJS..

2015-03-07, 02:13:38
Reply #37

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
aaaaand here it is

*v0.3 - [2015/03/07] -----------------------------
- changed corona logo
- added speed spinner: from -1.0 (rotates left) to 1.0 (rotates right)
- view center is now the image center

changed the file in post #1

Sitting hall day trying to rotate sphere or reorient UWmap of the texture)
Unfortunately, no luck) can't work with threeJS..
Me neither :D but if you look closely you can see that the rotation is driven by an update function, I just added 180 degrees there ;)
Any sufficiently advanced bug is indistinguishable from a feature.

2015-03-07, 11:15:38
Reply #38

daniel.reutersward

  • Active Users
  • **
  • Posts: 310
    • View Profile
This works really nice! :)
Your Cathedral looks awesome!

When I render the camera is almost in the left corner.
I was wondering if/how I can place the camera correctly/manually?

2015-03-07, 11:24:43
Reply #39

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
When I render the camera is almost in the left corner.
I was wondering if/how I can place the camera correctly/manually?

Uhm.. I don't quite understand. Where is the camera? The camera target (the middle of the 360° image) should be the point you look at when you open the html file. That's the fix I did yesterday (v0.3)
Any sufficiently advanced bug is indistinguishable from a feature.

2015-03-07, 11:33:21
Reply #40

daniel.reutersward

  • Active Users
  • **
  • Posts: 310
    • View Profile
Uhm.. I don't quite understand. Where is the camera? The camera target (the middle of the 360° image) should be the point you look at when you open the html file. That's the fix I did yesterday (v0.3)

I´m probably bad at explaining myself! :D

In the attached image I want to stand more in the middle of the room and not so far away. Is this possible?
Perhaps I´m just slow at understanding :)

2015-03-07, 11:39:55
Reply #41

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Ah I see.
Well, you just have to place the camera exactly where you want to be inside the panorama. The camera position is the position of the viewer, so just move it to the middle of the room. Also make sure your horizon is in the middle of the image (camera not looking up or down and not tilted left or right) .
Any sufficiently advanced bug is indistinguishable from a feature.

2015-03-07, 11:43:10
Reply #42

daniel.reutersward

  • Active Users
  • **
  • Posts: 310
    • View Profile
Ah I see.
Well, you just have to place the camera exactly where you want to be inside the panorama. The camera position is the position of the viewer, so just move it to the middle of the room. Also make sure your horizon is in the middle of the image (camera not looking up or down and not tilted left or right) .

I noticed that the camera was placed exactly at the same position as the panorama. I should really wake up more before I try new things....Thanks for the help! :)

2015-03-07, 16:31:00
Reply #43

pashashch

  • Users
  • *
  • Posts: 3
    • View Profile
Thank u very much for the new version!
That's works very nice!)

2015-03-12, 19:54:43
Reply #44

valwizard

  • Active Users
  • **
  • Posts: 56
  • "We get up in the morning. We do our best. Nothing
    • View Profile
Hi, Thanks a lot for the skcript- is AMAZING! But instantly just stopped working - Everything is working well- It is creating the file but is not visible - only black screen with corona logo. I opened in the morning it worked fine - I stupidly renamed the file- it stopped working. I Create it again in corona and again and  is not working. Any ideas, please? corona 1,0. 
"We get up in the morning. We do our best. Nothing else matters! "

2015-03-12, 21:11:33
Reply #45

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
A couple of possible solutions:
A) You mustn't rename files ;) Once you rename the jpg or the js file it won't work anymore. The only thing you can rename is the html file, the other have to stay untouched.
B) Some browsers like Internet Explorer and chrome don't seem to allow running the js script on a local machine (=> panorama is black). Once it's uploaded to a web server it's all fine and all browsers show the content (Firefox works both ways, local and on web). Don't ask me why, I'm not a web developer :D
C) Make sure your image is valid and doesn't have a corrupt header (or some other format renamed to .jpg). I also don't know if other formats than jpg work with the js script.
Any sufficiently advanced bug is indistinguishable from a feature.

2015-03-14, 00:27:12
Reply #46

aleksis

  • Active Users
  • **
  • Posts: 12
    • View Profile
Hi DeadClown, thank you for the script- it's great. The only thing I would like is possibility to add a music file with option to mute :).

2015-03-19, 18:41:16
Reply #47

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
My javascript/html5 knowledge is way to bad for such things. But maybe someone wants to provide some code which works in FF, Chrome, IE etc ... ;) ?
Any sufficiently advanced bug is indistinguishable from a feature.

2015-03-19, 21:09:16
Reply #48

johan belmans

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 761
    • View Profile
    • belly.be
My javascript/html5 knowledge is way to bad for such things. But maybe someone wants to provide some code which works in FF, Chrome, IE etc ... ;) ?

And it doesn't work on Safari either. If someone can fix this that would be great.

2015-07-10, 07:30:47
Reply #49

tiagobrazil

  • Active Users
  • **
  • Posts: 16
    • View Profile
    • TBrazil
Hello! Have this for Corona in Cinema 4D?

2015-07-10, 09:57:10
Reply #50

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
No, just 3dsmax
Any sufficiently advanced bug is indistinguishable from a feature.

2015-07-21, 16:22:34
Reply #51

nomad87

  • Active Users
  • **
  • Posts: 14
    • View Profile
works well, thank you!

any way by now to make it work in chrome ofline (or did i miss that?)

2015-07-21, 16:59:25
Reply #52

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Not from my side. You somehow have to explicitly allow some javascript stuff in offline mode (but I've no idea where and what exactly).
Any sufficiently advanced bug is indistinguishable from a feature.

2015-07-24, 09:02:00
Reply #53

nomad87

  • Active Users
  • **
  • Posts: 14
    • View Profile
No worries.

I am wondering if someone figured out how to make this work on a portable device?

2015-09-04, 16:30:44
Reply #54

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
Hi,

Is there a way I can brand the panorama with my own logo and hyperlink to my webpage? I change the PNG to have my logo but it seems I can rename it and the logo retains a hyperlink, I would like to use to point to my services webpage.

Is this possible?

Ale

2015-09-04, 16:35:51
Reply #55

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
You can simply edit the html file and point the image link to your own file. Just search for the current png name and you should find the path somewhere in the html file.
Any sufficiently advanced bug is indistinguishable from a feature.

2015-10-21, 17:02:21
Reply #56

artmaknev

  • Active Users
  • **
  • Posts: 147
    • View Profile
    • about me
awesome script, works perfectly, thanks!!

vray like VR will be nice to have though, but I guess its coming in future versions of corona!

2015-11-13, 20:15:53
Reply #57

romanbuha

  • Active Users
  • **
  • Posts: 37
    • View Profile
Thank you DeadClown for this amazing script!
I will test it soon!

2015-11-16, 19:26:52
Reply #58

romanbuha

  • Active Users
  • **
  • Posts: 37
    • View Profile
So here we go!

Here is my test Panorama rendering by using this script and I have to say it works really simple and fast!
Which is just great!
https://www.dropbox.com/s/shd8t3lirdv8eht/Forest_Test_08_Corona.rar?dl=0

The only one issue that it works only in Mozilla. And it doesn't work in Chrome or Safari.
Is there any news about that?

Thanks!

2015-11-16, 19:38:13
Reply #59

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Well, it works in (as far as I know) in all browsers when it's coming from an online source. Only offline is a problem. I don't know why chrome and others do not execute the javascript library =/

First thing I found after googling was this: maybe it helps :)
https://github.com/mrdoob/three.js/wiki/How-to-run-things-locally
Any sufficiently advanced bug is indistinguishable from a feature.

2015-12-01, 23:12:42
Reply #60

romanbuha

  • Active Users
  • **
  • Posts: 37
    • View Profile
Thanks, DeadClown for your answer!

Yes, we tested and it is really work when it is online! Which is great!

All best,

Roman

2016-04-06, 14:03:26
Reply #61

darrentomkins

  • Active Users
  • **
  • Posts: 39
    • View Profile
Hi DeadClown,

Damn fine Script I must say, well done and thanks a mil!

There is always a but or a if only... Soooo, If only we could also rende rout spherical panoramas to use in other software instead of 360deg 180 images.

By the way to do that I select my camera and choose Spherical Lens  FOV 360 & use rotary Shutter  Angle 180 deg? Is that correct? Then render the image and use the script choosing the Vbf file?


2016-04-06, 14:09:23
Reply #62

darrentomkins

  • Active Users
  • **
  • Posts: 39
    • View Profile
Balls, Ok. Corona Camera Mod in Modify Stack :)

But.... (<- There it is)

2016-04-06, 15:45:34
Reply #63

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Ok, I'm not quite sure now, is the problem solved or do you still have some issues with something ;) ?
Any sufficiently advanced bug is indistinguishable from a feature.

2016-05-04, 13:45:51
Reply #64

barnadesign

  • Users
  • *
  • Posts: 1
    • View Profile
Hello!

Has it support for touchscreens?
I tried on iPad-safari, iPhone safari and chrome.
It's automaticly spinning, but I cant controll it.

2016-05-04, 14:29:48
Reply #65

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
It is originally controlled by mouse. That's all I can tell. But this script will probably become obsolete (sorry Deadclown ;) ) once 1.4 with full VR support is officially out.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-05-04, 14:36:26
Reply #66

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Has it support for touchscreens?
I tried on iPad-safari, iPhone safari and chrome.
It's automaticly spinning, but I cant controll it.
I also have no idea. Since it doesn't work I doubt it ;) I have only adapted an official three.js viewer example for my needs here in the script but I don't know the inner workings or what is supported by the library.

It is originally controlled by mouse. That's all I can tell. But this script will probably become obsolete (sorry Deadclown ;) ) once 1.4 with full VR support is officially out.
Haha, no worries. Pretty much all of my scripts are slowly becoming obsolete or are already ;) SavelAllChannels has been added to the vfb shortly after the script, the material converter is used less and less since more users already setting up their scenes in corona and more products are available with corona materials... It's just how progress works ;)
Any sufficiently advanced bug is indistinguishable from a feature.

2016-05-19, 20:34:52
Reply #67

Iso 88

  • Active Users
  • **
  • Posts: 5
    • View Profile
Hi guys,

I played around with the exporter and I would like to put it online. I have a squarespace website but I have literally no clue how to upload the files for them to work all together?.. Does that make any sens?

Thanks

Alex

2017-03-02, 17:46:41
Reply #68

Alex Abarca

  • Active Users
  • **
  • Posts: 416
  • Corona Certified Instructor
    • View Profile
    • Instagram
Is it possible to add the goggles icon? and hot spots to do a virtual tour?


2017-03-02, 18:15:54
Reply #69

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5434
    • View Profile
Could use CoronaVR, and then you can create the hotspots directly inside 3ds Max - corona-renderer.com/vr/ :)
Tom Grimes | chaos-corona.com
Product Manager | contact us

2017-03-02, 18:44:54
Reply #70

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Is it possible to add the goggles icon? and hot spots to do a virtual tour?
Possible? Yes, probably. But not for me ;) It's just a very simple script and I don't have enough experience to extend it further.

I played around with the exporter and I would like to put it online. I have a squarespace website but I have literally no clue how to upload the files for them to work all together?.. Does that make any sens?
I'm probably a bit late for an answer but anyways. Usually you just need to put all the files into 1 folder and it will work. I have no idea how squarespace handles file management however...
Any sufficiently advanced bug is indistinguishable from a feature.

2017-06-08, 02:01:56
Reply #71

Ando

  • Active Users
  • **
  • Posts: 30
    • View Profile
Hi DeadClown,
I need your help! When i upload the files to my company's website the panorama works fine off a desktop, but on a mobile it doesn't show as interactive-only the front "perspective" as a still image.
Any ideas on why this is and how I can fix it so it works properly on all devices? 

Thanks in advance for any help guys!

Cheers,
Ando

2017-07-18, 16:49:44
Reply #72

lucgrap

  • Users
  • *
  • Posts: 1
    • View Profile
One question. If you edit the panorama jpg in the exported folder, will it change automatically in the web link ?

2017-08-26, 22:06:20
Reply #73

artmaknev

  • Active Users
  • **
  • Posts: 147
    • View Profile
    • about me
I tried the script some time ago and it worked perfectly, but I tried now again with the latest corona build but its taking really long time to write the .js file, I can literally see 1kb per 3 seconds being added and waiting 10-15 minutes for that operation to finish while the max is frozen.   Any idea why this is happening, is it just me?

2017-08-28, 22:35:39
Reply #74

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
well, nothing changed in the script, so it might be something else. Have you switched Max versions?
Any sufficiently advanced bug is indistinguishable from a feature.

2017-11-27, 22:48:56
Reply #75

crazyhow3

  • Active Users
  • **
  • Posts: 25
    • View Profile
I am trying to send these files for some1 else to open and im having trouble doing so. is there any way to to combine the .js file with the html so u can just send the html file and it will woork on another computer that i send it to?

2018-05-06, 12:18:22
Reply #76

jjgod1

  • Active Users
  • **
  • Posts: 8
    • View Profile
THANKS

2018-05-21, 10:27:54
Reply #77

petrorosengren

  • Active Users
  • **
  • Posts: 60
    • View Profile
You are a master DeadClown, thank you!

2018-05-21, 17:30:20
Reply #78

steyin

  • Active Users
  • **
  • Posts: 375
  • BALLS
    • View Profile
    • Instagram Page
Is there anyway the script can work with saving the render to another format other than jpeg?

Normally I output as png, then convert to jpeg with a higher resolution before running the script (though the png file always end up being off by 1 pixel in the width, so I assumed maybe this was the reason?)

2018-05-25, 09:48:48
Reply #79

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
I think you should be able to use pretty much any format a webbrowser can display, but I don't know for sure. You'll have to try it out. Just export a panorama as usual, replace the image and change the path in the html file.
I'm not aware of any 1-pixel offset, any image you provide for the script is not altered, just copied (as far as I remember).
Any sufficiently advanced bug is indistinguishable from a feature.

2018-05-25, 23:12:12
Reply #80

steyin

  • Active Users
  • **
  • Posts: 375
  • BALLS
    • View Profile
    • Instagram Page
I'm not aware of any 1-pixel offset, any image you provide for the script is not altered, just copied (as far as I remember).

My mistake, the 1 pixel difference came from increasing the DPI of the output png in Photoshop.

2018-05-30, 21:40:29
Reply #81

steyin

  • Active Users
  • **
  • Posts: 375
  • BALLS
    • View Profile
    • Instagram Page
Since I'm running into this issue:

Can you not change the FOV of the camera for this? I'm trying to do a panorama of a space that is about 16' x 16', but I feel the view to the walls is too close. I've tried playing with camera settings and the CoronaCamMod overrides, but nothing changes the end result. Are you stuck with a set FOV for spherical cameras?

I also increased the scale of the room (scaled it up a few times so that the distance of the viewpoint from the center of the space is double/triple the original), but that didn't change anything either (which is very odd to me).

2018-05-30, 21:46:58
Reply #82

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
The field of view for a spherical panorama is always 360x180°, there is no other field of view - it must be that and only that. I don't actually understand what the problem is to be honest. The Panorama is only dependent on position, nothing else. So if you think you're to close to the wall you have to move the camera away from it. It doesn't matter how big or small your room is, it will always look exactly the same.
Any sufficiently advanced bug is indistinguishable from a feature.

2018-05-30, 23:11:49
Reply #83

steyin

  • Active Users
  • **
  • Posts: 375
  • BALLS
    • View Profile
    • Instagram Page
So if you think you're to close to the wall you have to move the camera away from it. It doesn't matter how big or small your room is, it will always look exactly the same.

If I put the camera in the center of a room that is 16'x16' why does the view look exactly like that of a room that is 32'x32'? The walls should twice the distance away and more of view should be visible no?

2018-05-30, 23:47:39
Reply #84

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Imagine you are in the middle of the room and you look at one corner. Now scale up the room from this point where you're standing. The room is bigger but you are still looking in the exact same direction to see this corner. The angles haven't changed. It's about angles. The Spherical camera doesn't have any dimensions, it's an infinite small point, so there is no parallax and you can't determine the distance to the wall, there is no indication on how far a wall is from the view of the camera.
Another example would be watching the stars at night. You can't possibly say how far away they are, no matter if they are 1 or 100000 lightyears away. The only way (without instruments) to determine that distance is by parallax (moving through space, aka measuring the movement of stars over many years). You got 2 eyes for exactly that reason, with just one eye you don't have any depth perception and can't possibly say how far away things are.
Any sufficiently advanced bug is indistinguishable from a feature.

2018-05-31, 13:52:38
Reply #85

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Or in other words, you will see a difference if you:
-move the camera closer to the ground (this simulates being a mouse)
-change DOF
;)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2018-05-31, 13:55:40
Reply #86

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Side note: what actually does make a surprising difference is setting the camera position to chest height, not where your eyes would be. This has proven to somehow preserve the "perceived" scale a lot better.
Any sufficiently advanced bug is indistinguishable from a feature.

2020-05-13, 18:16:10
Reply #87

yazzmale

  • Users
  • *
  • Posts: 1
    • View Profile
Hello I need some help, please.

When I try to browse the .jpg 360, it doesn't upload it. And then, when I click on >>Generate file, this error appears: "Error occured! Is directory writeable?

2020-05-14, 17:02:49
Reply #88

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Hello I need some help, please.

When I try to browse the .jpg 360, it doesn't upload it. And then, when I click on >>Generate file, this error appears: "Error occured! Is directory writeable?

Hmm, this thread is from 2014 and the last post is a year old. There is a chance that this is not supported any more, or that something has changed.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-07-02, 17:31:06
Reply #89

emresenoglu

  • Active Users
  • **
  • Posts: 8
    • View Profile
I am having problems with this plugin too, and was wondering if there are any news / changes about the plugin. It successfully exports for me, however the html shows a black page. Anyone still using the plugin?

2021-01-05, 06:41:07
Reply #90

steyin

  • Active Users
  • **
  • Posts: 375
  • BALLS
    • View Profile
    • Instagram Page
I am having problems with this plugin too, and was wondering if there are any news / changes about the plugin. It successfully exports for me, however the html shows a black page. Anyone still using the plugin?
Try opening the html with a different browser. I find that not all browsers work with this plugin.

2021-02-08, 21:51:20
Reply #91

Marvey

  • Active Users
  • **
  • Posts: 213
    • View Profile
i am having the same problem, tested with others browsers same thing.