Discussion - proposal to extend !TEXMAP specification


RE: Discussion - proposal to extend !TEXMAP specification
#60
(Yesterday, 16:56)Hageta Wrote: I like how layers are implemented in this example. In this examples the coordinates of the pattern match the coordinates of the part, how would you reuse a pattern on a different part. Should the texmap command include transformation parameters for the pattern?
I got the 1/2 face pattern from Chris, only removed the yellow filling.

Fun thing about 2d projection is you don't have to worry about overlap so if you need some black text on a white background you would only need to add a white quad and the text itself for it to work as a texture.

As for reusing the pattern there are no real limitations. Although there are some things that will make it harder to implement.

Like using color16 inside the texture pattern, a renderer would need a special shader or prepare a separate texture for each color usage.


(Yesterday, 16:56)N. W. Perry Wrote: As a first test result I'd say it's already quite promising. I'd be curious to see the difference from a cylindrical projection (I assume the result is no different than the current method).

On the question of resolution, as far as I can tell this comes out no worse than the maximum available in LDCad, which I think is as it should be.
I since replaced the hardcoded 1280x1280 with a resolution of 50 times the source's ldu width/height which in this case end up as 1200x950
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Discussion - proposal to extend !TEXMAP specification - by Roland Melkert - Yesterday, 21:04

Forum Jump:


Users browsing this thread: 6 Guest(s)