576

(2 replies, posted in Gossip)

Hi,
you can use the 32bit version, it will work transparently.

577

(1 replies, posted in Bug report)

Hi,
thanks for reporting,

it is likely that this driver doesn't support depth textures,
you should report to the mesa team that the "GL_DEPTH_COMPONENT" doesn't seem to work properly with your configuration.

I'm also using a mesa driver on linux, but with a nvidia card, and the shadows are working properly.

578

(1 replies, posted in General)

In blender, select the "custom shader" mode in the material properties
and select your vertex shader and your fragment shader :

http://www.maratis3d.com/wp-content/uploads/2011/01/05.jpg

full doc : http://www.maratis3d.org/?p=277

579

(15 replies, posted in Engine)

Hi, thanks !
I will merge your patch to the trunk when I find some time,
nice work !

580

(7 replies, posted in Scripting)

you can use : getTransformedPosition and getTransformedRotation
they return the world coordinates according to the matrix of the object

full list here : http://wiki.maratis3d.org/index.php?tit … tions_list

one thing to keep in mind, matrices are only updated frame by frame, or you need to call "updateMatrix" to force it
(in case you move an object and wants to get it's global position immediately after).

Hi, it looks nice already, I'm amazed that you discovered Maratis only one day ago !

The emit map can be used to add light, for emit effects (lamp flickering) or to apply a baked lightmap,
it needs to be an rgb image, if you used a greyscale image it can explain why your mesh disappeared.
The texture is also affected by the "emit" value in the material properties.

You can also write your own shaders in glsl, here is an example : http://www.maratis3d.org/?p=548

582

(13 replies, posted in Engine)

Hi,
thanks for the feedback.

You said you are working on openSUSE, just to know, is the build from Maratis website working by default ?
or did you have to compile maratis yourself for this distribution ?

Hope to hear more about your project smile
Anaël.

583

(4 replies, posted in Editor)

Hi,
yes indeed the script is the same,
so the problem is probably from the level itself,
check that the rotations coordinates are the same than in sponza :

- Player : 0 0 -90
- Head : 0 0 0

Head parent is Player
Camera parent is Head

Also check that the scale of Player and Head are uniform (meaning the same scale for x, y and z)
a non-uniform scale on a 3d object can deform it's children's coordinates.

584

(4 replies, posted in Editor)

Hi,
is it also doing that on Sponza example ?
the best is if you can show us your script

Hi, thanks for reporting,
it's corrected, please update svn code.

586

(2 replies, posted in General)

The 2 first lines seems correct, maybe the problem is after.
Are you sure that are the good names ? Do you have a scene named "GUI" that contains an object named "Mouse" ?

587

(11 replies, posted in Gossip)

Hi smile

welcome to maratis forum,
tell us how it goes for you, feel free to ask questions and look at the multiple examples from the website.

Anaël.

588

(4 replies, posted in Editor)

Thanks, very good,
lets keep in touch by mail.

589

(4 replies, posted in Editor)

Hi, welcome,
yes it would be nice to have a new contributor in the team,
are you only interested in the editor or the engine in general ?

There is some parts where help is specially needed, in priority but not necessary inter-dependent :

- the wiki documentation (script sdk, c++ sdk, examples...)
- a linux maintainer that would be in charge of testing and compiling the releases (special problem with libsndfile)
- testing Maratis on different platform / configs (specially OpenGL on windows > doing a survey)
- improving lua functionalities :
   - getSceneObjects
   - isSoundOver
   - pauseGame ...
- improving the editor :
   - add an option to show the object list in hierarchy
   - add an option for a magnetic grid when moving objects
   - add a color picker for light and text color (I already have some code that I can give you)
   - additional behaviors (lookat offset, simple player controller...)
- removing the dependency on libsndfile for a native use of libogg and libflac : http://www.xiph.org/
- removing the dependency on DevIL for FreeImage : http://freeimage.sourceforge.net/
- testing the engine on Android

590

(2 replies, posted in Bug report)

Hi,
it seems to be a known bug with recent version of visual studio, after they move some std functions somewhere else,
I added : #include <functional> to Vertex.h

try to update svn and compile again.

if you see the same error again, add "#include <functional>" to the code file

hum... I think I will drop libsndfile...

592

(1 replies, posted in Scripting)

hi, actually there is not a function for that,
it is very feasible so yes you can add that to the feature request.

593

(3 replies, posted in Scripting)

Hi,

you can create a scene for the GUI of your game, with a camera in "ortho" mode (2d),
in this scene place your items and a text object for your subtitles.

You can enable a scene layer in script using enableCameraLayer

and you can change the text content using setText

thank you Lamberto, I will update this on the download page,
please add your name to the exporter on top of the script

ok, I'll see what I can do.
thank you.

so the pre-built libsndfile.so is not good, and it doesn't link properly,
do you have an idea how we could fix that ?

ok so it's not a 32/64 issue,
from the error the problem must be with libsndfile, I don't don't have a linux to test here unfortunately.

Just to be sure, you have openAL installed on your linux ?

is it happening with your own build ? can you check with the current Maratis build ?
if you are compiling in 64bit linux, there is maybe an issue with "libsndfile" the library that manage sound files in Maratis, the lib is probably prebuilt in 32 bits.

it seems that the link to the mesh files is broken when the tmp level is saved, can you send me what the saved empty level looks like ? (it's xml text). Is it doing the same thing when you try a example from Maratis website : http://www.maratis3d.org/?page_id=53

Hi,
can you give the detail of the sound ? format ? 8bit / 16 bits etc ?
Maratis only supports 16bits mono and stereo.

But the error indicates it even cannot read the file at all, before testing the format.

Can you also try with another sound file ? a regular mono or stereo 16 bit 44k.
Thanks,