2.40 Game engine build(docs added).

Hey all,
This build is a combination of Lagan’s patch, and my own work.
TODO: add Dreamkatana’s work to this build.

Blender & Player::

  • Armatures are back

  • Split screen

  • Double sided lightning

  • Ambient lighting

  • Alpha test

  • Material IPO support (one per object atm)

  • Blender materials
    [list:a0c50ffa51]

  • GLSL shaders - Python access
    [list:a0c50ffa51]

  • Up to three texture samplers from the material panel ( 2D & Cube map )
    
  • Envmap::Load =(OpenGL Cubemap )

  • Multi-texture - three units. blend(Mix, Add, Subtract,Multiply, Screen)

  • Neg: Invert mixing.
    
  • If blend mode is Mix, use the color slider to adjust amount
    
  • Lighting

  • Ambient extended to -> material slider
    
  • Emission -> material slider    
    
  • Python access to a second set of uv coordinates
    [/list:u:a0c50ffa51]
    [/list:u:a0c50ffa51]
    Some really good GLSL tutorials can be found here.
    If your on a non windows platform, testing/building the patch would be great :slight_smile:
    build(windows only)
    patch

Update
Docs

Some documentation on the changes made to the gameeninge materials.
There is a tutorial for setting up a toon shader using the Blendo model. As well as a script
to use Toon shading in your own project.

enjoy,
snailrose…

I downloaded it but dont know how to use it will you please help.

hi all,

i have downloaded your new build & the samples are g8 to watch & before i use this features in my ongoing work i need to test but when i save runtime of the demos bundled i can’t see any textures in my executable? if it can save runtime without those nice effects then it’ll be a big problem. am i doing anything wrong please clarify me if i am wrong.

but i appreciate the workdone by u guys it’s really g8 keep going.

thks,
casanova

Nevermind i downloaded the wrong one.

hey,

casanova:
it needs the command line switch
-g blender_material = 1
the player needs that switch as well.

scabootssca:
haha, I caught the post before the edit :wink:

Is this game engine as ‘complete’ as that found in Blender 2.36? I ask because I have a game, using the Viewer camera and movement scripts from the walkthrough demo .blend - and when I load my game blend in the newest release the mouse movements do not work. Is there a way to update these python scripts etc so that it will work with the new Blender or do I need to keep on waiting?

I am anxious to use the newest version, but if the game engine is still crippled, I am still stuck with 2.36 :confused:

Thanks!!

hi snailrose,

i tried that & it works fine but how can i create the runtime executable with this? i also tried to hit file->pack data still no effect so how can i resolve this issue?

thks in advance,
casanova

Hey that’s just great!

My favourite demos are dynamic light and flair.

I don’t know if this is intentional but the shader_armature_demo looks like it has a weird clipping artefact? Half of the aliens head is a throbbing blackness… (on my Nvidia 6600)

Any plans for dynamic shadows?

:o Woah that’s what you’ve been busy doing.

Wow some very nice demos included. :-? I need a new video card, lol, GSL shaders aren’t supported.

Woot, go Snailrose, hehe.

Jason Lin

Sounds fantastic!!!
Linux version pleeeeeeeeeeeeeeeeeeeeeeeeease!!!
Someone??
Thanks in advance
Bye

invid
I would say that its becoming more complete, slowly the 225 game demos
are working again. I’ve run into some problems with the scripts in walkthrough demo, and this might be the
same. Can you check to see if the Ipo on the ‘viewer’ object is being deleted? or can you send me a .blend
with this happening?

casanova
> how can i create the runtime executable with this?
File->Save Runtime
your_runtime.exe -g blender_material = 1
It should work ok then.

fobsta
that might be a bug. does the shader_demo one work? Try changing the property
sensor on the ‘Seb’ object to an always sensor. If it looks like the pic here
it means that not all the materials on the object are being set to use the shader.
> Any plans for dynamic shadows?
maybe with depth textures and GLSL, its something worth looking into anyway.

goldentaiji
thanks, how is the BCGP coming along? is a release soon?

snailrose

so they dont all work… i have a radeon 9200

you have enough for all of the material settings to work :slight_smile:
just not the shaders :frowning:

snailrose

Excellent work as always, snailrose!

If you post the build to here…

http://www.blender.org/forum/viewforum.php?f=18

…you’ll be able to get some people to build and test it on the different platforms also.

Regards…
Mal

I’m downloading now. Can’t wait to use it. Its like 2.37b, right? Dreamkatana’s stuff that youre adding is the other actuators (movie, scene append)? Keep up with the great work…this is a great improvments of the game engine like the other parts got.

It looks like it is deleting the Viewer’s IPO. Is there anything I can do to avoid this? It happens when I use ‘ESC’ to quit the game engine within the Blender environment. I guess I could probably manually launch the .blend in the Blenderplayer and that may work. If you want a Blend I have a stripped down version here:

http://invid.funxion.net/MenuTest.zip

fobsta
that might be a bug. does the shader_demo one work? Try changing the property
sensor on the ‘Seb’ object to an always sensor. If it looks like the pic here
it means that not all the materials on the object are being set to use the shader.
> Any plans for dynamic shadows?
maybe with depth textures and GLSL, its something worth looking into anyway.

both the scenes are broken even if I change the sensor to always

it looks exactly like the picture you have posted

mail me if I can help debug this issue further

cheers

:o awesome!!!

oh man, im gunna have too much fun tonight playing with all of this! :smiley:

amazing work snailrose, and everyone else who was involved with this! …great stuff, great stuff.

The shader examples didnt work on my machine though…Everything went black once the shader loaded…probably just my crappy-ass graphics card. %|

any test files to try the glsl ? I have an osx build to see if anything works

ZOMBBQG!!! Amazing stuff… I’m going to start remembering how the hell to make stuff… sooo awesome.

One question… on the Shader blend files, it looks good, but it’s almsot like the clipping is off but not, certain parts of model disapear as if the camera isnt’ rendering parts of each face…

http://www.free-webspace.biz/pooba/gltich.JPG (copy and paste)

Pooba

PS i have a geforce 6800gt