[BETA] Danimator - Beta2 is L I V E (p. 4)

Any utility that assists in the creation of mods, assets, etc, go here.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby phantombeta » Fri Sep 04, 2015 8:32 pm

Seidolon wrote:Could you give me some pointers possibly?

Code: Select allExpand view
int *x, *y, *z;

Sorry, I had to. xD
But seriously, I recommend using C# too... Much easier than C++ and comes with a fuckton of built-in image related types and methods...
User avatar
phantombeta
In the meadow of sinful thoughts, every flower's a perfect one
 
Joined: 02 May 2013
Location: The United Soviet Socialist Dictatorship of Hueland
Discord: phantombeta#2461
Twitch ID: phantombeta_
Github ID: Doom2fan
Operating System: Windows 10/8.1/8 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby Jeimuzu73 » Sat Sep 05, 2015 6:52 pm

Call me an id, but I've downloaded the MSVCP120.dll and installed the Visual C++ redistributal package yet the programs still asks for 'MSVCR120.dll' or something.
User avatar
Jeimuzu73
Name's Odd. James Odd.
 
Joined: 03 Jul 2011
Location: Dropping today in Station Square.

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby Theshooter7 » Sat Sep 05, 2015 11:10 pm

MJ79 wrote:Call me an id, but I've downloaded the MSVCP120.dll and installed the Visual C++ redistributal package yet the programs still asks for 'MSVCR120.dll' or something.

You shouldn't place any extra DLLs into your folders. Beta 1b fixes the wrong DLL usage so the redistributable packages should do the trick. If all else fails, try uninstalling the packages and then reinstalling the x86 one.

Seidolon wrote:This looks really useful. I'm looking to make a program with C++ that allows you to easily create in-game HudMessage based menus, but I've lost focus on that because I am having trouble with simple things like loading images. Could you give me some pointers possibly?

Most of what others have said so far is reasonably spot on, but it depends on platform, language, and what sort of API you want to work with--in this particular case on Windows with C++, you generally have either Windows GDI, OpenGL, or DirectX.
  • Windows GDI: Can't help you there, though it would mostly involve loading the raw image data in as bitmaps and then drawing it. wxWidgets has a decent abstraction layer for GDI contexts.
  • OpenGL: There are countless imaging libraries out there that can work with this. I used SFML to handle the images as it also provides an OpenGL Texture abstraction to load them into GPU memory for you.
  • DirectX: Use D3DX9/10/11 headers and go from there, it provides pretty much all the image loading functionality you'll need. Alternatively, for older compatibility, earlier versions of DirectX may be used.
Honestly, loading the images is the easiest part; managing them properly, providing fail-safe defaults, and handling other nuances of that sort of thing is more complicated. With Danimator, I utilized an old Texture Manager that I had written for a (scrapped) game. If you want to implement something like that (elegantly and properly), you should probably read up on/be familiar with the following:
User avatar
Theshooter7
Don't talk about Fight Club
 
Joined: 05 Mar 2006

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby Oberron » Sun Sep 06, 2015 12:01 pm

When I saw that title, I thought of a yoghurt of the same starting letter.
User avatar
Oberron
After hours.
 
Joined: 02 Aug 2015
Location: Neptunia (Czech Republic)
Discord: BlaringCoder395#1725
Twitch ID: Adam_Deme

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby Zhs2 » Sun Sep 06, 2015 12:56 pm

So... TEXTURES support?
User avatar
Zhs2
Power of meh.
 
Joined: 07 Nov 2008
Location: Maryland, USA, but probably also in someone's mod somewhere
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby Theshooter7 » Sun Sep 06, 2015 1:27 pm

Zhs2 wrote:So... TEXTURES support?

Someday.
User avatar
Theshooter7
Don't talk about Fight Club
 
Joined: 05 Mar 2006

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby CRxTRDUDE » Sat Sep 12, 2015 6:46 am

Duuude, your program greatly improved my workflow for the in game animations.

I hope that in the coming days you're working with this.

This actually reminded me of Fighter Factory for MUGEN where there is a WYSIWYG editor for animation.
CRxTRDUDE
 
Joined: 18 Nov 2011
Location: Form nowhere with blob

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby Henix_Aurorus » Mon Sep 28, 2015 9:42 am

I need to fiddle with this thing a bit, as trying to use it with an existing weapon seems to act really weirdly. Fortunately, I'm in the process of making a new one, so I can use that to experiment. The tool works really well, I just need to refine my technique with it.

Definitely looking forward to whatever you do with this in the future.
User avatar
Henix_Aurorus
Destroyer of Worlds. I guess.
 
Joined: 27 Aug 2013
Location: The Endless Void
Discord: #6038

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby Theshooter7 » Mon Sep 28, 2015 4:14 pm

I'm not gone, just having a busy life sadly. But this project is still alive!
Henix_Aurorus wrote:I need to fiddle with this thing a bit, as trying to use it with an existing weapon seems to act really weirdly. Fortunately, I'm in the process of making a new one, so I can use that to experiment. The tool works really well, I just need to refine my technique with it.

Definitely looking forward to whatever you do with this in the future.

Would you mind elaborating on the issue a little bit? If it's a bug or a non-functional feature, I can see to fixing it up for whenever the next version comes about. :)
User avatar
Theshooter7
Don't talk about Fight Club
 
Joined: 05 Mar 2006

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby CRxTRDUDE » Tue Sep 29, 2015 8:35 am

Henix_Aurorus wrote:...


Your weapons have an offset set in SLADE? Shooter did address that the program does not use offsets from the image, rather, it uses the Offset action function.

@shooter, does your image library have the ability to read custom stuff like the offsets in png or you have to code it yourself?
CRxTRDUDE
 
Joined: 18 Nov 2011
Location: Form nowhere with blob

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby Theshooter7 » Tue Sep 29, 2015 10:11 am

CRxTRDUDE wrote:@shooter, does your image library have the ability to read custom stuff like the offsets in png or you have to code it yourself?

The underlying library probably has the functionality, but I am pretty certain this is off limits through SFML. In short, I will likely have to code this in myself, but this isn't a huge problem to me (I was planning on it in the future so people could avoid problems with this program and baked offsets).
User avatar
Theshooter7
Don't talk about Fight Club
 
Joined: 05 Mar 2006

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby CRxTRDUDE » Tue Sep 29, 2015 8:41 pm

I think this might not be huge of a problem too. After all, they put the specs for grAb in the wiki anyway. Also, source is available for the grabpng tool by bagheadspidey (another version of SetPNG) which you could check out.
CRxTRDUDE
 
Joined: 18 Nov 2011
Location: Form nowhere with blob

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby Gez » Wed Sep 30, 2015 5:41 am

Seidolon wrote:This looks really useful. I'm looking to make a program with C++ that allows you to easily create in-game HudMessage based menus, but I've lost focus on that because I am having trouble with simple things like loading images. Could you give me some pointers possibly?

If you don't want to go the C# way, SLADE 3 uses the FreeImage library for loading standard formats, so you can use it as an example.
Gez
 
 
 
Joined: 06 Jul 2007

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby Henix_Aurorus » Wed Sep 30, 2015 8:40 am

CRxTRDUDE wrote:Your weapons have an offset set in SLADE? Shooter did address that the program does not use offsets from the image, rather, it uses the Offset action function.

@shooter, does your image library have the ability to read custom stuff like the offsets in png or you have to code it yourself?

Yeah, I'm aware of that. I removed the offsets on the sprites when I imported the new animation, hence me suspecting it's less of a program fault and more of me not doing it right. I have animations for a new weapon finished, and will be making the weapon proper later today, so I'll report back with how that went later.
User avatar
Henix_Aurorus
Destroyer of Worlds. I guess.
 
Joined: 27 Aug 2013
Location: The Endless Void
Discord: #6038

Re: [BETA] Danimator -- "A friggin' animation program!"

Postby Nash » Tue Oct 13, 2015 12:58 am

Finally got around to trying this program, holy fuck this is amazing. I also made a lot of noise about wishing someone made an OFFSET animation program in the past, you've literally changed the game this time. :D

Anyway, I have some suggestions, sorry if these have already been mentioned:

1) Duplicate previous frame
2) Set tics for all frames

That's about it for me I think, my usage isn't exactly heavy, I just want to composite offset-based animations and this tool does it perfectly for now. This program has found its permanent home in my Doom/Utils directory. ;D

Would be nice to have but I can live without it for now:

1) Support for scaled sprites (not sure how this would work; supply the TEXTURES lump that Danimator must read from?)
2) Mousewheel zoom in/out

(on a a slightly related note) I suggest you get this up on Github so it may not be lost due to catastrophic failure...

Bug: Embed settings doesn't seem to be saved. I had to go in the config.cfg and manually change the values to false.
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

PreviousNext

Return to Editors / Asset Manipulation

Who is online

Users browsing this forum: No registered users and 2 guests