Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Texture clamp ing

Author
Message
Benjames8
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location: Your Nightmares
Posted: 22nd Apr 2012 23:00 Edited at: 22nd Apr 2012 23:00
I noticed there is not really a post dedicated to texture clamping.
So I'm starting one since I'm currently trying to figure it out.

Please post anything on clamping even if it doesn't directly relate to my code : 3(D)

This is a my simple function for UV mapping.


This is my failed attempt to clamp.
Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 24th Apr 2012 00:52
I'm not sure what you are trying to do.... Is there a problem with the current mapping system? Your UVmapping(void) function assumes you have 52x52 verts (correct?).
Please explain your rationale for making such a funtion. I have found problems with objects like spheres, but not with planes or boxes.

The fastest code is the code never written.

Login to post a reply

Server time is: 2024-04-19 22:51:55
Your offset time is: 2024-04-19 22:51:55