|
MikeMax
|
Hello, Maybe i've not checked the good option but i can't achieve to export a model into a sprite sheet correctly (grid, or row or whatever) without having a sprite perfectly centered with the same offset at each frame. So the uniform sizing may size the frame but doesn't correct the sprite IN the frame. If i simply run and display frame after frame i can't see a smooth animation because my character is "jumping" lol look at the last frames on this row sheet of a running animation. We can see the head of the dwarf it's not at the correct height (due to axe presence which change the frame height ... although i've chosen "uniform sizing" option ...) : http://box.ht/frame0.pngYou see ? So .. is it possible to have a "Uniform POSITIONING" option now ?  due to this problem i can't continue to code my game  Thanks a lot ! Fragmotion is really a great software 
|
|
|
|
|
Logged
|
|
|
|
|
fragmo
|
Coincidentally I just discovered this problem today too. If you export using the grid format there is an xml file produced that will allow you to overcome this until I fix the problem. There is a point named default_origin added to each frame that can be used for alignment. The only catch here is that the format of the xml will change with the next version since I also discovered that the image info is missing from non-grid formatted sprites.
|
|
|
|
|
Logged
|
|
|
|
|
MikeMax
|
Ok  , and is there a way to get the background of each sprite completely transparent (and the shadow semi transparent at the transparency level specified .. with PNG export obviously:) ?
|
|
|
|
« Last Edit: February 13, 2012, 01:14:01 PM by MikeMax »
|
Logged
|
|
|
|
|
fragmo
|
Unless you check the Remove Alpha option, they are always exported with transparency if supported by the image format.
|
|
|
|
|
Logged
|
|
|
|
|
MikeMax
|
i don't have checked the "remove alpha++" option. Re-Check this image (directly exported from fragmotion sprite creation tool : http://box.ht/frame0.pngopen it with photoshop or Paint.NET ... The background behind the sprite is white and around this background it's transparent... but, in fact, i don't know how to remove background color setting ... there is no "transparent color" in the color panel  maybe i missed another option to disable this "background color" attribute ?
|
|
|
|
|
Logged
|
|
|
|
|
MikeMax
|
oups !!! .. i've just test it on another computer and the background is full transparent ... Maybe i've forgot to click the "reset" button near the background color but i don't think ... Sorry ..  i will check that at home soon  i will do a feedback  i can't wait to test the sprite tool when it will be fixed (sprite position/offset height/width problem) 
|
|
|
|
|
Logged
|
|
|
|
|
MikeMax
|
Ok ... i definitely have a problem on my home computer : - Core i7 + 8GB RAM - Nvidia GTX460M 1.5GB VRAM - Win7 Home Premium 64 Bits With renderogl.dll : with or without the remove alpha++ >>> white square around the sprite (as my frame0 from the web link) with renderd3d9.dll : same thing as the renderogl.dll except without removing alpha++, the sprite itself is transparent but i have always my white square around my transarent sprite lol (i saw an issue in a old post on the forum  so ... can it be a dll issue ? how works your "make transparency" function ?
|
|
|
|
|
Logged
|
|
|
|
|
fragmo
|
I think this issue is related to the video card not liking how I grab the rendered image. There's probably nothing I can do to fix this short of making a software 3d renderer, which isn't going to happen. My best suggestion would be to load your image back into fragmotion as a texture, right click the texture and select Set Alpha. You'll be able to select a color to make transparent and hopefully that color doesn't show up in the actual sprite image or you'll need to redo the sprite with a unique background color.
|
|
|
|
|
Logged
|
|
|
|
|
MikeMax
|
ok  for the background it's not a big problem. But the sprite offset is THE problem  any idea when the fix will be released in a new version ?
|
|
|
|
|
Logged
|
|
|
|
|
fragmo
|
I can't give a good estimate, it could take a couple months.
|
|
|
|
|
Logged
|
|
|
|
|
MikeMax
|
couple of months ? .. bad news  i will have to search another way to generate my sprites  But thanks for all you have ever done 
|
|
|
|
|
Logged
|
|
|
|
|