![]() |
|
MISSING TEXTURES WITHIN VIEWER3DS - Printable Version +- AB4D Forum (https://forum.ab4d.com) +-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4) +--- Forum: Viewer3ds and Ab3d.Reader3ds (https://forum.ab4d.com/forumdisplay.php?fid=5) +--- Thread: MISSING TEXTURES WITHIN VIEWER3DS (/showthread.php?tid=61) |
MISSING TEXTURES WITHIN VIEWER3DS - mulfycrowh - 10-11-2010 Hello everybody ! I downloaded viewer3ds (trial version). I made two renderings : the first one with viewer3ds and the second one with 3DSMax with the attached files. As you can see, some textures are missing. Could you please explain these rendering differences ? I downloaded many and many viewers and tried them with tens of samples. Renderings seem to be very random. For example, the car windshield transparency will be correctly rendered within a viewer and not rendered at all within another one. My project is to build a C++ 3D engine to render and move 3D models. My development toolkit is Visual Studio 9.0. I made the choice using Direct3D and DirectSound but I can move to OpenGL if necessary. I would appreciate the engine to be full compatible with .X (DirectX), .3ds, .obj, .ma and .dxf (and .max if possible) file types. So, I am looking for SDK library to help me in this way. I am on the verge to buy hundreds of 3D models but you'll understand that I need a reliable library for the rendering purpose. Many thanks ! RE: MISSING TEXTURES WITHIN VIEWER3DS - abenedik - 10-12-2010 First I would like to say that Reader3ds library (used by Viewer3ds) is made for WPF (Windows Presentation Foundation) that also has some 3D support. It is not directly for DirectX. The WPF is internally using DirectX. It does not provide full features of DirectX and full performance. But on the other hand it is much easier to use - does not require c++ stuff but can be used in managed .net. Also my library only works for 3ds file and does not support other file formats (.X, .dxf, etc.) From only the 3ds file I cannot say why the textures are missing. There should be some texture images with the file also to check this. If you would like that I check the file in more details, please zip the 3ds file with its texture files together and attach them to you post. The problem with transparencies in WPF is caused by way WPF (I am not sure for DirectX) draws transparencies. Generally speaking all transparent objects must be defined lastly. If there are some other objects defined after the transparent object, they will not be visible through the transparent object. This must be taken into account when creating the model. |