When exporting a vrscene from Blender to Vantage, it would be great that a collection is recognized as a group in Vantage.
As we have to organize the files in Blender with collections (which I dislike), the file gets messed up in Vantage. Vantage seems only to recognize Locators (Empties).
The exporter also exports everything from the scene. There seems to be no way to export only the selected or the visible objects. It’s not production ready.
Hi @lh3d
I will see what we can do about the collections, but can you clarify a bit what you mean about your second point? Or provide a Blender scene showing this behaviour.
When I export the scene via file → export → V-Ray, it exports all the objects in the scene (selected, unselected, hidden).
I have also some trouble with the texture files. Some are not found by Vantage, even if all textures are in the same folder.
Aaah I see… Unfortunately exporting hidden objects will require a much bigger change. Will see if we can reproduce any of your texture file problems, but the change for the collection hierarchies will be in our next release at the end of May.
Hold on, do you actually mean that hidden objects are being exported? I am still a bit confused :). Again a simple scene would be really helpful if you are seeing hidden objects inside Vantage.
ok, my bad, the “hidden” objects are not exported when “disabled in renders” is ticked of… I’m still confused with the “disabled in viewport” and “disabled in renders”… Sorry for that mistake.
I still have the issue with the textures and groups. Maybe I will find a solution for that too…
Okay, I see what you mean, but to me that feels for the most part like expected behaviour. The .vrscene exporter works as a “production render” so it takes into account the Render visibility, not viewport visibility. And objects hidden in renders are always exported(but marked as invisible) exactly for things like importing .vrscene files in Vantage.
I found something regarding the texture issue I have.
I could not write the text and post in the forum (error 403) so the text is in the attached picture
Okay, that’s what I thought was happening with your textures. One option would be to export the .vrscene on your project directory right next to the .blend file. That way the relative textures should resolve properly. The other temporary not so pretty option would be to modify allowRelativePaths in %appdata%\Blender Foundation\Blender\5.0\scripts\addons\vray_blender \lib\defs.py to always do ``` @property
def allowRelativePaths(self):
# For cloud we always want absolute paths since the .vrscene is saved in %temp%/vray_blender
# return self.exportOnly and not self.commonSettings.isCloudSubmit()
return False
To my knowledge we always export all cameras in .vrscene files or are you asking for something else? I tried it an I see all cameras in my scene in Vantage.