Couple of Age Issues

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Re: Couple of Age Issues

Postby Tweek » Fri Oct 16, 2009 11:02 am

Well after trying countless things and still having an issue I decided to cheat somewhat and change the style of the lillys.

Image
(lillys need some light tweaking and shadows added for the flowers still)

Unfortunately that script didn't seem to do anything.
However, the skydome issues (which have been bothering me since I started Age building last year) has been resolved so there's a win, thanks.

I'm going to keep looking into resolving that alpha issue, but where my Age doesn't need it anymore I can take my time solving it without pushing back the Ages release date.
Beneath - IC Blog.
Beneath: Ages of Tweek - FB Age Dev Page.
User avatar
Tweek
 
Posts: 693
Joined: Sat Sep 29, 2007 6:37 am

Re: Couple of Age Issues

Postby Jojon » Sat Oct 17, 2009 3:09 am

Oho,"release date"! *rubs hands together*
Jojon
 
Posts: 1116
Joined: Sun Sep 30, 2007 5:49 am

Re: Couple of Age Issues

Postby D'nial » Sat Oct 17, 2009 8:55 am

Ah, I love the smell of awesome in the morning!
If I had a signature, this is where it would be...
User avatar
D'nial
 
Posts: 131
Joined: Thu Jun 25, 2009 12:45 pm
Location: In a world where all men are guilty until proven dead!

Re: Couple of Age Issues

Postby electroglyph » Sat Oct 17, 2009 9:36 am

Your Problem with the lily pad is aliasing.

To demonstrate I’ve made four renders of a simple red ball on a blue background. The resolution goes up from 16x16 to 128x128 pixels. I’ve blown up all the renders so they are the same size. Just think of it as the pixels being larger in the left hand images. Unlike the real world where there are millions of photons zipping off objects textures only have a few hundred points to express an object.

Image

If you look at the left hand image it was rendered at 16x16 pixels. That’s only 256 total points to express the red ball on the blue background. Look at the balls edge and you will see different colors. They are not red ball or blue background, they are a purple alias of the two colors. This is the nearest color to red-blue that the computer can find to express that portion of the ball given the number of pixels it was allowed.

So what’s going on with the lily pad?

You probably used a binary transparency and selected the background color as your transparency color. I’ll bet it was white, but there are alias pixels along the edge. They aren’t white and they aren’t lily pad, so they show up as a halo around the image.

What to do?

Start with an image twice as big. If you want 512x512 begin with a 1024x1024 image.
Create a .png with transparency like you did before.
Reduce the image by 50%. The computer combines and averages 4 pixels into 1. The transparencies and green edges get pulled towards each other. The halo all but goes away.
electroglyph
 
Posts: 124
Joined: Fri Nov 16, 2007 9:45 pm

Re: Couple of Age Issues

Postby boblishman » Sat Oct 17, 2009 9:43 am

you can check if this is indeed your problem very, very easily ....(having recently been through a similar situation)

Open your current lillypad .png file in your graphics program (Photoshop/Gimp/etc) and then create a new layer.

Put the new (empty) layer underneath your transparent lillpad layer ... and then fill the new (lower) layer with pure black.

Is there a "halo" around your lilly pad that you cannot see when you simply look at the single transparant layer ... ? ... ;)
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: Couple of Age Issues

Postby Tweek » Mon Oct 19, 2009 9:19 am

Nope, I drew the lilly with vector tools under the lillypad texture, then bled the texture into the vector so the lines would be crisp.

I started with a transparent photoshop canvas at a large size (around 1024 squared) to make the texture, when it was done I resized it down to a smaller size (somewhere around 300 squared I think).

I'll keep experimenting with it, but as far as Fahets goes, the new lillies work ok.

However!

I am now having another problem. I've added ripples to the pond for when people walk through. Ripples are a white texture on transparent background. However in the Age they come out black;

Image

I had the same issue with my sun the other day, but after turning up all the ambiance and turning of shadows and what not it turned white, however the ripples didn't do that when I tried all that.
Beneath - IC Blog.
Beneath: Ages of Tweek - FB Age Dev Page.
User avatar
Tweek
 
Posts: 693
Joined: Sat Sep 29, 2007 6:37 am

Re: Couple of Age Issues

Postby D'Lanor » Mon Oct 19, 2009 9:48 am

Try setting the texture blending mode to "add" or"multiply" instead of the default "mix".
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Couple of Age Issues

Postby Tweek » Mon Oct 19, 2009 9:59 am

Image

But at least it's white :D

I'll keep playing with those settings in case one works, but Add and Multiply didn't work.
Beneath - IC Blog.
Beneath: Ages of Tweek - FB Age Dev Page.
User avatar
Tweek
 
Posts: 693
Joined: Sat Sep 29, 2007 6:37 am

Re: Couple of Age Issues

Postby J'Kla » Mon Oct 19, 2009 11:17 am

Going back to your lilly pad it's a mind set thing you have leaves with a yellow/white growing edge who is to say that that is not the norm for your species of lilly pad.

And note this image and it's not unique http://k43.pbase.com/u47/tspringer/upload/30123082.vlll1.jpg just a general trawl of lilly pd images on google and I found quite a few where the meniscus of the water against the leaf edge causes a refraction of surrounding ambient light giving the appearance of a line of light at the edge of the leaf.

I also don't see anything tragically wrong with your dark ripples. I always wondered why you didn't stir up mud when you walked through standing water in some ways the dark ripples are nearer to real life.
User avatar
J'Kla
 
Posts: 1003
Joined: Wed Feb 20, 2008 3:16 pm
Location: Geordieland UK

Re: Couple of Age Issues

Postby D'Lanor » Mon Oct 19, 2009 11:54 am

Tweek wrote:But at least it's white :D

I'll keep playing with those settings in case one works, but Add and Multiply didn't work.

Well, mine is set to "add" and works fine. I also have the ZTransp button pressed btw.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

PreviousNext

Return to Building

Who is online

Users browsing this forum: No registered users and 4 guests