3dviewer | platform 3D model editor that supports multiple model
kandi X-RAY | 3dviewer Summary
kandi X-RAY | 3dviewer Summary
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
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of 3dviewer
3dviewer Key Features
3dviewer Examples and Code Snippets
Community Discussions
Trending Discussions on 3dviewer
QUESTION
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:36Solution : Don't decide to show the window from c++ but only set visible parameter in QML.
QUESTION
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:48There 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
QUESTION
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:18try with absolute path of the file, if its in workspace try using
QUESTION
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:29I 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).
QUESTION
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:46in order to make face culling working you need to:
define winding rule
QUESTION
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:
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:57It 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:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install 3dviewer
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page