I have been trying to use the renderer to import a 3D model of a wind turbine into vapor but it does not show up on the visualizer window. I tried to play around with the numbers of the scaling of the 3D model but the only way it will show up in the visualizer is if I scale the model by an abnormally large amount like 10000000000000000000. Even when it does show up, it is just a gray bar blocking out my screen because it is so large. If I change the scaling to something just a bit smaller it will totally disappear from the screen. I have played with the translation numbers, the origin and the scaling numbers for a while but I can’t seem to find the correct ratio to make the 3D model show up on the visualizer. I have tried several different models and I have experienced the same issue. Is there an easier way to make the 3D model visible?
Hi,
This is definitely a pain point that I’ve experienced too. Probably worth having our team consider a ticket to improve usability.
In the meantime, could you provide the 3D model and a sample file from your dataset so I can take a look?
Thanks,
Scott
Yeah sure. I used the Katrina dataset from the vapor official website. : Sample Data — 3.9.3 documentation
The 3D model was downloaded from this link. It is a wind turbine:
Hi @rfaiza,
I’m able to get the .blend file hosted on the CGTrader website to render as shown in the screenshot below, with the following transforms applied to the model renderer. Again, I know this is a pain point so I’ve filed a new enhancement on our github repository. If you have a github account, please give it a thumbs up or a comment so we can tie this to a user reported issue. It will get more attention that way. Please also let us know if you run into any other issues. Thanks!
Note that the Z axis is scaled ~10x less than X and Y because VAPOR is automatically scaling the entire dataset’s Z axis by default. This can be seen if you click on the dataset file name in the upper left table and view the dataset’s transform table.
X | Y | Z | ||
---|---|---|---|---|
Translate | -500000 | 3000000 | 100000 | |
Scale | 50000 | 50000 | 5000 | |
Origin | -1.8 | 1.2 | -7.3 |
Do you know how to upload multiple of the same model file?
You can do that by either editing the imported model to contain multiple instances of your structure, or you can create multiple instances of the Model Renderer. The ladder is probably easier.
Try right-clicking on the renderer instance, then clicking Duplicate->VisualizerNo_0. Then edit the placement of the duplicate renderer in the Geometry tab with the Transform parameters.
Those transformation numbers don’t work with a different data file i am using. What should I do?
Those transformation numbers don’t work with a different data file i am using. What should I do?
This all depends on the model file is described.
Do you know the coordinates for its origin? That will provide how it needs to be translated within the extents of your dataset.
The size of the model will give a hint on how to scale it into your dataset. But without the having the model file, I can only guess.
ETA: What model file are you trying to use, and is it with the Katrina sample dataset? I can take a look.
The coordinates for my origin are x = -180498.12891 , y= 4755392.25000 , z = 8085.58260. I am confused as to how to make the model I am trying to import show up
Is this the same model file that you mentioned earlier in this thread? The translations, scales, and origin adjustments worked out for me mentioned earlier and copied below worked for me. If it’s a different file, I can take a look if you share a pointer to it.
X | Y | Z | ||
---|---|---|---|---|
Translate | -500000 | 3000000 | 100000 | |
Scale | 50000 | 50000 | 5000 | |
Origin | -1.8 | 1.2 | -7.3 |