Hi all,
I was puttering about the example demo, and I came to wonder if there might be a way to:
Render an image.
Create a mask for that image, using GIMP(like a hotspot map), for example in 1-bit(black and white) and not including any of the actual color of the image, and export to PNG format. You'd then have a simple, two-color, low-filesize image.
That's all simple to do. But what if you used that in pipmak, something like this:(code not exact)
slide "image.jpeg"
hotspotmap "hotspots.png"
local anipos = 0
patch { "../shared/animation/ani_0.jpeg" }
patch { "animask.png" } --this is that mask
--Here we have a standard animation routine, blah blah
The idea is that one could play an animation shared by several nodes, and with visibilty controlled by the mask- e.g. for example, the scene is along a desert, with a building, and you have one animation of birds moving about. The mask would be used to make it seem as thorough the birds are moving behind the building.
This could also be done by altering the render to make some areas transparent, and layering that over the animation, but this would be very heavy on the disk space.
Any thoughts?
Thanks,
James
|
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Pipmak-Users mailing list
Pipmak-Users@...
news://news.gmane.org/gmane.games.devel.pipmak.user
https://lists.sourceforge.net/lists/listinfo/pipmak-users