targa .tga textures

..

How long are each of the tree polygons? Is each group of trees a polygon?

Richard

yes. each element is one flat cube. in the case of the trees, i made a clump of trees in photoshop cs and mapped them onto the cube. i doesn’t just occur on the trees, if you notice the sun as well.

-korben

Richard,

It is caused by the texture filtering making the texture alpha less transparent near the edges.

In the 3DC code you need to setRenderState D3DRS_ALPHAREF to something like 16 so the transparent edges are more crisp, or up to 160 for purely transparent textures – ideally it should be a property of the material.
(I had the same problem a while ago)

However I don’t know if you have access to this in RM ?

really, didn’t know that. if it is possible to fix this problem i would love to try

-korben

Paul,

So that is it.

I can set this in RM. Currently it is set to 1. Wouldn’t that make edges the most crisp? Or have I got that backwards?

Richard

The alpha ref is the level at which translucency starts…

e.g. if you have 8 bit alpha, a ref of 1 means only alpha of 0 is totally transparent.
a ref of 128 means all alpha values from 0 to 127 are transparent.

(have I got those values the wrong way round?)

As I mentioned, the texture filtering may be affecting the totally transparent alpha by adjusting it’s value slightly. If you alter the texture quality in the scene properties the tranparent areas change.

Setting the alpha ref to something like 16 give me the best results in the train sim viewer.

any word on any possible fixes? if not i’ll just use after effects 6.5 pro. but this problem nees to be addressed if possible.

-korben

You must be logged in to reply in this thread.

24 posts