Jump to content


Remapping 3DO texture so it's not stretched/warped


  • Please log in to reply
5 replies to this topic

#1 PTRACER

PTRACER

    Senior Member

  • Member
  • PipPipPipPipPipPip
  • 60 posts
  • Gender:Male

Posted 25 May 2021 - 05:19 AM

Got a couple of points on this car where moving the points has caused some bad texture warping

Is there a way to fix these polygons in GPLEditor so the texture sits on the mesh properly?

Attached Files


Edited by PTRACER, 25 May 2021 - 05:20 AM.


#2 TvO

TvO

    Honored Member

  • Member
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 2,381 posts
  • Gender:Not Telling

Posted 25 May 2021 - 05:53 AM

Every polygon has a U-V value which corresponds with a vertex on that polygon. U is horizontal and V is vertical. So a value of 0,0 is top left on the texture and 1,1 is bottom right. I usually find the poly in GPL Editor and write down the four UV values, then draw them on the texture to find out the mapping. Then I draw the mapping how I want it to be and recalculate the UV values. You can divide the UV value by the texture dimensions, so if you have a 256x256 texture and I have a texture coordinate of 126,126 the UV value will be 0,5 , 0,5.

I hope that makes sense :) . If something is not clear I'll try to come up with an example if I can find the time :)

Tommie

#3 Paul Skingley

Paul Skingley

    Honored Member

  • Member
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 4,167 posts
  • Gender:Male

Posted 25 May 2021 - 07:43 AM

A quick way of finding the node you want is to open in 3doEd which will tell you the offset of the poly you want to edit.

Then in GPLEditor search the node by offset and open it.

As Tommie says there are mapping cords. The thing to remember is that mapping changes to one polygon will affect how the ones next to it look so you will also have to adjust those to suit.

Edited by Paul Skingley, 25 May 2021 - 07:44 AM.


#4 ginetto

ginetto

    Master Tracker

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 11,913 posts
  • Gender:Male
  • Location:Lombardia ITALIA

Posted 25 May 2021 - 10:56 AM

I usually find easier to use a grid texture for those kind of jobs :)

Attached Files


Done these tracks and working on others.


#5 PTRACER

PTRACER

    Senior Member

  • Member
  • PipPipPipPipPipPip
  • 60 posts
  • Gender:Male

Posted 25 May 2021 - 11:21 AM

I can understand the theory behind it, but in practice, it is a lot of trial and error isn't it?

#6 ginetto

ginetto

    Master Tracker

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 11,913 posts
  • Gender:Male
  • Location:Lombardia ITALIA

Posted 25 May 2021 - 11:27 AM

For these things I use 3dsimEd to be able to move the mapping very easily (just load the area you are interested with the texture you like)
then, when it looks alright, I transfer manually the coords to the 3do in GPLeditor.

A lot of trial and error, yes :rolleyes:

Done these tracks and working on others.