Page 1 of 1

2D Overlay for Game Engine

Posted: Mon Sep 17, 2007 1:00 am
by zaghaghi
HI,

I want to do something for blender game engine, I'm Master Student in Algorithms and Computation, and my thesis is about games.

I want to use blender game engine for my game that is an MMO strategic game, with an runtime verification over game logic embedded in game engine.

till now i spend 2 days looking blender source code revision 12034, now i have few knowledge on structure of Ketsji Game Engine.

i have 2 ideas in game engine:
  1. adding 2d overlays, such as edge detection, motion blur, ....
  2. adding 2d objects, like 2d text, 2d gui objects, 2d movable window, ...
can any body help me to find a better documentation over game engine? or any person that have good knowledge of Ketsji game engine embeded in blender?

this is my understanding of game engine code.

First of All

Posted: Thu Sep 20, 2007 12:28 pm
by zaghaghi
After looking in all game engine codes, I think that it's good that I insert methods to "Rasterizer" python module, so i do that and insert 2 methods, named set2DFilter, and get2DFiletr().

game programmer can change the default 2DFilter in any python codes linked to a controller, and in game engine code, after rendering 3d context, filter 2d viewport depend of what filter selected.

sample of python code that user can use:

Code: Select all

import Rasterizer

Rasterizer.set2DFilter(BLUR_FILTER)
or

Code: Select all

import Rasterizer

Rasterizer.set2DFilter(NONE_FILTER)

Posted: Fri Sep 21, 2007 10:22 am
by LetterRip
Unfortunately there aren't many developers familiar with the GE code. Erwin who does the Bullet physics engine work is extremely busy currently so I don't think it likely he could offer assistance.

You can ask Malcando at blenderartists.org and he might be able to point you in the correct direction.

LetterRip

Posted: Fri Sep 21, 2007 1:35 pm
by zaghaghi
LetterRip wrote:Unfortunately there aren't many developers familiar with the GE code. Erwin who does the Bullet physics engine work is extremely busy currently so I don't think it likely he could offer assistance.
thanks, i understood some of codes, and think i can go forward.
LetterRip wrote: You can ask Malcando at blenderartists.org and he might be able to point you in the correct direction.
thanks and thanks.