I render gui in texture such as:
driver->beginScene(true, true, 0);
driver->setRenderTarget(rt);
env->drawAll();
driver->setRenderTarget(0);
smgr->drawAll();
driver->endScene();
But I have trouble. Position all widgest stay old.
For example, I have button on top left corner. Whan gui ...
Search found 14 matches
- Sat May 10, 2008 7:20 pm
- Forum: Advanced Help
- Topic: Render GUI in texture
- Replies: 0
- Views: 487
- Thu May 01, 2008 11:21 am
- Forum: Beginners Help
- Topic: ERROR on LINUX: Could not find win32 key for x11 key
- Replies: 4
- Views: 527
- Thu Jan 18, 2007 2:08 pm
- Forum: Beginners Help
- Topic: HELP!! Problim with transporent!!
- Replies: 17
- Views: 2152
- Thu Jan 18, 2007 12:58 am
- Forum: Beginners Help
- Topic: HELP!! Problim with transporent!!
- Replies: 17
- Views: 2152
- Wed Jan 17, 2007 7:57 pm
- Forum: Beginners Help
- Topic: HELP!! Problim with transporent!!
- Replies: 17
- Views: 2152
- Wed Jan 17, 2007 4:29 pm
- Forum: Beginners Help
- Topic: HELP!! Problim with transporent!!
- Replies: 17
- Views: 2152
- Wed Jan 17, 2007 11:41 am
- Forum: Beginners Help
- Topic: HELP!! Problim with transporent!!
- Replies: 17
- Views: 2152
=\
I try mingw32 and MSVC++7.0 - not work. I try difirent formats of images - nothing =\ I see in irrlicht source (COpenGLDriver) - hm, transparent MAST work... =\ but did't work =(((
Please, if on you computer not full transparent is work (for exemple, transparent image on 23%...), PLEASE, write ...
Please, if on you computer not full transparent is work (for exemple, transparent image on 23%...), PLEASE, write ...
- Tue Jan 16, 2007 8:54 pm
- Forum: Beginners Help
- Topic: HELP!! Problim with transporent!!
- Replies: 17
- Views: 2152
- Tue Jan 16, 2007 5:34 pm
- Forum: Beginners Help
- Topic: HELP!! Problim with transporent!!
- Replies: 17
- Views: 2152
cry
I'm cry, but it's not work to v.v
ITexture *teh0=driver->getTexture("f:/1.png");
ITexture *teh1=driver->getTexture("f:/2.png");
const core::rect< s32 > destRect0 (40,40,500,500);
const core::rect< s32 > destRect1 (90,90,500,500);
const core::rect< s32 > sourceRect (0,0,100,100);
const ...
ITexture *teh0=driver->getTexture("f:/1.png");
ITexture *teh1=driver->getTexture("f:/2.png");
const core::rect< s32 > destRect0 (40,40,500,500);
const core::rect< s32 > destRect1 (90,90,500,500);
const core::rect< s32 > sourceRect (0,0,100,100);
const ...
- Tue Jan 16, 2007 12:19 pm
- Forum: Beginners Help
- Topic: HELP!! Problim with transporent!!
- Replies: 17
- Views: 2152
- Mon Jan 15, 2007 5:37 pm
- Forum: Beginners Help
- Topic: HELP!! Problim with transporent!!
- Replies: 17
- Views: 2152
- Mon Jan 15, 2007 5:09 am
- Forum: Beginners Help
- Topic: HELP!! Problim with transporent!!
- Replies: 17
- Views: 2152
HELP!! Problim with transporent!!
I write this:
int main( )
{
config=new Config( );
device=createDevice(video::EDT_DIRECT3D8, // ^_^'
dimension2d<s32>(config->screen_w, config->screen_h),
config->screen_bpp,
config->screen_full,
config->screen_stencil,
config->screen_vsync);
device->setWindowCaption(L"Cruel Track ...
int main( )
{
config=new Config( );
device=createDevice(video::EDT_DIRECT3D8, // ^_^'
dimension2d<s32>(config->screen_w, config->screen_h),
config->screen_bpp,
config->screen_full,
config->screen_stencil,
config->screen_vsync);
device->setWindowCaption(L"Cruel Track ...
- Sat Jan 13, 2007 11:50 am
- Forum: Advanced Help
- Topic: Advansed GUI on Irrlicht
- Replies: 4
- Views: 1174
- Fri Jan 12, 2007 11:38 pm
- Forum: Advanced Help
- Topic: Advansed GUI on Irrlicht
- Replies: 4
- Views: 1174
Advansed GUI on Irrlicht
I need translate this gui http://flufx.narod.ru/archives/CruelTruck0.04alpha.rar (it's creat on guichan) on irrlicht.
But I find big problem.
I need overload Button class. I need add irrlicht button some new functions... How I can do it??
But I find big problem.
I need overload Button class. I need add irrlicht button some new functions... How I can do it??