Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Issue with hemisphere part with textures
Post: RE: Issue with hemisphere part with textures
Travis Cobbs Wrote: (2024-01-16, 22:01)
--
I'm not sure if you are referring to cylindrical or spherical mapping here. If the former, the UV coordinates are essentially undefined anywhere on the axis... |
|
Toby Nelson |
Parts Authoring
|
20 |
3,045 |
2024-01-16, 23:19 |
|
|
Thread: Issue with hemisphere part with textures
Post: RE: Issue with hemisphere part with textures
Roland Melkert Wrote: (2024-01-16, 19:54)
--
Many of these issues have been discussed before, e.g. my findings as posted here:
https://forums.ldraw.org/thread-13633-post-13635.html#pid13635
and her... |
|
Toby Nelson |
Parts Authoring
|
20 |
3,045 |
2024-01-16, 23:00 |
|
|
Thread: Issue with hemisphere part with textures
Post: RE: Issue with hemisphere part with textures
Here's my thoughts on SPHERICAL mapping:
The spec for SPHERICAL says:
"V is given by the angle between the vector formed by points 1 and 2 and the vector formed by point 1 and a world point that... |
|
Toby Nelson |
Parts Authoring
|
20 |
3,045 |
2024-01-16, 11:17 |
|
|
Thread: Issue with hemisphere part with textures
Post: RE: Issue with hemisphere part with textures
In particular I get that the vertex at the North pole (0 46 0) has UV value (0.5 0.13888888) which is in the middle of the land. |
|
Toby Nelson |
Parts Authoring
|
20 |
3,045 |
2024-01-16, 10:11 |
|
|
Thread: Issue with hemisphere part with textures
Post: RE: Issue with hemisphere part with textures
Travis Cobbs Wrote: (2024-01-16, 2:42)
--
I did some more digging, and I feel that there are probably two problems here.
First of all, a cylindrical map projection is NOT equivalent to what TEXMAP... |
|
Toby Nelson |
Parts Authoring
|
20 |
3,045 |
2024-01-16, 9:44 |
|
|
Thread: Issue with hemisphere part with textures
Post: RE: Issue with hemisphere part with textures
Travis Cobbs Wrote: (2024-01-15, 23:32)
--
If the texture were an actual Mercator projection of the globe, then you would be correct. However, it clearly isn't, so either the texture needs to be rege... |
|
Toby Nelson |
Parts Authoring
|
20 |
3,045 |
2024-01-16, 0:24 |
|
|
Thread: Issue with hemisphere part with textures
Post: RE: Issue with hemisphere part with textures
Travis Cobbs Wrote: (2024-01-15, 22:49)
--
Actually, I think that using CYLINDRICAL is good, it's just that you didn't have it extend far enough. I tweaked the parameters to be this:
--
No I don't ... |
|
Toby Nelson |
Parts Authoring
|
20 |
3,045 |
2024-01-15, 23:05 |
|
|
Thread: Issue with hemisphere part with textures
Post: RE: Issue with hemisphere part with textures
If it's useful, this is the relevant Python code I'm using in my Blender importer:
Code:
--
def signed_angle(a, b, normal):
# See https://stackoverflow.com/a/33920320
s = a.cross(b).dot(... |
|
Toby Nelson |
Parts Authoring
|
20 |
3,045 |
2024-01-15, 22:58 |
|
|
Thread: Issue with hemisphere part with textures
Post: RE: Issue with hemisphere part with textures
Travis Cobbs Wrote: (2024-01-15, 22:33)
--
I believe that you are correct regarding LDView displaying cylindrical textures upside down. Can you confirm that LDCad displays them the other way around?
... |
|
Toby Nelson |
Parts Authoring
|
20 |
3,045 |
2024-01-15, 22:49 |
|
|
Thread: Issue with hemisphere part with textures
Post: RE: Issue with hemisphere part with textures
Magnus Forsberg Wrote: (2024-01-15, 20:26)
--
I can't get that code to work.
The image is upside down, and the equator misplaced.
--
My apologies, I've fixed the equator (the bottom of the hemisph... |
|
Toby Nelson |
Parts Authoring
|
20 |
3,045 |
2024-01-15, 21:17 |
|
|
Thread: Angles
Post: Angles
The texture map specification doesn't mention that the angles are in degrees. Perhaps it should. |
|
Toby Nelson |
Official File Specifications/Standards
|
2 |
1,613 |
2024-01-15, 20:22 |
|
|
Thread: Issue with hemisphere part with textures
Post: Issue with hemisphere part with textures
This affects the textured parts 61287p01.dat, 61287p02.dat, 61287p03.dat, 61287p04.dat: "Cylinder Hemisphere 2 x 2 with Cutout" with textures
The textures for these parts show Mercator-like ma... |
|
Toby Nelson |
Parts Authoring
|
20 |
3,045 |
2024-01-15, 10:14 |
|
|
Thread: Filenames
Post: RE: Filenames
Roland Melkert Wrote: (2024-01-11, 22:38)
--
I don/t think so, it/s up to the developer to decide depending on their targets.
Personally I don.t want to limit the whole world for the sake of cross... |
|
Toby Nelson |
Official File Specifications/Standards
|
14 |
3,093 |
2024-01-14, 8:41 |
|
|
Thread: Filenames
Post: RE: Filenames
Travis Cobbs Wrote: (2024-01-12, 1:40)
--
I'm pretty sure that NTFS supports most of the characters that that article suggests avoiding. And I feel that the article is quite frankly disgusting to eve... |
|
Toby Nelson |
Official File Specifications/Standards
|
14 |
3,093 |
2024-01-12, 15:01 |
|
|
Thread: Filenames
Post: RE: Filenames
Travis Cobbs Wrote: (2024-01-10, 18:01)
--
I don't believe that native file APIs on any OSes have problems with any characters that are valid to use, and filenames referenced inside LDraw files shoul... |
|
Toby Nelson |
Official File Specifications/Standards
|
14 |
3,093 |
2024-01-11, 12:19 |
|
|
Thread: Filenames
Post: RE: Filenames
For reference: https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file |
|
Toby Nelson |
Official File Specifications/Standards
|
14 |
3,093 |
2024-01-10, 11:23 |
|
|
Thread: Filenames
Post: RE: Filenames
Travis Cobbs Wrote: (2024-01-09, 17:06)
--
Actually, the first sentence in that paragraph (about putting quotes around filenames with spaces) stands alone. Nothing else in the sentence is dependent o... |
|
Toby Nelson |
Official File Specifications/Standards
|
14 |
3,093 |
2024-01-10, 10:58 |
|
|
Thread: Filenames
Post: RE: Filenames
Orion Pobursky Wrote: (2024-01-08, 21:32)
--
Filenames are kind of the wild west as they are determined by the user and could be anything including emoji and crazy unicode characters (like: ෴). The o... |
|
Toby Nelson |
Official File Specifications/Standards
|
14 |
3,093 |
2024-01-09, 10:11 |
|
|
Thread: Filenames
Post: Filenames
Hi folks,
The official specification for texture mapping says:
Quote:
--
Filenames that themselves contain double quotes must use \ as an escape character immediately prior to the double quot... |
|
Toby Nelson |
Official File Specifications/Standards
|
14 |
3,093 |
2024-01-08, 21:02 |