Rendering error in USD

Rendering error in USD

aldo_martindelcampo
Enthusiast Enthusiast
747 Views
14 Replies
Message 1 of 15

Rendering error in USD

aldo_martindelcampo
Enthusiast
Enthusiast

[ FlexSim 24.2.1 ]

WhatsApp Image 2024-09-23 at 2.48.16 PM (1).jpegwhatsapp-image-2024-09-23-at-24817-pm.jpegwhatsapp-image-2024-09-23-at-24816-pm-1.jpegwhatsapp-image-2024-09-23-at-24816-pm.jpegI have a question, I'm trying to create a USD Stage file to render a model, but when objects are created in the rendering, they appear in different locations and change size. Also, some objects from FlexSim aren't being rendered, and SketchUp objects aren't rendering either.What could be happening?

0 Likes
748 Views
14 Replies
Replies (14)
Message 2 of 15

kavika_faleumu
Autodesk
Autodesk

Hey @Aldo Martin del Campo, I've got a few questions about the issues you're experiencing.

1. Are you using the Omniverse Connector or the USD Stage?

2. What SketchUp files are you using? I'm able to export SketchUp files just fine when exporting using the Omniverse Connector or the USD Stage.

3. What objects aren't being rendered?

4. What objects are appearing in different locations? I don't get the same behavior as the images of the rack and boxes you posted.

Thank you!

0 Likes
Message 3 of 15

aldo_martindelcampo
Enthusiast
Enthusiast

1. USD stage

2. SKP files

3. Task executers

4. Boxes, in the FlexSim model the boxes are in racks, but in USD they appear in other positions, as shown in the image

What I'm having trouble creating the live session is that in USD it doesn't let me create a localhost, do you do the live rendering or save the file in FlexSim and open it again in USD?

0 Likes
Message 4 of 15

kavika_faleumu
Autodesk
Autodesk

Would you be able to share the skp files you're using? I can see fine behavior with skp files when exported from a USD Stage.

I can confirm the issue you're seeing with task executers; I will put that issue on our dev backlog.

I'm not sure why your boxes aren't rendering in the right places; I'm able to export a rack with boxes just fine. Are there any special ways you're rendering racks or boxes?

For making a live session, have you followed the tutorial video we've made? FlexSim's USD Stage and Omniverse Connectors are simply ways to manipulate the data found in a USD file. You can make a live session between an Omniverse application (like USD Composer) and FlexSim which allows you to manipulate objects in one application and see the changes live in the other. It can also work to run models in FlexSim and see them run in Omniverse; however, as the amount of data you send over the connection increases, the frames-per-second you get will go down.

Message 5 of 15

aldo_martindelcampo
Enthusiast
Enthusiast

I am currently working with different SKP files.

Do I need to make sure the drawings are part of the USD stage as a Visual-Plane works?

I have reviewed the video, however, I am not able to find the Presenter on Launcher, only the Composer, cache, Omniverse KIT, Nucleus, (I am not really sure they are required for what I am trying to do.

0 Likes
Message 6 of 15

aldo_martindelcampo
Enthusiast
Enthusiast

I tried using the Omniverse connection (it doesn't generate a Live, but it was able to render the SKP); however, now the issue is that the file loses its color and renders much whiter than it appears in FlexSim.Captura de pantalla 2024-10-09 175302.pngWhatsApp Image 2024-10-09 at 4.59.08 PM.jpegWhatsApp Image 2024-10-09 at 4.03.39 PM (2).jpegWhatsApp Image 2024-10-09 at 4.03.39 PM (1).jpeg

0 Likes
Message 7 of 15

kavika_faleumu
Autodesk
Autodesk

Yes you need to ensure that the drawings are part of the USD Stage if you are going that route. Are you trying to run FlexSim in a live session or just render a still image of FlexSim from Omniverse?

With regards to using the Omniverse Connector, the reason you will see loss in color and things appear whiter are either (1) the lighting of the Omniverse environment is brighter or (2) the textures weren't exported correctly. Did you make sure to check the "Copy Textures to Output Directory" box?

1728590782227.png

Is it an issue with the SKP files or FlexSim objects?

Message 8 of 15

aldo_martindelcampo
Enthusiast
Enthusiast


I tried doing it live, but I can't create the session from FlexSim, so now it's only being done statically. I would like to do it live, but I'm not sure if the issue is related to the creation of the localhost directly from NVIDIA. I did check the textures box, but initially, when rendering in NVIDIA, the objects appear without lighting. After adjusting the environment, they start to look more like the photos.

0 Likes
Message 9 of 15

aldo_martindelcampo
Enthusiast
Enthusiast

Photos in USD composerwhatsapp-image-2024-10-09-at-45909-pm.jpegwhatsapp-image-2024-10-09-at-45909-pm-1.jpegwhatsapp-image-2024-10-09-at-40339-pm-2.jpegwhatsapp-image-2024-10-09-at-45908-pm.jpeg

0 Likes
Message 10 of 15

kavika_faleumu
Autodesk
Autodesk
If you're unable to make a localhost nucleus server in Omniverse, then you can't perform a live connection. The live connection relies on you having the file saved on a nucleus server and using that URL in the Stage's properties.

What issues are you seeing when making a nucleus server or localhost?

Message 11 of 15

logan_gold
Community Manager
Community Manager

Hi @Aldo Martin del Campo ,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes
Message 12 of 15

aldo_martindelcampo
Enthusiast
Enthusiast

Hi, the problem is directly in Omniverse, I go to the Nucleus and it doesn't allow me to create a localhost, it only gives me the option to join another host through a connection. Therefore, when I enter the Composer, it lets me create files in my documents, but in the localhost section, it also only asks me to enter the data to connect to one and start working. I looked for how to create one, but I don't see the same options. Do you happen to have a tutorial?

0 Likes
Message 13 of 15

aldo_martindelcampo
Enthusiast
Enthusiast

Version of USD Composer : 23.2.5

whatsapp-image-2024-10-22-at-43237-pm.jpeg

0 Likes
Message 14 of 15

kavika_faleumu
Autodesk
Autodesk

In the dialog box in your screenshot, you should be able to simply type "localhost" into the first field. This will create a localhost nucleus server for you.

You can also try doing it from the Omniverse Launcher in the Nucleus tab.

1729700536007.png

0 Likes
Message 15 of 15

logan_gold
Community Manager
Community Manager
@Aldo Martin del Campo, are you still having issues with creating a nucleus server? Have you been able to try what Kavika suggested in his last comment?
0 Likes