Paint/draw on a model

Hi there,

I would appreciate if someone could point me in the right direction with a problem I’m having.

I want to paint/draw over an imported model (an .x file). Now, I can probably normally draw on a renderer and send that as a texture. But that’s not what I want. I want to be able to directly draw on the polygons :)

Thanks in advance,
Sulas

do you have a 3D-mouse?

i was kidding.

should be possible.
some very good patches to start can be found here.

you will need to make the “Enable Texture Coordinates”-pin of VertexBuffer (EX9.Geometry Split) visible and map those values from Texture Space to Renderer Space to draw a 2d Texture in a second Renderer.

Wow!

didn’t think it was that easy…

a very first approach is attached

Wow!

didn’t think it was that easy…

a very first approach is attached

Paint (EX9.Geometry Mesh).v4p (285.6 kB)

hach kalle, you had my hopes up there for a second that you had patched a way to draw into the model’s texture using the uv-coordinates grabbed from the vertices … another day, i guess.

(also, you are being way too meta with IOBox (Color) ! don’t let the colors get to your head ;P)

love the use of IOBox(Color) in this patch kalle!!!++++++ inspiring.

:)… no text …