Paintings on objects - how?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Squarefox2
Posts: 67
Joined: Mon Feb 02, 2009 10:19 am

Paintings on objects - how?

Post by Squarefox2 »

Hello,

I want to implement a feature that you can paint walls, objects, corners etc. But I don't know what's the best way to to this.

I thought about:
- to add an extra paint-texture on the object
- to add an paint-object in front of the painted object
(but here is the problem: what is if the painted object is not flat?)
An other problem: what is if the painting covers multiple objects?

Any ideas?

Greetings,
Squarefox
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Try to sarch for decal (also foot print or tire tracks might help). This will give you some options about how to add extra objects. Adding a second texture is not so simple, because of the texture coord calculations.
Post Reply