Please help me, problem with model expoxted from Blender

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

you have to turn to another side because the texture is only single sided. and make sure the material type is trans_alphach

hmm maybe i should try obj, instead of b3d
dlangdev
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR
Contact:

Post by dlangdev »

i'm so...<slaps me forehead>

anyway...

yup, after turning it, the wires showed up like...magic.

try obj for static meshes, i've tested the file format for some situations and they were ok. i use b3d for lightmapped scenes and animated meshes.

you must test them in your dev environment, tho. what works in my dev might not work in your dev environment.
Image
dlangdev
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR
Contact:

Post by dlangdev »

<slaps me head again>

fogget what i said.

the bug is still there.

you might want to re-model the fence to prevent this from happening.

Image

if material type is solid, the tubes get rendered properly.

you should set the material of the wiremesh with alpha.

the tubes, use solid instead.

use b3d instead of obj.

that doesn't sound like fun, isn't it?

too bad, it's beginning to look like work.
Image
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Still, try what I said: Use the OpenGL driver. Moreover, you should definitely use two separate materials, one transparent for the fence and one solid for the tubes. And both formats, obj and b3d, should support these material types...
doqkhanh
Posts: 158
Joined: Sat Mar 01, 2008 3:14 am
Location: Tokyo, Japan
Contact:

Post by doqkhanh »

hybrid wrote:Still, try what I said: Use the OpenGL driver. Moreover, you should definitely use two separate materials, one transparent for the fence and one solid for the tubes. And both formats, obj and b3d, should support these material types...
So, If I want to release my game in DirectX, What can I do :((
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Well, did the hint help you? If there's no chance at all to overcome the problem I don't see any chance with any driver. First solve the problem, then check how to reproduce it with other drivers.
doqkhanh
Posts: 158
Joined: Sat Mar 01, 2008 3:14 am
Location: Tokyo, Japan
Contact:

Post by doqkhanh »

hybrid wrote:Well, did the hint help you? If there's no chance at all to overcome the problem I don't see any chance with any driver. First solve the problem, then check how to reproduce it with other drivers.
Hi Hybrid, everything OK if I start engine with OpenGL, but since my video card not support OpenGL well, I have only 3 fps in my 30fps Dx. But, the model display very well, exactly with the result render with modeler program.

It's seem may be Irrlicht have some problem with DirectX driver??
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

In case you use Irrlicht 1.4.1 the OpenGL slowdown might be due to the NPOT recognition problem of that version. The d3d driver can usually be fixed by removing the zbuffer_write statements from CD3D9MaterialRenderer.h
doqkhanh
Posts: 158
Joined: Sat Mar 01, 2008 3:14 am
Location: Tokyo, Japan
Contact:

Post by doqkhanh »

hybrid wrote:In case you use Irrlicht 1.4.1 the OpenGL slowdown might be due to the NPOT recognition problem of that version.
:) I will check all our texture one more times. But I don't think our team members use any NPOT size texture.
hybrid wrote: The d3d driver can usually be fixed by removing the zbuffer_write statements from CD3D9MaterialRenderer.h
I will try it.

Thank you very much, Hibrid.
Post Reply