1

(47 replies, posted in Engine)

dybbuk wrote:

After adding those bits, the .font loader is indeed working.

This bit of code in my Text.lua now displays the accelerometer data.

mx = getAxis("ACCEL_X")
my = getAxis("ACCEL_Y")
mz = getAxis("ACCEL_Z")

    text = "x = " .. string.format("%.3f", mx) .. "\ny = " .. string.format("%.3f", my) .. "\nz = " ..  string.format("%.3f", mz)

    setText(Text0, text)

Guys, I want to emphasize that YAW, PITCH and ROLL are orientation-independent, so they won't change with device rotation. YAW will always be around {0, 1, 0} of the device and so on for the other axis.

2

(3 replies, posted in Engine)

anael wrote:

There is a plan to add directional light, but it's not yet implemented in the renderer,
(mainly because of the shadow system, still not sure of the technique to use, perspective shadow buffer or other).

I don't have plans for ambient light, I usually prefer using the material emit, or an emit texture.
But an "ambient" variable can be added very easily in the light property, it will just need some homework first
to know how to do a consistent result between fixed pipeline and shading pipeline.

An ambient light factor (vec3) on the scene properties could work well right? Then use that factor for light calculations in both fixed and shader pipelines.

3

(3 replies, posted in Engine)

I see that right now we have spot lights and point lights. Is there any plan to add directional lights and ambient lights?

Thanks,
- Ricardo

4

(21 replies, posted in External Tools)

skumancer wrote:

I tried to export a simple mesh I have from blenger 2.57 using the new plugin, but came up empty. All I get in maratis is a few triangles from the mesh, but nothing else.

The exported data seems correct (from a size and number of materials perspective).

I got it working. Apparently my mesh was wrong. I exported form XSI to collada, then imported the collada file into blender and then exported to maratis and it works!!

Now, does anybody have experience with shaders? I can't get the demo cartoon shader to work on my model.

Thanks!

5

(21 replies, posted in External Tools)

I tried to export a simple mesh I have from blenger 2.57 using the new plugin, but came up empty. All I get in maratis is a few triangles from the mesh, but nothing else.

The exported data seems correct (from a size and number of materials perspective).

6

(47 replies, posted in Engine)

Anaël,

I wouldn't mind having an SVN account and contributing regularly.

I'm planning on making some improvements (of course adding touch controls), and I'm pretty sure you would like those. I could also add motion (accelerometer/gyroscope) input.

I also want to create an exporter for Maya or XSI SoftImage to make it easier for our project and help out other people that need it.

Let me know what you think.

Thanks,
- Ricardo

7

(47 replies, posted in Engine)

Anael,

First of all, great work, I feel this has the potential to evolve into something very special and unique. I like the flexibility you've built into it and how easy to understand the code is.

I was playing around with the iOS version yesterday and I made some improvements (mainly making it universal for iPhone/iPad/iPod) and a few other tweaks. I was wondering how I could contribute back to source so everyone can enjoy this.

I was planning on working on input this weekend. If this is something that would also help you, please let me know.

Thanks,
- Ricardo