NVil Forum
General Category => Bug Reports => Topic started by: samardac on November 11, 2014, 10:27:58 am
-
Hay, why when I import models from Nvil to Keyshot I lost all objects names? In Cinema 4D, all names present but in keyshot no. Also I exported the same file from C4D to Keyshot and all names are here. What it can be?
-
What file format do you use? Can you show me a simple file exported from C4D?
-
I exported in .obj in .dae everything is ok.
Here are files, from C4D, Silo and Nvil. From C4D and Silo everything is ok, from Nvil no. Check it.
http://we.tl/2IZymPLFpk
-
Check this option and see if it works.
Edit > Options > File Format Options > Obj > Regroup polygons by meshes.
-
I checked it, now names in keyshot appears, but they are always - object1, object02 (no matter how I name them in Nvil)... In C4D they looks the same - object1, object02.
-
Can you show me three very simple files from NVil, C4D and Silo? It will only have one simple plane object with only 4 vertices. I need to compare the differences. The previous files are too big when opened in a text editor.
-
Probably that's because NVil uses object names (o) in the .obj file, while most programs expect group names (g).
For example, Houdini will use group names to divide geometry from the imported Wavefront file to primitive groups. Object names are completely ignored. In Maya, if you supply it with an .obj that uses object names instead of group names, all your objects will be merged into one.
The first thing I always do after exporting out an .obj file from NVil, is to replace all occurences of "o " string with "g ".
It would be nice if using group names instead of object names was available as an .obj export option.
-
Hay, why when I import models from Nvil to Keyshot I lost all objects names?
The last time I used "Keyshot" it required material groups. (each object with its own material name)
-
For example, Houdini will use group names to divide geometry from the imported Wavefront file to primitive groups. Object names are completely ignored.
I never had much luck importing .obj files into Houdini, regardless if the objects within the file where "o"(objects) or "g"(groups). You would be better to export from Nvil as Callada(dae), which Houdini will automatically split(into separate objects) and keep any applied materials.
-
IStonia,
here are files:
http://we.tl/kCwIdDXTDr
From Nvil I tourn off regroup polygons by meshes.
-
samardac,
Why are you exporting using .obj when collada(.dae) can be used without problems?
-
IStonia,
here are files:
http://we.tl/kCwIdDXTDr
From Nvil I tourn off regroup polygons by meshes.
Can you send me one that 'Regroup polygons by meshes' is on?
-
Steve, I prefer to work with .obj.
IStonia, here is it http://we.tl/vIuUgemyge
-
Steve, I prefer to work with .obj.
I have not used .obj format for quite a while, but I just made some checks. I am not seeing a problem.
Quick test with 3 named objects (box, sphere and cylinder)
(http://imagizer.imageshack.us/v2/xq90/673/X8ntEa.jpg) (https://imageshack.com/i/ipX8ntEaj)
Exported as .obj file from Nvil with option "Regroup polygons by meshes"
Imported into C4d, correct.
(http://imagizer.imageshack.us/v2/xq90/746/8ZH1E5.jpg) (https://imageshack.com/i/kq8ZH1E5j)
Imported into Silo, correct.
(http://imagizer.imageshack.us/v2/xq90/538/prcLuc.jpg) (https://imageshack.com/i/eyprcLucj)
Imported into Keyshot 5, correct.
(http://imagizer.imageshack.us/v2/xq90/743/0cmiWC.jpg) (https://imageshack.com/i/kn0cmiWCj)
-
Hay Steve,
I just cheked once again and looks like it work.
But when tried previously with regroup polygons, keyshot showed me objwcts like - object1, object02 (no matter how I name them in Nvil).
IStonia sorry for this, have no idea what it was.
-
I never had much luck importing .obj files into Houdini, regardless if the objects within the file where "o"(objects) or "g"(groups). You would be better to export from Nvil as Callada(dae), which Houdini will automatically split(into separate objects) and keep any applied materials.
Steve, even though Wavefront format is inefficient and obsolete, I prefer to use it when feeding Houdini with geometry, because Collada import (via File->Import) creates way too many unnecessary OBJ and SOP nodes, which I don't need when all I want is a raw geo import from NVil.
Also, importing Collada with a file SOP is a little bit awkward. It imports only the first object and I'd need to write a script to scan through the file and pick the rest of them for import. It crashed Houdini more than once too.
Generally speaking, I find NVil->Wavefront OBJ (with group names)->Houdini pipeline cleaner and easier to control.