FSIC Messageboard
  Tech Talk
  How to prevent a texture to becoming moire?

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   How to prevent a texture to becoming moire?
Rendsburger
Pilot
posted 08-12- 09:36 AM     Click Here to See the Profile for Rendsburger   Click Here to Email Rendsburger     Edit/Delete Message   Reply w/Quote
I´m currently painting the texture for the Ju52 with the corrugated iron structure.
To simulate such structure i painted darkened lines on the wings .It looks good in OPS but in game i get a moire effect on the wings.
Any ideas?

Rendsburger

IP: Logged

Harman_5
Pilot
posted 08-12- 10:24 AM     Click Here to See the Profile for Harman_5   Click Here to Email Harman_5     Edit/Delete Message   Reply w/Quote
You mean the texture is faded or blurry in-game? What size is the tif set to in the textures panel of OPS? If your tif is 256 x 256 and the setting is 128 x 128 it will appear faded in-game. OPS reads the tif size directly and displays it correctly but the game uses the settings you put in the texture properties.

Edit: Also, if the tif you made is not square (like 128 x 256 or 64 x 256, etc) then make sure you make the tif size setting in OPS square using the largest dimension value of your tif. For example, if you have a tif that is 64 x 256, make the tif size setting 256 x 256. If it's 32 x 128, make the setting in OPS 128 x 128. I found this out while making the tifs on my WWI AEC vehicles.

I hope this helps.

------------------
Visit FS:SDOE Online

Future Home Of FS:SDOE Online HERE

[This message has been edited by Harman_5 (edited 08-12-2001).]

IP: Logged

Rendsburger
Pilot
posted 08-12- 11:05 AM     Click Here to See the Profile for Rendsburger   Click Here to Email Rendsburger     Edit/Delete Message   Reply w/Quote
Harman,
look at this (hope the pics explane it better)

texture sice is at 512x512

Rendsburger

IP: Logged

Razer
Pilot
posted 08-12- 11:28 AM     Click Here to See the Profile for Razer   Click Here to Email Razer     Edit/Delete Message   Reply w/Quote
I don't think you'll be able to over come this since It's a render problem.

IP: Logged

Harman_5
Pilot
posted 08-12- 11:43 AM     Click Here to See the Profile for Harman_5   Click Here to Email Harman_5     Edit/Delete Message   Reply w/Quote
Does this problem happen in OpenGL?

------------------
Visit FS:SDOE Online

Future Home Of FS:SDOE Online HERE

IP: Logged

Rendsburger
Pilot
posted 08-12- 11:51 AM     Click Here to See the Profile for Rendsburger   Click Here to Email Rendsburger     Edit/Delete Message   Reply w/Quote
Harman, yes it happened in OpenGl and i´m sure it will happened in D3D too.
And i checked the plane in OPS again and it also happened there.
I guess Razer is right and maybe this is the reason why the Ju52 in IL comes without such a structure too.

Rendsburger

IP: Logged

Da Jug head
Pilot
posted 08-12- 02:42 PM     Click Here to See the Profile for Da Jug head   Click Here to Email Da Jug head     Edit/Delete Message   Reply w/Quote
Rendsberger,

This isn't a rendering engine problem, but a visual effect related to video hardware. The moire pattern appears because of a relationship between the angle of the lines to the monitor scan lines, and the width of lines in relation to the video display resolution. This is typically a problem on video more than a computer monitor.

Sonetimes it only takes a very slight increase in the width of the lines or spacing to stop the effect, however, it will show up at some point depending on the distance from the object.

You just experienced one of the gotcha's about using small straight parallel lines- which is why most artists doing graphics try to stay away from them.

This problem appears in print to when you have a checker pattern or lines that are very fine, and is caused by how the screen angle and printer resolution compares to the size and direction the lines run. ( as the checker pattern becomes more distant, the moire effect becomes more noticeable because the squares are much smaller)

To see this, go to the view where you see the moire patterns. Zoom in and out, then rotate your viewpoint. You'll see the patterns shift and sometimes it will get worse, while at other times it will start to go away.

Because of the ribbing on the Ju 52, the best you can hope for is to minimze this effect, you'll never be abvle to totally do away with the problem.

[This message has been edited by Da Jug head (edited 08-12-2001).]

IP: Logged

Rendsburger
Pilot
posted 08-12- 04:26 PM     Click Here to See the Profile for Rendsburger   Click Here to Email Rendsburger     Edit/Delete Message   Reply w/Quote
Thanks Da Jug Had for the explanation.
Now i layed the painting out of my hands, Aladar will do it now because i´m not a good painter and if i see all the new hires skins i have to say that i´m a poor painter,lol.

Rendsburger

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c