It is currently 16 Apr 2024, 12:55
   
Text Size

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.

Postby MageKing17 » 26 Feb 2011, 01:58

Here's something you may see in a future version of Incantus:
rendering_test.jpg


As you can obviously see, it's far from complete... but it is interesting, no? :)

Coded by Incantus, who apparently had some free time.
User avatar
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.

Postby 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.

Postby 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 ;)
Incantus
DEVELOPER
 
Posts: 267
Joined: 29 May 2008, 15:53
Has thanked: 0 time
Been thanked: 3 times

Re: An interesting result I thought I'd share with you.

Postby 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!
User avatar
Huggybaby
Administrator
 
Posts: 3205
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 696 times
Been thanked: 594 times

Re: An interesting result I thought I'd share with you.

Postby MageKing17 » 28 Feb 2011, 20:14

Huggybaby wrote:One plus is that you can get by with a much smaller download.
I fail to see how. :/
User avatar
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.

Postby Huggybaby » 28 Feb 2011, 20:56

Comparing the HQ Crops to the HQ fulls, there's a big difference.
User avatar
Huggybaby
Administrator
 
Posts: 3205
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 696 times
Been thanked: 594 times

Re: An interesting result I thought I'd share with you.

Postby Incantus » 01 Mar 2011, 05:07

Here's a slightly newer snapshot (note you can't tell, but the color blending in the frame is done dynamically):

snap.png
Incantus
DEVELOPER
 
Posts: 267
Joined: 29 May 2008, 15:53
Has thanked: 0 time
Been thanked: 3 times

Re: An interesting result I thought I'd share with you.

Postby MageKing17 » 02 Mar 2011, 02:39

Huggybaby wrote:Comparing the HQ Crops to the HQ fulls, there's a big difference.
Yes, but the current version uses neither, so the impact on our download size is...? :P
User avatar
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.

Postby 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.
User avatar
Huggybaby
Administrator
 
Posts: 3205
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 696 times
Been thanked: 594 times

Re: An interesting result I thought I'd share with you.

Postby MageKing17 » 02 Mar 2011, 08:11

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.
It's always auto-downloaded images from WotC's website. Which, granted, could easily be improved.
User avatar
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.

Postby Huggybaby » 02 Mar 2011, 08:30

OK, now I understand.
User avatar
Huggybaby
Administrator
 
Posts: 3205
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 696 times
Been thanked: 594 times

Re: An interesting result I thought I'd share with you.

Postby 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/
Incantus
DEVELOPER
 
Posts: 267
Joined: 29 May 2008, 15:53
Has thanked: 0 time
Been thanked: 3 times

Re: An interesting result I thought I'd share with you.

Postby 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.

Postby 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.
Incantus
DEVELOPER
 
Posts: 267
Joined: 29 May 2008, 15:53
Has thanked: 0 time
Been thanked: 3 times

Re: An interesting result I thought I'd share with you.

Postby MageKing17 » 03 Mar 2011, 06:11

drekonja wrote:Does that mean also we could choose card format? For example some of us think that cards looked better before 2003.
Hmm... sudden thought.

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...
User avatar
MageKing17
Programmer
 
Posts: 473
Joined: 12 Jun 2008, 20:40
Has thanked: 5 times
Been thanked: 9 times

Next

Return to Incantus

Who is online

Users browsing this forum: No registered users and 11 guests


Who is online

In total there are 11 users online :: 0 registered, 0 hidden and 11 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 11 guests

Login Form