Updates:

version 2.2 to Blender 2.6 svn
version 2.0 to Blender 2.5 svn
version 1.2 to Blender 2.49 svn

Português

Para quem acompanha este blog não é novidade que venho estudando e pesquisando soluções para integrar domos imersivos com o Blender.

Minha atual principal motivação agora é a construção de um domo imersivo com um espelho esférico para a minha universidade (UFF). Quero fazer isto até sexta-feira (quando apresento meu trabalho de graduação). Depois eu digo se deu certo 🙂

Uma das etapas mais enigmáticas e importantes para se utilizar um espelho esférico com um domo é a produção de uma malha de deformação para compensar o efeito produzido pelo espelho.

English

I’m studying/working/getting tired of immersive domes. and all sort of related issues My current goal and motivation is to build an immersive dome for my university (Universidade Federal Fluminense – Niterói).

My deadline is this Friday (4 days from now). That’s when I’m going to present my graduation project (Immersive domes for architecture) and I’m really excited about showcasing it in a real dome.

So on, one of the key elements while using spherical mirrors for immersive domes is the warping mesh. This mesh is used to reverse the mirror deformation in the projected image.

test image

Português

Isto não é das tarefas mais fáceis, mas uma solução simples é utilizar o programa meshmapper desenvolvido por Paul Bourke.

Como este programa só roda no Mac, eu resolvi desenvolver uma solução equivalente que fosse multiplataforma e que me permitisse total autonomia no modelo do domo.

Eu tive que encontrar meus livros de física da época do vestibular, recorrer à internet e consultar uns amigos mais sabidos. Finalmente, para minha alegria e alívio ficou pronto o Warp Mesh Generator v1.1 (blend file)

Este é um script que roda dentro do Blender e que ao mesmo tempo que cria o arquivo para ser usado na Blender Game Engine, ele também desenha os raios de luz conforme o cálculo realizado.

English

Believe me, this is not a piece of cake. The easiest solution is to use the software meshmapper (developed by Paul Bourke). However this software (although is cheap and worthy) runs only in OSX.

Hopefully I like challenges, and I decided to write my own warp mesh generator. (I had no idea how hard that would be before starting it 🙂 )

After a hardcore math week, I came out with Warp Mesh Generator v1.1 (blend file)

This is a blendfile with a README, the script and a sample dome scene. This scene is there to help you visualizing the casted rays.

My next goal is to alter this script to produces meshes to be used with Cylindrical surfaces.

Portuguese

O mais legal deste projeto, é que eu pude usar o Blender de diversas maneiras. Como ferramente de desenvolvimento (com o python), como ferramenta de visualização (desenhando na tela 3D os resultados que eram ruins de conferir pelos resultados numéricos) e como ferramenta final (com a BGE).

O Blender é ou não é uma ferramenta completa? 🙂

Grandes abraços,

Inglês

The coolest thing about this project is how I’m using Blender for different steps of its development. It helps me developing (the dome code in C++, this script in python), visualizing it (what you see in the above image are the light rays as calculated from the script) and to check the result (as in the first image running a generated file in BGE before and after code adjusts).

There is no doubt Blender is the best software in the world =D

Dalai – estudante de arquitetura e urbanismo por mais 4 dias :p

7 Thoughts on “Warp Mesh Generator 1.1 para Blender Game Engine – Dome

  1. I’m finishing the last adjustments, and I’m about to release a new version real soon.

    Now it looks like it’s working 100% 🙂

  2. Christoph on January 31, 2010 at 11:37 am said:

    Thanks a lot for your brilliant work! The immersive dome integration into blender is immensely useful. The download link for the warp mesh generator doesn’t work – is there any alternative download location?
    Thanks again!

  3. Hi Christoph, thanks for the kind words.

    I’m going to port it over to Blender 2.5 soon. In the mean time you need a recent 2.49 compiled Blender (more recent than 2.49b).

    You can get the most recent working file here:
    http://blenderecia.orgfree.com/blender/dome/warp_mesh.blend

    I use this file to chose the projector, and calculate the covered field for different systems. For the final warping file I use another file that runs in the BGE to dynamically changes the parameters while it uses it to warp a mesh. This other file is not available yet though (there are some changes I still need to do).

    What would you be using this for?

  4. Philipp Neldel on July 14, 2010 at 9:31 am said:

    I was trying to download the 2.5 .blend file, but all I get is a .man file. Anything I do wrong?

    Very inspiring work, BTW.
    Wanted to potentially use it for a project I am thinking of, for my son’s school.

    Thanks,
    Philipp

  5. Hi Philipp,
    it seems that something is wrong with the server here, but the file is still good. Rename the outputted file to .blend and open it in Blender 2.5. It should work without problems.

    I’ll see if I can update the file to work with Blender 2.53 (beta) any soon.

    Sorry for the delay, but I went out on vacations right when you wrote 🙂
    So, do you mind talking more about your son’s school project? It got me curious.

    Cheers,
    Dalai

  6. Christoph on December 1, 2011 at 10:00 am said:

    Hi there,

    thanks again for your work. I’ve updated your scripts to work with Blender 2.60 that has seen quite a bit of very silent Python API changes. You can get the files from here:

    https://www.dropbox.com/s/e0vqoe0a9v87bq0

    Best,
    Christoph

    will cross-post to blenderartists.org:
    http://blenderartists.org/forum/showthread.php?163341-Warp-Mesh-Generator-2.0-for-BGE-Dome-mode-(updated-to-Blender-2.5)

  7. Thanks Christoph,

    I took your contributions in, and added a new option to allow for automatic update of drawing while tweaking the interface.

    The updated file is here:
    http://blenderecia.orgfree.com/blender/dome/warp_mesh_2.6.blend

Leave a Reply to Christoph Cancel reply

Your email address will not be published. Required fields are marked *

Post Navigation