Page 3 of 4

Re: Bug with Specific Image Textures?

Posted: Mon Feb 07, 2011 11:00 am
by face
What happens, if you delete the ocs file.
Then you should have a new clear scene with the materials from the mtl.file, I think.
If that works, I will change the plugin...


face

Re: Bug with Specific Image Textures?

Posted: Tue Feb 08, 2011 2:39 am
by DI2011
I made what you said, deleted all the .ocs files and made a new one and nothing.

I made other test and look what i´ve found, I don´t know if it have to do something with, but in this way it´s working.

When I name all of my scenes in softimage with this specific scene called "cena" it always will work, I´ve made more of 10 times the project with names, cena01, cena 02 and etc...

When I tested other softimage scene name called "apr", it never works, no matter how I try.

All of this tests was made in new projects and new ocs files.

Re: Bug with Specific Image Textures?

Posted: Thu Feb 10, 2011 1:05 am
by DI2011
Face,

Is there any possibility of .mtl file reads the glass configuration from softimage to octane? Because the color and specular of shaders works fine, but when it comes with glass from softimage mesh comes grey.

If it´s possible, I can fix my problem using import obj mesh option in octane.

Re: Bug with Specific Image Textures?

Posted: Thu Feb 10, 2011 8:54 am
by face
Glas should be if the material have an IOR > 1 and the scaletrans is > 0.
Thats the rule, so I write it in the mtl-file.

face

Re: Bug with Specific Image Textures?

Posted: Sun Feb 13, 2011 6:09 pm
by DI2011
Face, look what it happens.

Am I doing it right?

When I export with octane exporter, material comes with specular and when I open the scene with .mtl material comes with glossy.

I just need to make this glass material works and my problem will be totally fixed, i will always open .mtl file instead use octane exporter.

Thanks

Re: Bug with Specific Image Textures?

Posted: Sun Feb 13, 2011 9:58 pm
by DI2011
I´ve made a mistake.

When you asked me to import .mtl file, I exported my scene in .obj file directly from softimage, not in octane exporter addon. All shaders and textures go fine with the exception of glass.

Now I realize my bad attention, and making tests with "export obj/mtl only", the problems are the same, no one textures open in Octane and the glasses materials go fine.

The Script of .mtl file generated by octane exporter is different of the script of .mtl file directly from softimage. In the script generated by softimage all the textures file name appears to me and in the script generated by octane exporter no one texture name file appears.

Look a example:

.MTL from octane exporter:

newmtl chao_madeira
Ka 0.3 0.3 0.3
Kd 0.7 0.7 0.7
Ks 1 1 1
Ns 50
d 1
illum 2

.MTL file generated by softimage:

newmtl chao_madeira
Ka 0.300000 0.300000 0.300000
Kd 0.700000 0.700000 0.700000
Ks 1.000000 1.000000 1.000000
Ns 50.000000
Tr 0.000000
illum 2
map_Kd C:\objetos_3D\Pictures\madeira_06.jpg

Re: Bug with Specific Image Textures?

Posted: Sun Feb 13, 2011 10:22 pm
by face
For the textures I´m looking on the "txt2d-image-explicit" node as the input node for any texture.
If you have a mixnode or others in the diffuseport, it doesn´t works.

The rendertree should looks like this:
tree.gif
The resulting mtl-file I become is this:
newmtl Scene_Material
Ka 0.3 0.3 0.3
Kd 0.7 0.7 0.7
Ks 1 1 1
Ns 50
d 1
illum 2
map_Kd G:\Octane\Project\grn_bl.bmp

Hope that helps

face

Re: Bug with Specific Image Textures?

Posted: Mon Feb 14, 2011 6:58 am
by DI2011
All of my objects that have image textures are exactly like you do.

The only way I can make it works 99% is exporting .obj file directly from softimage, but only glass doesn´t works :(

Re: Bug with Specific Image Textures?

Posted: Mon Feb 14, 2011 11:35 am
by face
Make a simple scene in Softimage, maybe a cube, where the export failed.
Add the scene to a zip and post it here.

face

Re: Bug with Specific Image Textures?

Posted: Thu Feb 17, 2011 4:54 pm
by DI2011
Here we go.

As you asked, the scene has a simple cube with phong shader, glass material configs. thanks