游戏开发论坛

 找回密码
 立即注册
搜索
查看: 846|回复: 0

Wild Magic's 3ds max plugin(??D?出???)

[复制链接]

414

主题

611

帖子

621

积分

高级会员

Rank: 4

积分
621
发表于 2006-4-30 14:27:00 | 显示全部楼层 |阅读模式
Wild Magic's 3ds max plugin(??D?出???)
我用Wild Magic's 3ds max plugin?出一??Box(有一????D)
?绦?impleView.exe的?r候,?s出?ASSERT,???是D3DXCreateTextureFromFileInMemoryEx失?∷?
我的Box的??D是max?冉ǖ?ommon 5-512.bmp
max是8.0,有灌service pack3

我??ox的??D移除後,?绦惺钦??
???一下用Wild Magic's 3ds max plugin?出max的模型?r,??D的?n名或是?格有何?定??

   ms_hResult = D3DXCreateTextureFromFileInMemoryEx(
     m_pqDevice,
     aucFileInMemory,
     iFileBytes,
     0, // take width from file
     0, // take height from file
     0, // create full mip chain
     0,
     (D3DFORMAT)ms_adwTexFormat[pkImage->GetFormat()],
     D3DPOOL_MANAGED,
     D3DX_DEFAULT, // D3DX_FILTER_TRIANGLE | D3DX_FILTER_DITHER
     D3DX_DEFAULT, // D3DX_FILTER_BOX
     0x00000000, // disable opaque colorkey
     0, // D3DXIMAGE_INFO
     0, // no PALETTEENTRY
     &pqTexture
    );
    assert( SUCCEEDED(ms_hResult) );
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-24 08:36

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表