Texture Scale: 2.97896e-006

StixNStonzStixNStonz Join Date: 2006-11-06 Member: 58439Members, Reinforced - Shadow
2.97896e-006. That's a very small number. I was doing normal geo modding of a cylinder, and a few of the off-angle faces got ridiculous scales assigned to their faces. Seems it greatly slows down performance, and is annoying to manually fix.

Could you add in some max / min texture scale limits as a band-aid solution until the texture methods are worked out?

Comments

  • exoityexoity Join Date: 2003-03-17 Member: 14620Members, NS1 Playtester, Constellation
    A lot of wxWidgets controls have this happens when a number is scrolled up and down around zero often, or when there is an external component updating it and the range is to much.
  • GregzenegairGregzenegair Join Date: 2009-06-26 Member: 67944Members
    I second this, small or high numbers make the editor really slow (near the freeze) untill you fix it manually.
  • StardogStardog Join Date: 2004-10-25 Member: 32448Members
    They need a "reset" button that puts the scale/pan back to 1/0 like in UnrealEd.
  • huhuhhuhuh Join Date: 2005-01-07 Member: 33190Members
    Same in here, i've had multiple fatal crashes because of this issue. Fix please :)
  • Alurcard2Alurcard2 Join Date: 2003-07-30 Member: 18614Members
    Yeah, I'm almost afraid to open the paint tool because of this. It will take at least half a minute before I get any kind of control back when I click on a face with that kind of scaling.
  • ThaldarinThaldarin Alonzi! Join Date: 2003-07-15 Member: 18173Members, Constellation
    <!--quoteo(post=1740486:date=Nov 26 2009, 01:04 PM:name=Gregzenegair)--><div class='quotetop'>QUOTE(Gregzenegair @ Nov 26 2009, 01:04 PM) <a href="index.php?act=findpost&pid=1740486"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I second this, small or high numbers make the editor really slow (near the freeze) untill you fix it manually.<!--QuoteEnd--></div><!--QuoteEEnd-->

    What is your computer specifications and OS specifications? These numbers don't bother me right now and they're definately not impacting performance at all. 1 Changing to 0.999997 hasn't affected me at all for example.
  • StixNStonzStixNStonz Join Date: 2006-11-06 Member: 58439Members, Reinforced - Shadow
    <!--quoteo(post=1740680:date=Nov 26 2009, 09:21 PM:name=Thaldarin)--><div class='quotetop'>QUOTE(Thaldarin @ Nov 26 2009, 09:21 PM) <a href="index.php?act=findpost&pid=1740680"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->What is your computer specifications and OS specifications? These numbers don't bother me right now and they're definately not impacting performance at all. 1 Changing to 0.999997 hasn't affected me at all for example.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Thaldarin, "2.97896e-006" isn't 2.97. It's 0.000000297. When that's your texture scale on one axis (assuming the other axis is scaled at 1), you're getting something like 330,000 polygons on that face.

    This is happening all over the editor. I'm actually not sure if it happens with the texture lock on or off; I think it's when it's off.

    Honestly, I'm trying to think of ways that this could happen, but I don't understand the texturing methods in depth (I do have a minor in math so I understand algebra fairly well, which constitutes a lot of the theory behind texture rendering). But it's definitely happening, and causing HUGE drags in performance.

    If Max wants a proper bug report, I could attempt to walk through the steps of how to recreate it from scratch.
  • MendaspMendasp I touch maps in inappropriate places Valencia, Spain Join Date: 2002-07-05 Member: 884Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Shadow, Retired Community Developer
    edited November 2009
    It happens when you move only a part of a welded "structure" (like an edge) with texture locking on.
  • yimmasabiyimmasabi Join Date: 2006-11-03 Member: 58318Members
    edited November 2009
    Right, I have written this bug which is also called crash for low speed cpu and gpus.
    It is at the end of this page. Max. & Min limits for textures should be fine.

    <a href="http://www.unknownworlds.com/ns2/forums/index.php?showtopic=108132&st=100" target="_blank">http://www.unknownworlds.com/ns2/forums/in...8132&st=100</a>
  • AlignAlign Remain Calm Join Date: 2002-11-02 Member: 5216Forum Moderators, Constellation
    <!--quoteo(post=1740692:date=Nov 27 2009, 04:32 AM:name=StixNStonz)--><div class='quotetop'>QUOTE(StixNStonz @ Nov 27 2009, 04:32 AM) <a href="index.php?act=findpost&pid=1740692"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->When that's your texture scale on one axis (assuming the other axis is scaled at 1), you're getting something like 330,000 polygons on that face.<!--QuoteEnd--></div><!--QuoteEEnd-->
    You'd think, but lower numbers <b>increase </b>the size of the textures. It seems to divide by scale, rather than multiply.
  • StixNStonzStixNStonz Join Date: 2006-11-06 Member: 58439Members, Reinforced - Shadow
    <!--quoteo(post=1741269:date=Nov 28 2009, 12:26 PM:name=Align)--><div class='quotetop'>QUOTE(Align @ Nov 28 2009, 12:26 PM) <a href="index.php?act=findpost&pid=1741269"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->You'd think, but lower numbers <b>increase </b>the size of the textures. It seems to divide by scale, rather than multiply.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Yeah, I noticed that lastnight as I got into some detail texturing. Strange, and definitely the opposite of Hammer... anyone know if it's similar to any other editors?

    I guess it's the 'how many fit in the face' scale rather then hammer's 'overall size of texture' scale.
Sign In or Register to comment.