Giter VIP home page Giter VIP logo

Comments (20)

magicien avatar magicien commented on August 18, 2024

Sorry, this plugin is available for macOS 10.13 (High Sierra) or later.
I will add the system requirement to README.md.

from gltfquicklook.

donmccurdy avatar donmccurdy commented on August 18, 2024

It's working in Sierra (10.12.6) for me actually

from gltfquicklook.

jmlg10 avatar jmlg10 commented on August 18, 2024

Good news, but how did you install it?

regarding the log I get from my "terminal" what's wrong in my installation?

from gltfquicklook.

donmccurdy avatar donmccurdy commented on August 18, 2024

The normal instructions just worked for me; not sure why sorry. 😐

from gltfquicklook.

jmlg10 avatar jmlg10 commented on August 18, 2024

Not for me..
May be for security reason in my corporate environment...(antivirus or something like that)

I should have to try on a more opened system at home...

from gltfquicklook.

magicien avatar magicien commented on August 18, 2024

SCNNode.worldPosition is defined at macOS 10.13 SceneKit.
I used it for centering a model on a thumbnail, but I don't think it affects previews.
The problem is that SceneKit changed behavior at macOS 10.13, and I optimized the code to High Sierra, so it might cause problems in Sierra.

The dyld warning is about GLTFSceneKit (Runpath Search Paths value). I think I can fix it, but this log doesn't affect this plugin.
I'm not sure about bootstrap_register errors... It might need sandboxing to stop the errors.

from gltfquicklook.

jmlg10 avatar jmlg10 commented on August 18, 2024

hello,

I've upgraded my Mac with High Sierra (10.13.1) and get the same issues...

May be it's because some security issues? how can I check ?

from gltfquicklook.

jmlg10 avatar jmlg10 commented on August 18, 2024

Ok, Done I get 2 files in the /path/outputDir
a Preview and PreviewProperties.plist but no windows with the scene open.
I get still an warning message in the terminal about LC_RPATH @executable_path...

from gltfquicklook.

jmlg10 avatar jmlg10 commented on August 18, 2024

How Am I suppose to open the Preview.scn file?
A Double click on it give no result.
An "Open with" "Apercu"(Preview app in French) don't give better results...

On the other hand the command:
qlmanage -o /outputdir/ -p file.glb
Give a "Preview" file but without ".scn" as extension.

from gltfquicklook.

jmlg10 avatar jmlg10 commented on August 18, 2024

when I select your "Preview.scn" file and hit spacebar I get a window like this:
screen shot 2017-11-27 at 09 06 54

from gltfquicklook.

magicien avatar magicien commented on August 18, 2024

I guess Verto Studio 3D tried to show the thumbnail and preview instead of SceneKit.qlgenerator.

What GLTFQuickLook does is to convert gltf data into SceneKit data (.scn format) and pass the data to QuickLook service. By default, SceneKit data is handled by SceneKit.qlpreview, but it seems that Verto Studio 3D handles scn data on your mac.

I think you can see a preview with this command:
qlmanage -g /System/Library/QuickLook/SceneKit.qlgenerator -c com.apple.scenekit.scene -p Preview.scn

And you can check which QLGenerator is used for scn files with this command:
qlmanage -d 1 -p Preview.scn

By default, the command log looks like (SceneKit.qlgenerator is used):

[DEBUG] Previewing file:///path/to/Preview.scn. Content type UTI: com.apple.scenekit.scene. Generator used: <QLGenerator /System/Library/QuickLook/SceneKit.qlgenerator>

from gltfquicklook.

jmlg10 avatar jmlg10 commented on August 18, 2024

I've installed Xcode, so I get the /Include folder but all is not clear, I get the preview only via command line.
Do I have to disable System Integrity Protection too? The worst is that even if all this manips can be made on my computer, I can't imagine doing this on all the Mac of the company...(and the IT dept neither)...
Have you a way to make installation "lighter" ?

from gltfquicklook.

magicien avatar magicien commented on August 18, 2024

It's weird that you had to install Xcode. I don't have /usr/include directory either.
I guess qlmanage command itself outputted 'Permission denied' logs. Whenever I use qlmanage command, I get 'Permission denied' logs even if it's a text file or an image file.

Could you please try v0.2.1?
I changed some options for QuickLook API. I hope it changes something.

And can you get qlmanage -m command log? I would like to see the QL plugin list.

from gltfquicklook.

jmlg10 avatar jmlg10 commented on August 18, 2024

Sorry,
But if we consider this issue closed
Is it possible to delete this feed?
Thanks

from gltfquicklook.

magicien avatar magicien commented on August 18, 2024

Thank you for your cooperation!

If I get the preview with Quicklook feature activated, is it normal I don't get the preview in "Cover Flow mode" ?

I'm not sure if it's normal, but it could happen.

Do you mean that you want to delete this issue? I can't delete your first comment, but I can make it empty and delete all other comments in this issue if you want.

from gltfquicklook.

jmlg10 avatar jmlg10 commented on August 18, 2024

Yes, that's the idea, I shall remove all unwanted informations in my first comment.
Thanks
Jmlg

from gltfquicklook.

magicien avatar magicien commented on August 18, 2024

Ok. Are you ready to delete?

from gltfquicklook.

jmlg10 avatar jmlg10 commented on August 18, 2024

Yes, on the other hand, I've got another issue after uninstalling the gltf-viewer of Bwasty (https://github.com/bwasty/gltf-viewer) I lose the PBR rendering in your quicklook viewer.
I don't know why, and what the installation of his app modifye the system. can you have a look?
Many Thanks

from gltfquicklook.

magicien avatar magicien commented on August 18, 2024

I have deleted some comments which have logs.

I don't think gltf-viewer affects QuickLook, because it is a stand-alone binary file.
I guess applications or other QuickLook plugins do something.

Can you get qlmanage -m command log?
Please make sure the log doesn't contain information which you don't want to send.

from gltfquicklook.

jmlg10 avatar jmlg10 commented on August 18, 2024

I understand, for me also it's quite strange. But on my system it happens. After installing/desinstallng glTF-viewer, your quicklook plug-in don't shows PBR rendering anymore.
I don't know how to recover it.

from gltfquicklook.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.