Starfield shimmering? Way to fix?

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Starfield shimmering? Way to fix? // Roundtable

1  |  

Post by davidjohnson // Jun 11, 2006, 4:15am

davidjohnson
Total Posts: 169
I am trying to get a nice space-scene to work, the camera flies through space, but I am finding the PLANE that I put the starfield on, shimmers, all the stars move like vibrating sand and it ruins the whole effect. I have tried to render this uncompressed and still it shimmers. Any ideaS?

Post by Bobbins // Jun 11, 2006, 8:14am

Bobbins
Total Posts: 506
Yup, easy.


The stars in your starfield are smaller than a pixel in the final output, so as it moves, sometimes it appears in a pixel and sometimes it doesn't. I come across this a lot in video editing - it's sub-pixel sampling.


Two things you can try; blur the starfield image or use a lower resolution image which makes the stars larger.

Post by Zeipher // Jun 11, 2006, 9:19am

Zeipher
Total Posts: 224
pic
I see the suggestion of keeping to only one thread was taken to heart... lol.

Post by TomG // Jun 11, 2006, 2:49pm

TomG
Total Posts: 3397
Lots of solutions. Ensuring the starts show up quite large is one as noted. This can also be done procedurally with a shader (http://www.tmgcgart.com/ShaderLab/html/tg_pack_1.htm#starfield for instance ) - note that the shader works by making pixels large enough to avoid this effect, but being procedural means you can adapt it for different render sizes (without needing to go and redo your image).


HTH!

Tom

Post by frank // Jun 11, 2006, 3:17pm

frank
Total Posts: 709
pic
You may also run into this problem when using high-rez texture maps. The way I get pixel-jitter-free images is to use 3x or so antialiasing.
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn