Collada Importer tS7.61
Re: Collada Importer tS7.61
Success except for the missing eyes, fur is reversed, and is more shinny.
Used your WolfUVFix.RsObj with D3D Material Converter - Scene Instancing
Used your WolfUVFix.RsObj with D3D Material Converter - Scene Instancing
Re: Collada Importer tS7.61
I notice the differences with the DefaultModelShader in the D3D Material Converter and your DefaultModelTextureShader in the Collada Importer
The D3D Material Converter's DefaultModelShader has SpecularColor and the Collada Importer's DefaultModelTextureShader does not You have an Input for it but it is not being used
You are using a bitmap that is the same as the Image Texture shader
This increases the size of the object
It is not using compression as well DAE has specular color
<specular>
<color>1.0 1.0 1.0 1.0</color>
</specular>
The D3D Material Converter's DefaultModelShader has SpecularColor and the Collada Importer's DefaultModelTextureShader does not You have an Input for it but it is not being used
You are using a bitmap that is the same as the Image Texture shader
This increases the size of the object
It is not using compression as well DAE has specular color
<specular>
<color>1.0 1.0 1.0 1.0</color>
</specular>
Re: Collada Importer tS7.61
Not sure if this is from using your Collada Exporter or Importer
Infinite lights are being converted to Directional lights .
If I replace the Directional lights with the C:\trueSpace761Std\Scripts\preobjects/light03 and light04, it looks better .
Enable Shadow is not working for the spotlights
IE: They are always enabled
Infinite lights are being converted to Directional lights .
If I replace the Directional lights with the C:\trueSpace761Std\Scripts\preobjects/light03 and light04, it looks better .
Enable Shadow is not working for the spotlights
IE: They are always enabled
Re: Collada Importer tS7.61
Imported the original Wolf dae again
I thought you had this fixed in the previous version
.
I thought you had this fixed in the previous version
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Collada Importer tS7.61
I assume you're talking about it facing downward?
If so here it is in Blender and Lightwave.
Blender facing down, bad skinning.
Lightwave facing down, no animation.
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Collada Importer tS7.61
For collada you can only have a color or a texture, not both. So you can't have a specular color and a specular texture.trueBlue wrote: ↑12 Aug 2023, 18:05 I notice the differences with the DefaultModelShader in the D3D Material Converter and your DefaultModelTextureShader in the Collada Importer
The D3D Material Converter's DefaultModelShader has SpecularColor and the Collada Importer's DefaultModelTextureShader does not
DefaultModelShader.png
You have an Input for it but it is not being used
You are using a bitmap that is the same as the Image Texture shader
This increases the size of the object
It is not using compression as well
SPECULARCOLOR.png
DAE has specular color
<specular>
<color>1.0 1.0 1.0 1.0</color>
</specular>
Re: Collada Importer tS7.61
Here is a HLSL Script the gets SpecularColor from an image
Materials - DX9 library
D3D Ultimate Mapped Material
SpecReflectSchlickMap
Schlick - HLSL Script Brick
Materials - DX9 library
D3D Ultimate Mapped Material
SpecReflectSchlickMap
Schlick - HLSL Script Brick
Code: Select all
void NewFunction(in float3 normal, in float3 lightvec, in float3 eye, in float4 SpecularColor, in float4 DiffuseColor, in float SpecularCoef, in float4 lightcolor, out float4 result)
{
float3 Reflection = normalize(2.0 * normal * dot(normal,lightvec) - lightvec);
float RdotV = max(dot(Reflection, eye),0.0);
float SchlickTerm = RdotV / (SpecularCoef - (SpecularCoef * RdotV) + RdotV);
float4 Diffuse = DiffuseColor * max(0.0f,dot(lightvec, normal));
float4 Specular = SpecularColor * SchlickTerm;
result.xyz = (Diffuse + Specular) * lightcolor;
result.a = DiffuseColor.a;
}
Re: Collada Importer tS7.61
Experimenting with the Dino with painted vertices
Collada Import is missing the SolidVertexColorShader, FeederGPUVertexShader, and Gooch2Shader 'Model shader' .
What did I do wrong?
Collada Enhansed ExportCollada Import is missing the SolidVertexColorShader, FeederGPUVertexShader, and Gooch2Shader 'Model shader' .
What did I do wrong?
- Attachments
-
- Dino.RsObj
- (397.78 KiB) Downloaded 47 times
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Collada Importer tS7.61
The Collada file format has no concept of Gooch2Shader model shader. It only knows basic blinn, lambert and phong model shaders.
It has no concept for vertex shaders. There are no vertex shaders in collada.
For color shaders it only understands colors and textures, nothing beyond that.