mmm

if you look in abstractrendersession,
like line 562,
you see the draw is done in layerGraphics,
the moveto beginbitmapfill distorts the image according to projection.
if you do change the 3 vertexes by the coordinate on your map, but just converting the uvs to x,y on the map, and draw in a graphic of your choice instead of the layergraphic, you get the same result but into your sprite... after an enterframe, just draw into a bitmap and pass as material.

But I say mmm.. , because thinking just a bit harder about it, I just realize you would get only the front faces, not the whole object as I presume you want to. and this brings you near to something as the prebaking to get this done... you might come to it after all :)

the dot3 cached, enables you to do this in just one pass... worth a try?

I'm affraid, it's more complicated than it looks.
va falloir user des neurones la :)

Fabrice






On Jun 15, 2009, at 9:29 PM, ben wrote:


ok, I ve been playing a lot (and found good ideas for a Lsd
promotionnal website),
but I don't get what I want...
I have a misunderstandin about the end of the render pipeline for the
shader material and don't know when to place my bitmap and
drawtraingles on it according to uv...

bref, dans le noir....

Fabrice if you're still there....

Reply via email to