Author Topic: Fred force clamp  (Read 1405 times)

0 Members and 1 Guest are viewing this topic.

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
So from my limited understanding, clamping is suppose to help with skybox seams.


One of these was shot with force clamp on in FRED. But uh, I don't see any difference here.

Does the flag even work at all?
« Last Edit: February 12, 2013, 06:39:57 pm by Spoon »
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
It may not. I added the feature but the sum of my knowledge on the subject was simply "Someone suggested exposing these flags would be a good thing"
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Axem pointed out that this might actually not be a problem with the clamp but with the skybox used. Lo and behold, he was right.


without

with

So force clamp does actually work. It's just impossible to see the difference when not using the right box for the job.

Thread's over, move along people. Nothing to see here.
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
It does indeed work, does wonders for the skybox seams. It wouldn't fix misaligned textures (that's what you shown in the first pic), but what it does is get rid of those ugly black seams which can't really be fixed any other war (AFAIK).

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
i take it you used a skybox that used ht's workaround?

clamp works by not tiling the texture. no interpolation is done across edges (one side of the texture would be interpolated into the other). you get a hard edge instead of a smooth one, which is preferable for a skybox. ht's workaround was created because we couldnt do clamp at the time.
« Last Edit: February 13, 2013, 07:07:53 pm by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

  

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them