[LDPartEditor] First Alpha Version News (until 2014-09-19)


Re: [LDPartEditor] TEXMAP PLANAR / CYLINDRICAL / SPHERICAL (I need help)
#68
For cylindrical, definitely if you have the settings right to match the cylinder that you're mapping onto, the checkerboard should indeed wrap around the cylinder and look even. For a unit half-cylinder centered with its bottom at 0, 0, 0, I believe the parameters would be 0 0 0 0 -1 0 0 0 1 180. (I color coded the numbers to make it easier to read.) With those settings, the left edge of the texture would map to left edge of the half-cylinder, the right edge of the texture would map to the right edge of the half-cylinder, and the middle bottom of the texture would be at coordinates 0, 0, 1, which would be the bottom center of the half-cylinder's surface.

For spherical, I'm not completely sure what it's supposed to look like, but if you used the same texture map for all three shapes, I don't think what you have is right. However, I believe for a unit sphere at the origin with texmap params 0 0 0 0 0 1 1 0 1 180 180, the center of the texture would map to the point at 0 0 1, and the texture near that point would look fairly non-warped. The checkerboard would get progressively more warped as you move further from that point. The centers of each of the four edges of the texture would map to the edge of the half-sphere, and everything outside a circle inscribed in the texture's square would be invisible (out of bounds).
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Deadline Change - by Nils Schmidt - 2012-12-25, 11:19
Re: Deadline Change - by Philippe Hurbain - 2012-12-25, 14:30
First Alpha Screenshots - by Nils Schmidt - 2012-12-27, 19:00
Grid implementation done - by Nils Schmidt - 2013-01-08, 23:47
Text Editor Impression - by Nils Schmidt - 2013-01-13, 18:58
Re: Text Editor Impression - by Nils Schmidt - 2014-03-24, 17:54
Startup dialog - by Nils Schmidt - 2013-01-18, 15:25
Re: Startup dialog - by Philippe Hurbain - 2013-01-18, 18:37
Syntax Highlighting - by Nils Schmidt - 2013-01-27, 20:04
Test Environments - by Nils Schmidt - 2014-03-24, 17:32
Another Text Editor Teaser - by Nils Schmidt - 2014-03-24, 17:50
[LDPartEditor] Anaglyph Car - by Nils Schmidt - 2014-05-10, 22:58
Re: [LDPartEditor] TEXMAP PLANAR / CYLINDRICAL / SPHERICAL (I need help) - by Travis Cobbs - 2014-07-28, 5:40

Forum Jump:


Users browsing this thread: 11 Guest(s)