An interesting result I thought I'd share with you.
by Incantus
Moderator: CCGHQ Admins
An interesting result I thought I'd share with you.
by MageKing17 » 26 Feb 2011, 01:58
-
MageKing17 - Programmer
- Posts: 473
- Joined: 12 Jun 2008, 20:40
- Has thanked: 5 times
- Been thanked: 9 times
Re: An interesting result I thought I'd share with you.
by drekonja » 28 Feb 2011, 13:47
Huh? Sorry, but I don't get it. It's a big card in the front without showing mana cost.
- drekonja
- Posts: 41
- Joined: 05 Jun 2009, 19:53
- Has thanked: 0 time
- Been thanked: 0 time
Re: An interesting result I thought I'd share with you.
by Incantus » 28 Feb 2011, 18:33
So MageKing's teaser doesn't seem too exciting without a little context. As a hint, check out the font used in the large card. You can see it's not the traditional Magic font. Using the images aurelain generated from DotP for the HQ Card Generator (see viewtopic.php?p=52305#p52305) and the info provided by Snacko on the sizes for text boxes, I have implemented real-time card compositing/rendering in Incantus (MageKing's snap above shows an early demo - I didn't have mana symbols done yet.) The pic above doesn't look too fancy, but that's because he only showed a simple card. The compositing renders correctly for almost all types of cards supported in Incantus, such as multicolor artifact creatures, etc. The nice thing about being dynamic is that when the game changes the characteristics of a card they will be reflected in the rendering (for example changing the color, animating a land).
By the way, it's not really free time. I really shouldn't stay up till 3 am on a workday playing around with this stuff. But it's too much fun
By the way, it's not really free time. I really shouldn't stay up till 3 am on a workday playing around with this stuff. But it's too much fun
Re: An interesting result I thought I'd share with you.
by Huggybaby » 28 Feb 2011, 19:05
Thanks Incantus and MK17, I knew what you were doing there.
One plus is that you can get by with a much smaller download. Another big plus for generating your own card pics is that the text will always be correct. That text has changed quite a bit since the old days!
One plus is that you can get by with a much smaller download. Another big plus for generating your own card pics is that the text will always be correct. That text has changed quite a bit since the old days!
-
Huggybaby - Administrator
- Posts: 3209
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 704 times
- Been thanked: 595 times
Re: An interesting result I thought I'd share with you.
by MageKing17 » 28 Feb 2011, 20:14
I fail to see how. :/Huggybaby wrote:One plus is that you can get by with a much smaller download.
-
MageKing17 - Programmer
- Posts: 473
- Joined: 12 Jun 2008, 20:40
- Has thanked: 5 times
- Been thanked: 9 times
Re: An interesting result I thought I'd share with you.
by Huggybaby » 28 Feb 2011, 20:56
Comparing the HQ Crops to the HQ fulls, there's a big difference.
-
Huggybaby - Administrator
- Posts: 3209
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 704 times
- Been thanked: 595 times
Re: An interesting result I thought I'd share with you.
by MageKing17 » 02 Mar 2011, 02:39
Yes, but the current version uses neither, so the impact on our download size is...?Huggybaby wrote:Comparing the HQ Crops to the HQ fulls, there's a big difference.
-
MageKing17 - Programmer
- Posts: 473
- Joined: 12 Jun 2008, 20:40
- Has thanked: 5 times
- Been thanked: 9 times
Re: An interesting result I thought I'd share with you.
by Huggybaby » 02 Mar 2011, 04:30
I don't know. I assume one would have to get pics from somewhere, since the last time I downloaded Incantus it included none.
-
Huggybaby - Administrator
- Posts: 3209
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 704 times
- Been thanked: 595 times
Re: An interesting result I thought I'd share with you.
by MageKing17 » 02 Mar 2011, 08:11
It's always auto-downloaded images from WotC's website. Which, granted, could easily be improved.Huggybaby wrote:I don't know. I assume one would have to get pics from somewhere, since the last time I downloaded Incantus it included none.
-
MageKing17 - Programmer
- Posts: 473
- Joined: 12 Jun 2008, 20:40
- Has thanked: 5 times
- Been thanked: 9 times
Re: An interesting result I thought I'd share with you.
by Huggybaby » 02 Mar 2011, 08:30
OK, now I understand.
-
Huggybaby - Administrator
- Posts: 3209
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 704 times
- Been thanked: 595 times
Re: An interesting result I thought I'd share with you.
by Incantus » 02 Mar 2011, 14:43
Huggy - I think you're missing the point. The renderer wasn't built to reduce the size of the download, since as MageKing17 mentioned, we use the 200x285 card images from wizards site (which aren't the best source, but magiccards doesn't have a simple url with just the name), and the cards are downloaded on demand. The main reason was so that the cards can accurately reflect the state they are in during the course of the game (plus it looks nice). Now we can do some fancier things - I was inspired by the 2009 demo of a possibly new web-based MODO client (although who knows what happened to that). For example - see http://www.mananation.com/magic-online-prototype/
Re: An interesting result I thought I'd share with you.
by drekonja » 02 Mar 2011, 18:34
Does that mean also we could choose card format? For example some of us think that cards looked better before 2003.
- drekonja
- Posts: 41
- Joined: 05 Jun 2009, 19:53
- Has thanked: 0 time
- Been thanked: 0 time
Re: An interesting result I thought I'd share with you.
by Incantus » 02 Mar 2011, 19:22
drekonja - theoretically, yes, but practically probably not, unless someone wants to do the work of converting the HQ frames to the right sizes (not hard) and determining the font sizes and placement in the old card layout.
Re: An interesting result I thought I'd share with you.
by MageKing17 » 03 Mar 2011, 06:11
Hmm... sudden thought.drekonja wrote:Does that mean also we could choose card format? For example some of us think that cards looked better before 2003.
Incantus and I were discussing adding set and rarity info to the card code (so that set symbols could be rendered accurately). If so, it could theoretically be possible to render cards with the old border properly. Hmm, maybe we could even allow custom templates, like MSE...
-
MageKing17 - Programmer
- Posts: 473
- Joined: 12 Jun 2008, 20:40
- Has thanked: 5 times
- Been thanked: 9 times
36 posts
• Page 1 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 3 guests