1,301

(1 replies, posted in Bug report)

sponzaFPS use fixed pipeline, the other games are probably not working because the computer
doesn't have recent opengl drivers. Try updating 3d card drivers, microsoft is very bad for it.

1,302

(1 replies, posted in General)

Hi,

ok, thanks, I found the problem, it's a small bug in the fixedRenderer, it will be corrected in the next release,
you should not have this problem with the standardRenderer.

Bug is that the red color of the text is not reseted when the other objects are drawn.

1,303

(7 replies, posted in Showcase)

good work,
for the vegetable, if you want the light to affect both sides correctly
you are forced to duplicate the triangles and flip the normal.

1,304

(64 replies, posted in General)

Hi,
I added a minimal X11 MWindow port on SVN, tested on MacOSX as I don't have any Linux :
http://code.google.com/p/maratis/source/detail?r=57

I also applied egore911 patch for linux3, the MWindow file selector is missing but while I'm searching a solution I need someone to try compiling Maratis on Linux, all the ports are done, there is maybe some specific includes missing and some compilation tricks to do.

Bests,
Anaël.

1,305

(61 replies, posted in Editor)

Ok I understand about ctrl+S, you right, some feedback is necessary.
And for the font selection, I see the problem, the button is maybe not at the best place while the scroll is very discrete.

1,306

(61 replies, posted in Editor)

Can you precise the text thing ? When you say the name of the text, you mean the name of the text-object or the content ot the text ?

About your previous post, "Ctrl+S" is actually available, it open a dialog only the first time.
There is also something for camera view, the same as Blender (using the Numeric Pad).

1,307

(36 replies, posted in Scripting)

- createGameVariable("name", value) + set/get, for sharing simple variables

- improve "getObject" function to access other scenes :
getObject("box") will get current scene box like currently
getObject("Scene2", "box") will get Scene2 box object

- cloning

1,308

(2 replies, posted in General)

Hi, there is only one script running at a time, the only way to share lua functions
is to create a separate lua file and use "dofile("customFunctions.lua")" to link it.

But for sharing variables it's not possible without doing c++, I taught I did something but I probably forget,
lets add it to the script todo list.

If you create a dll plugin, there is 2 ways to share variables :

- create a custom behavior with some variables, you can then get/set these variables from script using :
getBehaviorVariable(object, behaviorId, « variableName »)
setBehaviorVariable(object, behaviorId, « variableName », value)

- create custom script functions using MScriptContext :
http://www.maratis3d.org/engine_docs/cl … ntext.html

Thanks

Nice !
Congrats Vegas, very good example.

1,310

(64 replies, posted in General)

Hi, very good,
thank you, I'll try the patch soon.

About 3) some problem probably happen on SVN, the file is supposed to be named "MRenderingContext", I'll correct the case.

Bests,

1,311

(2 replies, posted in General)

Hi, when you are in blender there is a "two sided" option checked by default (Blender always enable two sided by default).
It's in the "object data" blender tab, disable it to have back-face culling.

You can also edit it manually in the mesh file (xml text) with a text editor, in the "display" node, set cullFace="2"

Or in c++ :
MDisplay * display = subMesh->getDisplay(0);
display->setCullMode(M_CULL_BACK); // or M_CULL_FRONT

1,312

(61 replies, posted in Editor)

you welcome,
try ogg in priority (it's some time even better than mp3).
Full name is "Ogg Vorbis"

1,313

(61 replies, posted in Editor)

Hi,
I didn't add-it in the window menu, but Maratis can also read aif (compressed or not) and ogg (similar to mp3).
Reading mp3 is not an option as it is not a royalty free codec.

To be more precise, on pc and mac (not on iOS) Maratis uses libsndfile, so you can read all this formats :
http://www.mega-nerd.com/libsndfile/

1,314

(36 replies, posted in Scripting)

I'll start with a few missing functions :

Current todo list :
- is mouse on top of objects
- ray-tracing test (for fps, etc)
- bones access : getBone, rotate, translate...
- get current window size

Under reflexion :
- save Level (xml or bin) ?
- translating the cpp GUI-Demo in lua ?

1,315

(1 replies, posted in Scripting)

Hi,

I'm sorry but there is not yet the function in lua,
it's available in the engine here (c++) : http://www.maratis3d.org/engine_docs/_m … ls_8h.html
A function called "isRaytraced"

It's easy to add in lua but it's still on the TODO list,
please all fell free to give suggestions on script functions you are missing here :
http://forum.maratis3d.org/viewtopic.php?pid=577#p577

1,316

(36 replies, posted in Scripting)

Please add here any suggestion about lua functions you are missing.

I'm also using this thread to tell you that you can add custom script functions using c++ plugin (using the MScriptContext class)
http://www.maratis3d.org/engine_docs/cl … ntext.html (it's a basic lua wrapper)

If you used it and would like to share your additional functions to be added to the next Maratis release, please tell us smile

1,317

(49 replies, posted in General)

ok, I taught it was fixed renderer.
With a standard material, you can do :
emit = 1.0
diffuse = white (1, 1, 1) WARNING : don't forget the intensity factor set to 1.0
specular intensity = 0

This globally works,
but if you want something perfect, the best it to do a custom glsl shader.

1,318

(49 replies, posted in General)

you see the "Emit" value in "Shading" (in your right screenshot) is "0.0", set it to "1.0".

The "Influence" settings are not used in Maratis, exept the "Blend" :
http://www.maratis3d.com/wp-content/uploads/2011/01/11.jpg

1,319

(49 replies, posted in General)

this doesn't work ?
fov = getCameraFov(Camera0)
setCameraFov(Camera0, fov+1)

- Using the standard renderer, you can set the emit color to white for an object not affected by light.

- For the joystick, maybe you didn't calibrated it precisely (windows config pannel) ?

Or you can try to change this part in the script :

if dx > -0.2 and dx < 0.2 then dx = 0 end
if dy > -0.2 and dy < 0.2 then dy = 0 end
if dz > -0.2 and dz < 0.2 then dz = 0 end
if dw > -0.2 and dw < 0.2 then dw = 0 end

try using a  number bigger than 0.2 maybe.

1,320

(3 replies, posted in General)

Hi, welcome,

the minimum system is having a 3d card with at least opengl 2.0 drivers (it can run with lower opengl in multi-texture mode but a lot of functionalities will be disabled). The engine can also run on iPhone iPad.

On windows you need a Microsoft compiler for compiling the dll plugins for the actual Maratis binary (the free visual studio express normally works for that).

If you want to use a gcc compiler on windows, you need to recompile Maratis editor with it first, because dll compiled with gcc are not compatible with applications compiled with windows compiler.

Maratis loads textures according to the mesh files, you can change the texture inside blender, or by editing the mesh file by hand (xml text). It is also possible to change texture references in code using a dll plugin. But for now there is no buttons to do it inside the editor.

Bests,
Anaël.

1,321

(8 replies, posted in Scripting)

The article you linked is showing how to do normal mapping (bump), but not parallax,
parallax is a additional pass that uses a displace map to offset the texture, it can be done in different ways,
you can add the displace map as a alpha component in the normal map texture, or use a separate texture.

This example uses glsl, the shader can probably be adapted :
http://www.dhpoware.com/demos/glslParal … pping.html

1,322

(8 replies, posted in Scripting)

Hi,
I don't know exactly how parallax works, but it should work on Maratis as you can apply custom glsl shaders,
do you have a link to the free shader you speak about ?

1,323

(64 replies, posted in General)

Thank you : )
We'll keep in touch

1,324

(2 replies, posted in General)

Hi, thank you for posting,
to respond to your questions :

1 : Yes you can make commercial games
2 : It's not necessary to include the source code with the game (Maratis engine is Zlib/libpng)
3 : There is actually no web player of Maratis

If you want to see the detail of the open-source licenses used it's here :
http://www.maratis3d.org/?page_id=64

1,325

(64 replies, posted in General)

Hi fafner, thank you for proposing smile
teZeriusz is actually doing some work on it,
I'll contact you when something can be tested, we'll keep some news about Linux on this thread.