Bug with Specific Image Textures?

Forums: Bug with Specific Image Textures?
Autodesk Softimage XSI (Developed by Face)

Re: Bug with Specific Image Textures?

Postby face » Mon Feb 07, 2011 11:00 am

face Mon Feb 07, 2011 11:00 am
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
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
User avatar
face
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

Re: Bug with Specific Image Textures?

Postby DI2011 » Tue Feb 08, 2011 2:39 am

DI2011 Tue Feb 08, 2011 2:39 am
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.
Attachments
00.jpg
Windows 7 Ultimate 64-Bit, Intel I7 980x Extreme, 6GB ram, Nvidia Geforce GTX 580
DI2011
Licensed Customer
Licensed Customer
 
Posts: 94
Joined: Thu Dec 09, 2010 11:13 pm

Re: Bug with Specific Image Textures?

Postby DI2011 » Thu Feb 10, 2011 1:05 am

DI2011 Thu Feb 10, 2011 1:05 am
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.
Windows 7 Ultimate 64-Bit, Intel I7 980x Extreme, 6GB ram, Nvidia Geforce GTX 580
DI2011
Licensed Customer
Licensed Customer
 
Posts: 94
Joined: Thu Dec 09, 2010 11:13 pm

Re: Bug with Specific Image Textures?

Postby face » Thu Feb 10, 2011 8:54 am

face Thu Feb 10, 2011 8:54 am
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
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
User avatar
face
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

Re: Bug with Specific Image Textures?

Postby DI2011 » Sun Feb 13, 2011 6:09 pm

DI2011 Sun Feb 13, 2011 6:09 pm
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
Attachments
00.jpg
Windows 7 Ultimate 64-Bit, Intel I7 980x Extreme, 6GB ram, Nvidia Geforce GTX 580
DI2011
Licensed Customer
Licensed Customer
 
Posts: 94
Joined: Thu Dec 09, 2010 11:13 pm

Re: Bug with Specific Image Textures?

Postby DI2011 » Sun Feb 13, 2011 9:58 pm

DI2011 Sun Feb 13, 2011 9:58 pm
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
Windows 7 Ultimate 64-Bit, Intel I7 980x Extreme, 6GB ram, Nvidia Geforce GTX 580
DI2011
Licensed Customer
Licensed Customer
 
Posts: 94
Joined: Thu Dec 09, 2010 11:13 pm

Re: Bug with Specific Image Textures?

Postby face » Sun Feb 13, 2011 10:22 pm

face Sun Feb 13, 2011 10:22 pm
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
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
User avatar
face
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

Re: Bug with Specific Image Textures?

Postby DI2011 » Mon Feb 14, 2011 6:58 am

DI2011 Mon Feb 14, 2011 6:58 am
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 :(
Windows 7 Ultimate 64-Bit, Intel I7 980x Extreme, 6GB ram, Nvidia Geforce GTX 580
DI2011
Licensed Customer
Licensed Customer
 
Posts: 94
Joined: Thu Dec 09, 2010 11:13 pm

Re: Bug with Specific Image Textures?

Postby face » Mon Feb 14, 2011 11:35 am

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

face
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
User avatar
face
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

Re: Bug with Specific Image Textures?

Postby DI2011 » Thu Feb 17, 2011 4:54 pm

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

As you asked, the scene has a simple cube with phong shader, glass material configs. thanks
Attachments
Scenes.rar
(57.9 KiB) Downloaded 335 times
Windows 7 Ultimate 64-Bit, Intel I7 980x Extreme, 6GB ram, Nvidia Geforce GTX 580
DI2011
Licensed Customer
Licensed Customer
 
Posts: 94
Joined: Thu Dec 09, 2010 11:13 pm
PreviousNext

Return to Autodesk Softimage XSI


Who is online

Users browsing this forum: No registered users and 5 guests

Thu Apr 18, 2024 4:54 am [ UTC ]