Search found 7 matches

by messy
Tue Feb 07, 2012 9:15 pm
Forum: Everything 2d/3d Graphics
Topic: Blender >> .x >> Irrlicht
Replies: 10
Views: 5617

Re: Blender >> .x >> Irrlicht

Mhh... Export animation doesn't work. It moves nothing.
I don't find a guidance (am I dumb?). But as a student I can use 3D Max freely and I will try it with this program.
by messy
Tue Feb 07, 2012 10:58 am
Forum: Everything 2d/3d Graphics
Topic: Blender >> .x >> Irrlicht
Replies: 10
Views: 5617

Blender >> .x >> Irrlicht

Hello,

i want use animated meshs in my project. For rigging I used Blender 2.61. I export my models with the DirectX exporter addon (http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Import-Export/DirectX_Exporter). Then I import the .x-models in irrlicht and the result are terrible. What ...
by messy
Sat Feb 04, 2012 7:01 pm
Forum: Beginners Help
Topic: Expired Object must die!
Replies: 4
Views: 309

Re: Expired Object must die!

Ah, it works:
bool ObjectFactory::update(f32 frameDeltaTime)
{
for(list<ExpiringObject*>::Iterator it = expiringObjects.begin(); it != expiringObjects.end(); )
{
if ((*it)->isExpired())
{
delete(*it);
it = expiringObjects.erase(it);
}
else
{
(*it)->update(frameDeltaTime);
it ...
by messy
Sat Feb 04, 2012 5:17 pm
Forum: Beginners Help
Topic: Expired Object must die!
Replies: 4
Views: 309

Re: Expired Object must die!

This code fragment is all in my method. This method is calling on each frame. expringObject is a list with objects which have a Boolean that set on true after 5 seconds. This is the moment where isExpired() is true. Now i want to delete it from the list. I have used erased(it), but i doesn't work ...
by messy
Sat Feb 04, 2012 2:24 pm
Forum: Beginners Help
Topic: Expired Object must die!
Replies: 4
Views: 309

Expired Object must die!

Hello,

i have this code in my update method for my "ExpiredObject manager":

for(list<ExpiringObject>::Iterator it = expiringObjects->begin(); it != expiringObjects->end(); it++)
{
if (it->isExpired())
{
// have to die!
}
else
it->update(frameDeltaTime);
}

I want to delete the object if ...
by messy
Sun Jan 08, 2012 10:31 am
Forum: Beginners Help
Topic: Set lights with Maya
Replies: 3
Views: 284

Re: Set lights with Maya

@CuteAlien: Thanks for your hint. I'll try it when I don't find another way.

@hendu: Okay, baked lights don't be the best way. What is the optimal way to do this? Build a scene and set the lights with the lightmanager? This could be expensive or not?
by messy
Sat Jan 07, 2012 8:13 pm
Forum: Beginners Help
Topic: Set lights with Maya
Replies: 3
Views: 284

Set lights with Maya

Hi.

I'm new here and the first thing I do is to ask a question. ;)

I work with Maya 12. The only way to use Maya models in Irrlicht is to export my model in ".obj" (right?). Can I export lights in ".obj" ? My wish is to set lightning in Maya and use it in Irrlicht just like ".bsp" . Is that ...