@thomas My photospheres do not show quality differences before and after upload, but I guess the differences are just not visible. For debugging it would help if you could send me your original photosphere image as the quality issue is very visible.
Hi All,
@WeddingDJ and @Reetesh , I was going to post a topic about the mouse cursor on mobile, and then came across this one.
I have a working project with this component added:
<script src="https://rawgit.com/mayognaise/aframe-mouse-cursor-component/master/dist/aframe-mouse-cursor-component.min.js">
</script>
And this code:
<a-entity id="cameraWrapper" position="0 0 0">
<a-entity camera look-controls>
<a-cursor id="cursor"
animation__click="property: scale; startEvents: click; from: 0.1 0.1 0.1; to: 1 1 1; dur: 150"
animation__fusing="property: fusing; startEvents: fusing; from: 1 1 1; to: 0.1 0.1 0.1; dur: 1500"
event-set__1="_event: mouseenter; color: springgreen"
event-set__2="_event: mouseleave; color: black"
fuse="true"
></a-cursor>
</a-entity>
</a-entity>
Would this be helpful?
If so, how would one change this section in order to add the visible cursor, including gaze-fuse on desktop and mobile:
<a-entity position="0 0 0">
<a-entity
id="camera"
camera="far: 10000; fov: 80; near: 0.1; userHeight: 1.6"
look-controls>
<a-entity
cursor="fuse: false; rayOrigin: mouse"
raycaster="far:5001"
id="cursor"
position="0 0 -1.9"
geometry="primitive: circle; radius: 0.02;"
material="color: #FFFFFF; shader: flat;"
visible="false">
</a-entity>
</a-entity>
</a-entity>
<a-entity laser-controls="hand: left" raycaster="near: 0.5; far: 5001" line="color: #FFFFFF" class="laser-controls"></a-entity>
<a-entity laser-controls="hand: right" raycaster="near: 0.5; far: 5001" line="color: #FFFFFF" class="laser-controls"></a-entity>
Thanks.
Hey @WeddingDJ , yeah, weird one. I just removed that part of the variable and things are working fine now so I'm too scared to change anything or fiddle.
Thanks for checking though!
@Reetesh I just published the theme page for the photo tour pro theme, including Cardboard support. If you are interested let me know. https://www.ideaspacevr.org/themes/ideaspace-360-photo-tour-pro
@marcojanmaat Sorry, they are non-existent in the current release. I am working on the 1.0 release with better documentation incl. API hooks. If you still want to create your own theme, please take a look at one of the existing themes. If you have got a question I am happy to answer that!
Make sure you have a .env file in your web root. There is something wrong with the APP_KEY variable. Please send me your APP_KEY value to [email protected] and I'll verify it. Thanks.
Which version of IdeaSpace do you use?
Are you using Apache as web server?
The .htaccess file should look as follows:
DirectoryIndex index.php
<FilesMatch "artisan|composer.phar|composer.json|composer.lock|package.json|web.config">
Order Allow,Deny
Deny from all
</FilesMatch>
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
# Do not allow directory listings
Options -Indexes
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
Did you check the memory_limit value if you dump your php configuration with phpinfo()?
If you use the Photosphere Viewer theme you can configure the image quality in themes/photosphere-viewer/functions.php. It is set to 75 per default. You could lower this value in order to reduce memory consumption.
Some configuration in your system does not allow PHP to allocate more memory. According to your log it looks like that 132120576 Bytes is the maximum and the additional 33554433 bytes for resizing the image cannot be allocated.
You could try to configure the memory_limit = -1 so PHP would take what it needs.
@arsallinger if you still have this issue, you can add
<Directory /var/www/html>
AllowOverride All
</Directory>
to your .htaccess file in the IdeaSpace root directory. Please make sure that the path /var/www/html is right and pointing to your IdeaSpace web root. This statement makes sure that the Apache mod_rewrite module works properly, which is needed by IdeaSpace for pretty URLs.