Search found 12 matches

by C-lover-1
Sun Jul 22, 2007 1:56 pm
Forum: Advanced Help
Topic: get mesh in scene by name
Replies: 2
Views: 705

get mesh in scene by name

hi every body .
in my simple editor i am trying to add objects in a simple list and get them by name .
example cone1 ,cone2 ets...
i used getSceneNodeFromName() . there is no resualt for it .
in the past i used a dynamic array for selecting object and draw bondingbox arond them but now i can't ...
by C-lover-1
Mon Jul 09, 2007 9:19 am
Forum: Beginners Help
Topic: changing rotate animation value in realtime
Replies: 2
Views: 369

no no .
this is not my question .
i used that code . i need some thing after that to get last value of animation form object and then show it in label and then user can see last value and change it .
bu your code i just can createanimation . how can i control it ? ( change it in real time)
by C-lover-1
Sun Jun 10, 2007 12:05 pm
Forum: Beginners Help
Topic: changing rotate animation value in realtime
Replies: 2
Views: 369

changing rotate animation value in realtime

hello all
i have a mesh which i want to add rotate animation to it.
but i want to change animation value by changing my vector3df pointer .
but there no good function ( i think) for getting last value of animation (vector3df) and then after understand that how much is it we can change it to other ...
by C-lover-1
Thu Mar 01, 2007 7:16 am
Forum: Beginners Help
Topic: coverting from CString to char
Replies: 7
Views: 788

thankyou very much Travis.
problem solved with your last code .
thankyou :D :D :D :D :D :D
by C-lover-1
Wed Feb 28, 2007 5:01 pm
Forum: Beginners Help
Topic: coverting from CString to char
Replies: 7
Views: 788

i think UNICODE has defined before , becuase when i defined it , i got warning for redefinition UNICODE.
this is error that compiler gave me after i replace them with your code:
error C2664: 'irr::core::string<T>::string(const irr::core::string<T> &)' : cannot convert parameter 1 from 'CString' to ...
by C-lover-1
Wed Feb 28, 2007 9:49 am
Forum: Beginners Help
Topic: particle and problem in emitter
Replies: 1
Views: 194

it can be a bug in particle !
no one wants to answer it ?
by C-lover-1
Wed Feb 28, 2007 9:44 am
Forum: Beginners Help
Topic: coverting from CString to char
Replies: 7
Views: 788

thankyou vitek.


forget MFC . i am using single win32 app

i just got these resualts

//first code
CFileDialog open(TRUE);
const TCHAR* filename;
if (open.DoModal() == IDOK)
{
filename = open.GetFileName();
}
Smgr->loadScene((irr::c8*)filename);


resualt is many unknown characters and ...
by C-lover-1
Tue Feb 27, 2007 4:55 pm
Forum: Beginners Help
Topic: particle and problem in emitter
Replies: 1
Views: 194

particle and problem in emitter

hello all
when i try to add a particle to my scene , position of the emitter is not same as particle.
i want to add them in mfc app .
i made a billboard and particle child of it . bill board (parent of the particle ) loads in exact position but emitter is far from that .
what is the problem ? why ...
by C-lover-1
Tue Feb 27, 2007 4:51 pm
Forum: Beginners Help
Topic: coverting from CString to char
Replies: 7
Views: 788

coverting from CString to char

hello all.
i have problem in loading irr file to my mfc app.
for loading irr file i have to use COpendialog .
but it's works with CString and loadscene() works with char .
how can i solve this problem ( converting Cstring to char ).
by C-lover-1
Wed Feb 21, 2007 10:11 pm
Forum: Beginners Help
Topic: Problem in loading 3ds file
Replies: 4
Views: 551

problem is in 3ds file .
becuase we set Ambient light to white . and also radius of my light was very big .
but when i loded that 3ds file in other engine , it loaded quite well ! with out any change in 3ds file ?

ACKI : what do mean " light to bright or close " ?
i use light inside the 3ds file ...
by C-lover-1
Tue Feb 20, 2007 6:25 am
Forum: Beginners Help
Topic: Problem in loading 3ds file
Replies: 4
Views: 551

ه i solved above problem .
but anather problem happens .
when i add a light to my scene , 3ds file become white .
what do you think ?
what is the problem ?
by C-lover-1
Sat Feb 17, 2007 9:05 pm
Forum: Beginners Help
Topic: Problem in loading 3ds file
Replies: 4
Views: 551

Problem in loading 3ds file

hello all.
i made winapp that has irrlicht engine in it .
and i want to load a 3ds file in to my app.
it works quite well . but in loading some texture of 3ds file there is a problem .
half of my texture are exacly like normal map's textures.
i don't know what is the problem but , in console window ...