LDraw.org Discussion Forums
Invisible texmap pattern - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: Models and Parts (https://forums.ldraw.org/forum-18.html)
+--- Forum: Parts Authoring (https://forums.ldraw.org/forum-19.html)
+--- Thread: Invisible texmap pattern (/thread-22123.html)

Pages: 1 2

RE: Invisible texmap pattern - Philippe Hurbain - 2018-01-05

Loosely related: it would be nice have a mechanism to embed (unofficial) textures in mpd files!

RE: Invisible texmap pattern - Merlijn Wissink - 2018-01-06

(2018-01-05, 10:41)Chris Dee Wrote:
(2018-01-05, 10:30)Merlijn Wissink Wrote: The actual images aren't included in the library? Huh

Not at the moment.

I need to do some work to the Parts Tracker and the LDraw parts update creation process to be able to support TEXMAP image files.

Ah, I see. I'm a bit out of the loop as far as texmap is concerned. 
Does anyone have a separate zip file containing all the images currently used in (un)official parts for the time being?

RE: Invisible texmap pattern - Philippe Hurbain - 2018-01-06

Quote:Does anyone have a separate zip file containing all the images currently used in (un)official parts for the time being?

AFAIK I'm the only author of texmapped parts, so this should be complete:

RE: Invisible texmap pattern - Joshua Delahunty - 2018-01-24

(2017-03-24, 16:25)Magnus Forsberg Wrote: This part
[Image: 6110077.jpg]
is now present at the Part Tracker, but the TEXMAP pattern is not visible from behind, when I use it in LDCad, on a transparent part.

Is it possible to combine a TEXMAP pattern with a BFC NOCLIP ?
If so, how should a correct file syntax look like?

This thread encouraged me to take stock of current TEXMAP support among the renderers I know of.

Foundry allowed the transparency of the part to "transfer" to the opaque portions of the texture, and so made the texture transparent; this was a bug.  Foundry was fixed through use of a "double render" fix.  I expect that a true fix will only come with multi-texturing (though I'm not speaking to that as an expert by any means).  The fact that our proof-of-concept framework app for TEXMAP didn't do this right was concerning. Sad

Unfortunately, this fix did "break" the ability to see the texture from "behind" the transparent part.  The rendering pipeline is being worked on in Foundry, and we hope to get both of those working, plus implementation of shaders to continue to add rendering features.

Stud.io does not appear to support texture mapping at this time.  The LDRAW directory they use does not feature a parts/textures/ directory.

Bricksmith renders the opaque portions of the texture transparently, and does not show the texture "through" the transparent part.
NOTE: I'm pretty sure Bricksmith only does PLANAR at this point.

I'm not able to test LDCad from my Mac.  I understand that things are better, but the true improvement will come with LDCad 2.0?
LDCAD is the only package supporting CYLINDRICAL and SPHERICAL mapping at this time.

LeoCAD had its issues when I started testing (it would actually crash on TEXMAP references; whereas an earlier version had worked fine).  Leo fixed that, plus has it rendering opaque portions opaquely, and you can see the texture through the part from the "back."

There are still some sorting issues that occur occasionally, so if you have a TEXMAPped part behind a transparent TEXMAPped part, sometimes from certain angles the TEXMAP of the background part will render fully opaquely in the foreground.  I had to hunt to see this issue, personally.

Generally, though, LeoCAD currently has the best render, which if I'm not mistaken is partially because he's doing shader operations to get it to work. LDCad 2.0 is due to do this as well, I think?

Leo is working towards CYLINDRICAL and SPHERICAL mapping next, and is considering OBI (a different but similarly designed feature) as well.