Thank you very much, I understand, the solution is simpler than I thought. I'll just have to check the code.
2 2018-10-08 04:33:46
Topic: load textures in thread (2 replies, posted in Engine)
I have implemented in my project a multi-thread assets load, meshes and animations load perfectly, but the textures are left blank, what should I change in my project or in the engine to avoid this problem?
3 2017-11-14 04:45:31
Re: Problem with multiple sceneLayers (2 replies, posted in Engine)
Thanks, it worked perfectly
4 2017-11-13 02:43:27
Topic: Problem with multiple sceneLayers (2 replies, posted in Engine)
I have three scenes:
-Sky
-World
-GUI
I need the three scenes to be shown as layers at once in this way: World is the Sky layer and GUI is the World layer, meaning Sky is in the background, World in the middle and GUI is in front. but the engine only allows the rendering of two layers, what can I do?
5 2017-05-24 07:52:11
Re: How to parent object to bone in C++? (1 replies, posted in Engine)
I have solved it, adding this code in the update function:
MOEntity * weapon = scene->getEntityByName("star");
MOEntity * keyla = scene->getEntityByName("ky");
MOBone * bone = keyla->getMesh()->getArmature()->getBoneByName("IK.hand.R");
weapon->setPosition( keyla->getTransformedVector( bone->getTransformedPosition() ) );
weapon->setEulerRotation( bone->getEulerRotation() + keyla->getEulerRotation() );
6 2017-05-20 02:21:28
Topic: How to parent object to bone in C++? (1 replies, posted in Engine)
I have tried in several ways to link an object to a bone (for example, to match a weapon to the hand of a character) but I have had difficulties with the transformations and I have not been able to solve them
7 2016-09-28 06:47:03
Re: How to disable smoothing textures in maratis? (3 replies, posted in Engine)
works well on objects with a single texture and a single material, objects with various textures and various materials has no effect.
I see the bindTexture () function takes an optional second parameter called multitextureId should I allocate a value to this variable?
8 2016-09-27 17:11:31
Topic: How to disable smoothing textures in maratis? (3 replies, posted in Engine)
I want to achieve a retro result, using very small as in this game textures:
http://cdn.akamai.steamstatic.com/steam 1469233030
http://s2.n4g.com/news/1941257_0.jpg
http://insertmoin.de/wp-content/uploads moirai.jpg
https://i.ytimg.com/vi/50jOBb5QKMI/maxresdefault.jpg
the problem is that maratis smooth textures making small textures look very blurry, can I disable smoothing?
9 2016-08-20 18:45:57
Re: letters that do not belong to English are incorrectly in a MOText, (8 replies, posted in Engine)
sorry, my English is very low.
I manually using the code maratis not use the publisher nor the lua api, I schedule everything in C ++
10 2016-08-19 23:04:11
Re: letters that do not belong to English are incorrectly in a MOText, (8 replies, posted in Engine)
I just try maratis 4 and there is no problem in this respect
You could carry my project Maratis4? Or even missing work to be used by a user? I clarify that do not need the editor, but compile my project as in the example "ManualUse"
11 2016-08-19 22:13:04
Re: letters that do not belong to English are incorrectly in a MOText, (8 replies, posted in Engine)
I guess in maratis 4 The problem has been solved but let me tell you what I have discovered: from the character with hex code \ x07E two characters are needed to represent each character that follows, ie \ x0C2 \ x0A3 together represent £ but separate account other characters.
MOText.cpp line in each individual character 247 is separated and searches and their meaning, so the display characters are incorrect.
I will review Maratis 4
12 2016-08-19 20:07:22
Re: letters that do not belong to English are incorrectly in a MOText, (8 replies, posted in Engine)
I use Netbeans on Linux, and the encoding of my project is UTF-8, yet the problem persists, I have compiled a number of ways including using scons and the problem persists.
13 2016-08-16 08:59:39
Topic: letters that do not belong to English are incorrectly in a MOText, (8 replies, posted in Engine)
when I asingo a text string with a MOText setText object symbols that non-English language are displayed incorrectly, for example "Ñ U" and the like. ¿I can fix this display? I have noticed that the editor no problem any.
Help me please!! :"(
14 2016-07-22 22:53:17
Topic: How to add an object Behavior in C ++? (2 replies, posted in Engine)
I have tried many ways to add Behavior LookAt a camera but no way it works, how it is done?
15 2015-08-19 02:06:13
Re: I have problems with "isKeyPressed ()" in laptops (4 replies, posted in Engine)
Can I make this in a simple way?
16 2015-08-17 01:45:16
Topic: I have problems with "isKeyPressed ()" in laptops (4 replies, posted in Engine)
the "isKeyPressed ()" function is not detected when I press the number keys on a laptop, how can I solve this problem?
17 2015-03-27 20:06:12
Re: problems with ray using c ++ (3 replies, posted in Engine)
Thanks for your help Anael. I have other question: why doesn´t work the object’s physical simulation when I active their physical properties after the scene is loaded in the Update () function?
18 2015-03-26 16:41:30
Topic: problems with ray using c ++ (3 replies, posted in Engine)
I wanna work with maratis SDK following the example of the engine manual use, I'm trying to make a ray to know on top of which object is the mouse placed regarding what IsRayHit() function does which always returns false instead of detecting the object, I leave you the code
float x = input->getAxis("MOUSE_X");
float y = input->getAxis("MOUSE_Y");
MVector3 vi = camera->getUnProjectedPoint(MVector3(x,y,0));
MVector3 vo = camera->getUnProjectedPoint(MVector3(x,y,1));
//cout<<" "<<vo.x<<" "<<vo.y<<" "<<vo.z<<endl;
if(physics->isRayHit(vi, vo, &collisionObjId, &point)){
exit(0);
}
//cout<<point.x<<" "<<point.y<<" "<<point.z<<endl;
MOEntity * entity = scene->getEntityByName("monkey");
MPhysicsProperties * phyProps = entity->getPhysicsProperties();
cout<<phyProps->getCollisionObjectId()<<endl;
The object has a physical property active, but the ray is not detecting it
19 2015-02-28 20:10:39
Topic: New version of maratis? (1 replies, posted in General)
Hi guys! I see that some time ago a new version of maratis is not released, Will there be future versions?
20 2014-10-12 01:13:38
Topic: load level from .level file in C ++ (1 replies, posted in Engine)
(not speak good English)
What I can do to start the level from a file using C ++ sdk?
my project does not have any level and I want to add them manually from C ++, but when I use the function engine-> LoadLevel (