3dviewer | platform 3D model editor that supports multiple model

 by   wkcn C++ Version: v1.0 License: MIT

kandi X-RAY | 3dviewer Summary

kandi X-RAY | 3dviewer Summary

3dviewer is a C++ library. 3dviewer has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

A cross-platform 3D model editor that supports multiple model scaling, rotation, matrix transformation, vertex modification, importing obj files, and reading mtl material files
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              3dviewer has a low active ecosystem.
              It has 23 star(s) with 4 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 1 open issues and 1 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of 3dviewer is v1.0

            kandi-Quality Quality

              3dviewer has 0 bugs and 0 code smells.

            kandi-Security Security

              3dviewer has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              3dviewer code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              3dviewer is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              3dviewer releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of 3dviewer
            Get all kandi verified functions for this library.

            3dviewer Key Features

            No Key Features are available at this moment for 3dviewer.

            3dviewer Examples and Code Snippets

            No Code Snippets are available at this moment for 3dviewer.

            Community Discussions

            QUESTION

            How to cast a QML object as QQuickWindow from c++ code?
            Asked 2021-Nov-03 at 08:11

            I am using QQmlVTKPlugin, which allows me to directly access to VTKRenderWindow and VTKRenderItem with QML. To setup this I need to give to my QQMLApplicationEngine a QQuickWindow and a QQuickItem. If I just do this initialization from the main.cpp everything works correctly but for some reason I need to do that by calling a class constructor inside my QML file with a singleton. I call the following constructor from the QML but when I do window->show() my application crashes

            ...

            ANSWER

            Answered 2021-Nov-02 at 10:36

            Solution : Don't decide to show the window from c++ but only set visible parameter in QML.

            Source https://stackoverflow.com/questions/69807205

            QUESTION

            Autodesk Forge Reality Capture generated OBJ to 3D Web Viewer simple example sought
            Asked 2021-Aug-20 at 14:48

            Include details about your goal

            I am using Forge Reality Capture which returns me a URL to a zip file containing the OBJ of my model, and its auxiliary files.

            I want to provide my users with an extremely simple viewer on a webpage that renders the Reality Capture model I generate, and view in a simple 3D object web viewer.

            I am looking for a simple example HTML page that reads a URL from the GET string, and loads the object at the provided URL into a simple full window 3D object viewer.

            Ideally I was hoping to find some example where all I would have to do is add this line to an HTML page, and it would load the model into an iframe on the web page that is dedicated to the viewer on that page.

            I was imagining something like this:

            ...

            ANSWER

            Answered 2021-Aug-20 at 14:48

            There are couple of aspects here:

            First, Forge Viewer was designed to handle large models with lots of metadata, usually originating from CAD files. To do so, it requires a special format called SVF and the Model Derivative service is the one responsible for converting 70+ file formats into SVF

            Among those formats you will find OBJ, but it will add little value mainly because OBJ doesn't contain metadata and it is just a bunch of triangles (and not hierarchically structured components as in CAD files) - from this aspect, a better option for you would be Sketchfab.

            Second, the Reality Capture service returns you a zip containing OBJ and the associated textures. I am not sure that you will find an OBJ viewer capable of consuming a zip file, which he has to unarchive and retrieve the needed files to display them.

            From this aspect, you will have to have a proxy server which will retrieve the zip file, unarchive them and prepare/expose the OBJ to a needed viewing solution.

            In case of Autodesk Forge ecosystem - the workflow would be to extract the resulted zip, upload into a bucket, trigger translation on the file and consume it using Forge Viewer - all this is covered in this tutorial: https://learnforge.autodesk.io/#/tutorials/viewmodels

            Source https://stackoverflow.com/questions/68778537

            QUESTION

            Jenkins Build Execute Shell - File Permission denied
            Asked 2021-Aug-05 at 08:18

            Trying to set up a simple NodeJS project with Jenkins and AWS EC2.

            Jenkins runs on push. But will always fail on the build step. This is my build command:

            ...

            ANSWER

            Answered 2021-Aug-05 at 08:18

            try with absolute path of the file, if its in workspace try using

            Source https://stackoverflow.com/questions/68656423

            QUESTION

            How to get the grid (building baseline)information when importing from IFC file to forge?
            Asked 2021-Jun-28 at 13:29

            I converted an IFC file containing grid (building baseline) information(represented as IFCGRID and IFCGRIDAXIS), to SVF2 and imported it into Forge Viewer by referring to the following link.

            https://forge.autodesk.com/blog/consume-aec-data-which-are-model-derivative-api

            However, the AECModelData was null and I could not find the grids label and coordinates. It was represented as a white line in the 3DViewer, but there was no property to label the coordinates. Is there a way to get the coordinates and label of the grid (building baseline) when importing from IFC file to forge?

            ...

            ANSWER

            Answered 2021-Jun-28 at 13:29

            I believe this is because the "AEC model data" extraction is currently only available for Revit models, not IFC. You could try linking the IFC file into a Revit document, and then convert the Revit file instead, but I'm not sure if that would help.

            Let me reach out to the engineering team and find out if this (generating the AEC data for IFC files is on the roadmap).

            Source https://stackoverflow.com/questions/68163342

            QUESTION

            OpenGL is not culling faces properly when drawing OBJ model
            Asked 2021-Apr-23 at 06:46

            I'm trying to render a Teapot model from an OBJ file. I'm using the Fixed Function rendering pipeline, and I cannot change to the Programmable Pipeline. I would like to have some basic lighting and materials applied to the scene as well, so my teapot has a green shiny material applied to it. However, when I rotate the teapot around the Y-Axis, I can clearly see through to the back side of the teapot.

            Here's what I've tried so far:

            • Changing the way OpenGL culls the faces (GL_CCW, GL_CW, GL_FRONT, GL_BACK) and none produce the correct results.

            • Changing which way OpenGL calculates the front of the faces (GL_FRONT, GL_CCW, GL_BACK, GL_CW) and none produce the correct results.

            • Testing the OBJ file to ensure that it orders its vertices correctly. When I drag the file into https://3dviewer.net/ it shows the correct Teapot that is not see-through.

            • Changing the lighting to see if that does anything at all. Changing the lighting does not stop the teapot from being see-through in some cases.

            • Disabling GL_BLEND. This did nothing

            Here is what I currently have enabled:

            ...

            ANSWER

            Answered 2021-Apr-23 at 06:46

            in order to make face culling working you need to:

            1. define winding rule

            Source https://stackoverflow.com/questions/67222309

            QUESTION

            three.js - How to set custom color to *.obj model when it is delivered without *.mtl file?
            Asked 2020-Dec-15 at 09:57

            I have a set of models in *.obj format that come without material files (*.mtl files). Some online services display these models correctly: https://3dviewer.net/, https://sketchfab.com/. But - according to the three.js documentation - in my project I only get an incorrect display of the model:

            instead of:

            The developer https://3dviewer.net/ said that the idea on this service is that if the *.mtl file is not found, then the script sets the default color / material - paints the entire product in one color.

            How to color an object from a *.obj file to a selected color using three.js tools?

            For testing, I attach a model file that comes without a material file: test sample *.obj file.

            ...

            ANSWER

            Answered 2020-Dec-15 at 09:57

            It seems the OBJ is not exported correctly. When using macOS preview, BabylonJS or the OBJLoader of three.js, the faces seem to have the wrong winding order. You should get the desired result by doing the following in your onLoad() callback:

            Source https://stackoverflow.com/questions/65291761

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install 3dviewer

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/wkcn/3dviewer.git

          • CLI

            gh repo clone wkcn/3dviewer

          • sshUrl

            git@github.com:wkcn/3dviewer.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link