Welcome! Log In Create A New Profile

Advanced
Re: TEXMAP extension thoughts and findings.
avatarAugust 11, 2014 11:48AM
Quote
Benjamin Moody
Regarding "overscan", by which I guess you mean what happens to polygons, or parts of polygons, that fall outside the boundaries of the texture

Yes, although I admit overscan probably isn't the best name for it. Travis wrote in the big LDPartEditor thread part authors should prevent (or minimize) the effect by just not supplying geometry inside a texmap block that shouldn't be texture mapped. So in my above example the cylinder should be divided in two one part inside the texmap block and one outside it.

I agree that's that the best way to go but again it should be mentioned. I also like your GL_CLAMP_TO_BORDER suggestion, such behavior would be nice for the outer triangles of the mapped geometry. But then again the part author could easily force the same behavior by adding some alpha 0 padding to the texture when isolating/splitting the geometry is a problem. I'm using GL_CLAMP by the way :) but I also limit uv to 0..1 so it basically repeats the outer pixels for the out of bound region.

This brings me to another point having the hard 0..1 cut of (as suggested in the spec) robs us from using repeating pasterns, something that could be very useful when scaling/deforming texture mapped primitives (e.g. a texture mapped rope)


Quote
Benjamin Moody
On the subject of the TEXMAP spec, another serious issue is the definition of gloss maps

I currently chose to ignore the gloss map option as I was unsure of it's use thinking material properties should be handled by the color number exclusively unless it act's like a mask (which I suspect it is intended to do).
SubjectAuthorViewsPosted
TEXMAP extension thoughts and findings. Attachments Roland Melkert261August 07, 2014 04:27PM
Re: TEXMAP extension thoughts and findings. Attachments Roland Melkert100August 08, 2014 04:44PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody78August 10, 2014 08:33PM
Re: TEXMAP extension thoughts and findings. Roland Melkert73August 11, 2014 11:50AM
Re: TEXMAP extension thoughts and findings. Benjamin Moody61August 10, 2014 10:19PM
Re: TEXMAP extension thoughts and findings. Roland Melkert93August 11, 2014 11:48AM
Re: TEXMAP extension thoughts and findings. Attachments Benjamin Moody72August 12, 2014 08:27PM
Re: TEXMAP extension thoughts and findings. Attachments Roland Melkert78August 13, 2014 03:51PM
Re: TEXMAP extension thoughts and findings. Attachments Roland Melkert72August 14, 2014 12:47PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody58August 16, 2014 12:33PM
Re: TEXMAP extension thoughts and findings. Magnus Forsberg63August 14, 2014 01:33PM
Re: TEXMAP extension thoughts and findings. Roland Melkert65August 14, 2014 01:42PM
Re: TEXMAP extension thoughts and findings. Attachments Roland Melkert69August 16, 2014 10:58AM
Re: TEXMAP extension thoughts and findings. Benjamin Moody68August 16, 2014 04:38PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody67August 17, 2014 09:58AM
Re: TEXMAP extension thoughts and findings. Steffen74August 20, 2014 03:56PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody54August 21, 2014 09:28PM
Re: TEXMAP extension thoughts and findings. Roland Melkert69August 21, 2014 02:37PM
Re: TEXMAP extension thoughts and findings. Benjamin Moody76August 21, 2014 09:46PM



Sorry, only registered users may post in this forum.

Click here to login