just check on nvidia or amd/ati website to install the latest drivers for your card
1,127 2012-02-07 12:10:15
Re: Potential tutorial series (47 replies, posted in Tutorials/Examples)
Hi !
very nice, thank you for the effort,
I'd like to see more users feedback about your post but I'm sure it will be very appreciated.
Anaël.
1,128 2012-02-05 09:51:49
Re: importing textures (12 replies, posted in General)
good, it means your card miss a mipmap extension, it could probably be corrected with up-to date drivers if there is (for opengl specially).
1,129 2012-02-03 21:00:52
Re: I have a question about maratise script (1 replies, posted in General)
there is actually no function to do this in script, only in cpp,
the way in script would be to create all the objects you need in the scene, deactivate them (Edit > deactivate).
when you need one, in script, activate one and set its position/rotation where you want it.
1,130 2012-02-03 20:59:16
Re: importing textures (12 replies, posted in General)
no 512x512 is a power of two,
look at the command line, it shows the opengl version.
but try to set mipmap="0" in the mesh file (in case the extension is not supported)
1,131 2012-02-03 08:41:01
Re: importing textures (12 replies, posted in General)
maybe your drivers are not up to date for opengl, try installing the latest drivers for your card,
some users had similar issues.
Can you tell me what is written in Maratis command line (OpenGL something...) ?
And just in case, try to make your texture with a power two size (ex 256x256) and set mipmap="0" in the mesh file with a text editor.
1,132 2012-02-02 15:35:53
Re: A quick mess around with some art assets (2 replies, posted in Showcase)
nice
for smoothing group :
there is no way to import it from another software but, in Blender, add a "edge split" modifier,
you can set up an angle or use marked edges.
waiting to see more
1,133 2012-02-02 11:01:20
Re: importing textures (12 replies, posted in General)
did you directly export your mesh to the final directory (project/meshs) ? or did you moved it after exporting ?
when exporting, the path are made relative to the mesh file, so if you move the file, the path are no longer good.
to be sure, you can open the mesh file with a text editor (its xml) and check that the texture filename if good.
it can also be the texture, what is the format of the texture ? maybe your 3d card only support power of two textures ?
1,134 2012-02-02 10:58:20
Re: Offset when exporting Blender meshes (1 replies, posted in General)
for collision shapes different than triangle-mesh, the pivot is very important,
make sure that the mesh pivot is centered in the object you export (it can be that).
you can also build a shape with multiple basic volumes (with cubes, tube etc), make them invisible
and attach your mesh to the parent of it.
1,135 2012-02-01 18:33:49
Re: Plugin system concept (37 replies, posted in Engine)
very nice,
maybe you can also just write to a text file ?
to keep a trace
1,136 2012-02-01 12:51:16
Re: vs2005 can't compile(svn) (4 replies, posted in Bug report)
Yesterday when committing, I saw that MWin32Window.cpp was bugged (bad formatting or I don't know)
and I replaced it yesterday morning. When did you get the svn content ? just try to remove the file and update svn again.
1,137 2012-01-31 19:12:07
Re: access to the "Follow behavior" attributes (2 replies, posted in Engine)
Hi,
yes, you don't have access to the MBFollow class from the SDK,
the generic system to access to behavior variables is this :
MVariable variable = behavior->getVariable(0); // first variable ("target")
MString * target = (MString *)variable.getPointer();
behavior->getVariable(1); // "delay"
float * delay = (float *)variable.getPointer();
...
if you are not sure of the variable id, name or data type, you can scan the variables :
variables number :
unsigned int nbVar = behavior->getVariablesNumber();
name :
variable.getName();
type :
variable.getType();
(can be M_VARIABLE_BOOL, M_VARIABLE_INT, M_VARIABLE_VEC2, M_VARIABLE_VEC3...)
1,138 2012-01-31 12:32:52
Re: package file request (150 replies, posted in Engine)
Hi,
I finished the bin mesh publishing, I tested on mac and windows only,
and now the mac version put everything in the app.
There was some problem with the bin mesh :
- The anim data ref was not put to NULL when calling mesh->clean() so as we was re-using it, the mesh bin export was accessing removed refs.
- I forgot something in the anim mesh bin loader, when reading the animation keys (I forgot to init the key type... oups...).
... I spend some hours yesterday to find out
I removed writing to package, I don't think it is necessary, and it was a bit confusing. It's better to just create temp files manually and add the file to the package, I added an entityName argument to it.
Normally it is working, but we should check on linux to be sure.
Only thing remaining are the level files... I'll try this week if I can...
1,139 2012-01-30 21:41:39
Re: package file request (150 replies, posted in Engine)
ok perfect I didn't see it
1,140 2012-01-30 20:24:32
Re: Plugin system concept (37 replies, posted in Engine)
I still have mix feeling about it, for compatibility reasons, MGui is used only for tool things,
so we still need to find a good way to separate editor plugins and game plugins.
For example, a plugin code using MGui won't be compatible for embedded system (iOS, Android etc).
I'd like first that we take a decision on the editor/game separation plugins.
But after that, yes it should be dynamic.
1,141 2012-01-30 20:20:17
Re: package file request (150 replies, posted in Engine)
in MWritablePackageFile I don't see any delete of the buffer (which is big) :
m_buffer = new char[WRITABLE_BUFFER_SIZE];
I'm starting checking tonight, I'll try to give a review tomorrow or late in the night,
good evening,
Anaël.
1,143 2012-01-30 18:53:33
Re: Plugin system concept (37 replies, posted in Engine)
3d drivers are sometime a problem on linux,
I'm still searching for my card, I probably need to install an older version of ubuntu (my card is a bit old)
For the commit, just leave me some days to look at the bin mesh thing, Mario (MarKill) also committed a new feature,
he made a custom shortcut system ! I'd like to validate this two things before a new contribution.
1,144 2012-01-30 13:17:28
Re: Plugin system concept (37 replies, posted in Engine)
Hi,
- for linux, do you have opengl drivers ? 3d is slow on my linux because there is no nvidia driver available, so it's using mesa (not really accelerated). If it react very slow also when the editor is empty, maybe there is an issue with X11 events ?
- the plugins was initially parsed in maratis folder /plugins/
but yes AppData would be better is a user doesn't own the write authorization of maratis dir.
And the project dir /plugins/ yes.
it works very simple normally, just need to parse the dir and load the plugin using MPlugin m_plugins.
need to be called just before maratis->loadGamePlugin()
1,145 2012-01-29 00:29:18
Re: how delete a 3D Object on the scene using SDK ? (4 replies, posted in Engine)
try to use it only in the game class update, after or before everything is calculated.
1,146 2012-01-28 15:33:50
Re: package file request (150 replies, posted in Engine)
Hi, thanks !
I will have a look
1,147 2012-01-28 15:32:47
Re: how delete a 3D Object on the scene using SDK ? (4 replies, posted in Engine)
Hi,
using the scene :
scene->deleteObject(object);
1,148 2012-01-27 23:20:31
Re: package file request (150 replies, posted in Engine)
ok, thank you for the effort, if you prefer to not commit it, you can just send me the files and I will look at it,
i also not tested the bin mesh so much, I maybe left a bug or something...
about the hash function, i never dealed with that, what is it for ? to encrypt a pass ?
will it be compatible with potentially another pack system ?
for the where to put it, it could be a new file in MCore I guess, like MHashTools.h / cpp
1,149 2012-01-27 15:14:39
Re: Ubuntu 64bits compilation failed (7 replies, posted in Bug report)
you need to install a opengl dev package or something like that
1,150 2012-01-27 15:02:57
Re: package file request (150 replies, posted in Engine)
Hi, for the materials anims, it is MMaterialsAnim (with a 's') :
MMaterialsAnim * materialsAnim = MMaterialsAnim::getNew();
...
if(engine->getMaterialsAnimLoader()->loadData(filename, materialsAnim))
exportMaterialsAnimBin(filenameDest, materialsAnim);
If the loading of your model is 9s for both, it means it's still loading the xml, it cannot be the same time for the bin...
If it's compiling you can still commit it, I can have a look when I have time (today and this week-end is the Angoulême comics festival so I'm not sure when).
cheers,
Anaël.