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


Re: [LDPartEditor] Chequerboard-Texture
#84
Thanks! The attached pictures are the checker-board texture UV-mapped to a sphere using typical sphere-mapping from a 3-d modeler.

The left sphere is made from a small number of segments, the right a much larger number. Since the UV map is per vertex you can see the 'sphere' lines aren't well-projected on the left.

The 3-d modeler can get the caps right because for each vertex it knows the connectivity to neighboring vertices; a straight vertex->uv function is going to introduce discontinuities or wrap-around and possibly undefined results at the poles.

So theoretically if you have your triangles in advance and you are applying a mapping function to each one to pre-compute UV, you could 'solve' the poles with some analysis. I don't think you can do this in shader without geometry shaders and a ton of work.

I'm not a fan of using projection for part textures at all - the rest of the modeling world uses UV mapping, which makes the projection of parts, management of discontinuities, and other complex issues not the problem of the file format and every client that reads it.


Attached Files Thumbnail(s)
   
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] Chequerboard-Texture - by Ben Supnik - 2014-08-01, 2:48

Forum Jump:


Users browsing this thread: 1 Guest(s)