http://www.3dmodelfree.com/3dmodel/list403-1.htm
I have downloaded a 3d model from this site.
And then I open the model in 3ds max, then export it to .3DS format.
After loading the .3ds in Irrlicht, the object looks strange
Does anyone know how to render the sofa as shown in the website?
How to render this kind of 3D model?
-
- Posts: 1215
- Joined: Tue Jan 09, 2007 7:03 pm
- Location: Leuven, Belgium
I notice that the obj will look fine if I do not reduce its scale.
Usually, the obj downloaded from the web is quite large when it is loaded by Irrlicht. So, before loading this obj, I need to in advance reduce its size.
However, after loading the obj, the texture cannot be seen and the surface of the obj is fully white. This will happen only if the obj size is reduced
How can I solve that problem?
Usually, the obj downloaded from the web is quite large when it is loaded by Irrlicht. So, before loading this obj, I need to in advance reduce its size.
However, after loading the obj, the texture cannot be seen and the surface of the obj is fully white. This will happen only if the obj size is reduced
How can I solve that problem?
-
- Posts: 1215
- Joined: Tue Jan 09, 2007 7:03 pm
- Location: Leuven, Belgium
This probably happens because the object normals aren't normalized, you can set this as a material flag in your object's materialwsw1231 wrote:I notice that the obj will look fine if I do not reduce its scale.
Usually, the obj downloaded from the web is quite large when it is loaded by Irrlicht. So, before loading this obj, I need to in advance reduce its size.
However, after loading the obj, the texture cannot be seen and the surface of the obj is fully white. This will happen only if the obj size is reduced
How can I solve that problem?
Check here for a reference http://irrlicht.sourceforge.net/docu/na ... f40add70d3