Search found 11 matches

by MTLZ
Sat Jan 04, 2014 9:34 am
Forum: Beginners Help
Topic: how do i get the vertex color of an imported .obj
Replies: 10
Views: 1111

Re: how do i get the vertex color of an imported .obj

Sorry to bring back this thread but I have exactly the same problem. I'm looking for a mesh format that support materials and vertex colors. I though "obj" was the one but there is no vertex color. Can anyone advice me which format Irrlicht can import with materials and vertex color ? Than...
by MTLZ
Wed Feb 06, 2013 12:00 pm
Forum: Beginners Help
Topic: [Solved] How to use Cg Shaders?
Replies: 2
Views: 509

Re: How to use Cg Shaders?

That was the problem: I did not recompile Irrlicht with CG support. My bad.
Thank you very much. :)
by MTLZ
Tue Feb 05, 2013 1:30 pm
Forum: Beginners Help
Topic: [Solved] How to use Cg Shaders?
Replies: 2
Views: 509

[Solved] How to use Cg Shaders?

Hello everybody, I tried to use Cg shaders in my game but I get a compilation error during execution: GLSL shader failed to compile Vertex shader failed to compile with the following errors: ERROR: 0:2: error(#132) Syntax error: 'float4' parse error ERROR: error(#273) 1 compilation errors. No code g...
by MTLZ
Mon May 28, 2012 8:21 pm
Forum: Advanced Help
Topic: [solved] Performance issue with scene nodes
Replies: 15
Views: 2193

Re: Performance issue with scene nodes

Maybe you can use Billboards instead of Spheres...
by MTLZ
Fri May 25, 2012 2:20 pm
Forum: Everything 2d/3d Graphics
Topic: How to use Blender .b3d exporter?
Replies: 16
Views: 12007

Re: How to use Blender .b3d exporter?

I ran some tests and unfortunately, the B3D Exporter doesn't export animated models with Blender 2.63. I tried with Blender 2.62 and your animated mesh worked perfectly! Since I'm not a python/blender developer, I can't fix the exporter for 2.63 so we have to wait and hope for an update of the scrip...
by MTLZ
Tue May 08, 2012 10:27 pm
Forum: Everything 2d/3d Graphics
Topic: How to use Blender .b3d exporter?
Replies: 16
Views: 12007

Re: How to use Blender .b3d exporter?

OK so I figured out what went wrong with the script. There was not only faces but also uv coordinates and vertex colors which changed with the new API. I updated the script file, you can re-download it and I think it will be better now :) http://www.is06.com/fichiers/divers/plugin/b3d_exporter/GaNDa...
by MTLZ
Tue May 08, 2012 9:59 pm
Forum: Everything 2d/3d Graphics
Topic: How to use Blender .b3d exporter?
Replies: 16
Views: 12007

Re: How to use Blender .b3d exporter?

From what I see here: "AttributeError: 'MeshTexturePoly' object has no attribute 'uv1'",
I think UV coordinates are also obsoletes so I need to search a little bit in order to update the exporter with that.
by MTLZ
Mon May 07, 2012 12:18 pm
Forum: Everything 2d/3d Graphics
Topic: How to use Blender .b3d exporter?
Replies: 16
Views: 12007

Re: How to use Blender .b3d exporter?

You can't check the box or you can but maybe you forgot to click on "Save as default" button on the bottom of the window? (that was my mistake the first time)
by MTLZ
Tue May 01, 2012 3:00 pm
Forum: Everything 2d/3d Graphics
Topic: How to use Blender .b3d exporter?
Replies: 16
Views: 12007

Re: How to use Blender .b3d exporter?

I wanted to inform those who use this exporter that it doesn't work since blender 2.63 because of a new version of the API. If you have this error while exporting into a b3d file: "Mesh has no attribute faces": - You can edit the B3DExport.py script file by replacing all occurences of &quo...
by MTLZ
Wed Apr 25, 2012 7:29 pm
Forum: Advanced Help
Topic: [SOLVED] Node opacity and texture with alpha channel
Replies: 2
Views: 669

Re: Node opacity and texture with alpha channel

Great! Thank you :D I had to search a little bit for this material type and found that I can set up the blending mode. Here is my code : // Setting material parameters Material.MaterialType = video::EMT_ONETEXTURE_BLEND; Material.MaterialTypeParam = video::pack_texureBlendFunc(   video::EBF_SRC_ALPH...
by MTLZ
Wed Apr 25, 2012 5:50 pm
Forum: Advanced Help
Topic: [SOLVED] Node opacity and texture with alpha channel
Replies: 2
Views: 669

[SOLVED] Node opacity and texture with alpha channel

Hello everyone. I made my own GUI interface using screen-aligned quads and I use 24-bit png textures in their materials. Is there a way to both use those textures with alpha channel and set the node opacity? Until now, I was using a "diffuse" fragment shader which get the opacity value fro...