Welcome! Log In Create A New Profile

Advanced
Re: Texture Mapping extension
October 26, 2012 01:09AM
Quote
Allen Smith

There's no such thing as a step "inside" a texture. There are textures inside steps. This should make sense, as everything in a model must be in a step (even if it's only an implicitly 1-step model).

Interesting. I hadn't considered looking at the file like that (probably because I rarely use the STEP command), but yeah, that makes sense.

Quote


So now the question is whether either of those steps contain illegal statements. In my opinion, they don't. Step #1 definitely doesn't. We already know that TEXMAP can end when it runs out of scope at the end of a file, so it's perfectly legal (though unsightly) to have a START which isn't balanced by an END.

Step #2 is more debatable. However, in the spirit of how LDraw works, unrecognized type 0 lines devolve into comments. Since neither line in Step #2 has meaning without being prefaced by a TEXMAP START, I consider them stray junk in the file rather than parsing errors.

Allen

That seems reasonable. And if you encountered this:

0 !TEXMAP START...
0 !: <geom1>
0 STEP
<geom2>
0 !TEXMAP FALLBACK
<geom3>
0 !TEXMAP END

then all three blocks of geometry will be rendered when textures are turned on, but that's fine since it's user-error.
SubjectAuthorViewsPosted
Texture Mapping extension Orion Pobursky1016April 07, 2012 09:42PM
Re: Texture Mapping extension Travis Cobbs353April 07, 2012 11:17PM
Re: Texture Mapping extension - Additional questions Nils Schmidt327April 08, 2012 04:00AM
Re: Texture Mapping extension - Additional questions Roland Melkert314April 08, 2012 10:45AM
Re: Texture Mapping extension - Additional questions Joshua Delahunty282April 13, 2012 10:42PM
Re: Texture Mapping extension - Additional questions Travis Cobbs286April 08, 2012 11:35AM
Re: Texture Mapping extension Orion Pobursky315April 08, 2012 11:06AM
Re: Texture Mapping extension Allen Smith280April 08, 2012 04:05PM
Re: Texture Mapping extension Travis Cobbs309April 08, 2012 04:52PM
Re: Texture Mapping extension Joshua Delahunty282April 13, 2012 10:50PM
Re: Texture Mapping extension Roland Melkert307April 09, 2012 10:16AM
Re: Texture Mapping extension Orion Pobursky299April 09, 2012 10:42AM
Re: Texture Mapping extension Travis Cobbs341April 09, 2012 06:19PM
Re: Texture Mapping extension Joshua Delahunty332April 10, 2012 07:49PM
Re: Texture Mapping extension Roland Melkert282April 12, 2012 12:54PM
Re: Texture Mapping extension Orion Pobursky261April 12, 2012 02:38PM
Re: Texture Mapping extension Allen Smith292April 12, 2012 03:37PM
Re: Texture Mapping extension Joshua Delahunty265April 12, 2012 10:01PM
Re: Texture Mapping extension Travis Cobbs292April 12, 2012 10:37PM
Re: Texture Mapping extension Travis Cobbs293April 12, 2012 05:00PM
Re: Texture Mapping extension Orion Pobursky275April 12, 2012 08:32PM
Re: Texture Mapping extension Roland Melkert293April 13, 2012 10:07AM
Re: Texture Mapping extension Joshua Delahunty290April 13, 2012 10:35AM
Re: Texture Mapping extension Orion Pobursky306April 13, 2012 04:56PM
Re: Texture Mapping extension Willy Tschager263April 14, 2012 04:22AM
Re: Texture Mapping extension Joshua Delahunty253April 13, 2012 11:06PM
Re: Texture Mapping extension Tim Gould292April 14, 2012 12:25AM
Re: Texture Mapping extension Travis Cobbs301April 14, 2012 02:12PM
Re: Texture Mapping extension Tim Gould299April 14, 2012 03:08PM
Re: Texture Mapping extension Joshua Delahunty280April 14, 2012 06:47PM
Re: Texture Mapping extension Joshua Delahunty292April 17, 2012 07:23PM
Re: Texture Mapping extension Roland Melkert289April 18, 2012 09:33AM
Re: Texture Mapping extension Joshua Delahunty300April 18, 2012 01:02PM
Re: Texture Mapping extension Orion Pobursky281April 21, 2012 07:00AM
Re: Texture Mapping extension Joshua Delahunty269April 21, 2012 01:16PM
Re: Texture Mapping extension Travis Cobbs286April 21, 2012 02:47PM
Re: Texture Mapping extension Allen Smith347April 21, 2012 05:30PM
Re: Texture Mapping extension Joshua Delahunty315April 21, 2012 06:13PM
Re: Texture Mapping extension Allen Smith338April 21, 2012 06:43PM
Re: Texture Mapping extension Joshua Delahunty316October 26, 2012 01:27PM
Re: Texture Mapping extension Joshua Delahunty312May 22, 2012 09:31PM
Re: Texture Mapping extension Daniel Goerner297May 22, 2012 11:50PM
Re: Texture Mapping extension Joshua Delahunty312May 23, 2012 12:32PM
Re: Texture Mapping extension Alex Taylor346October 23, 2012 10:33AM
Re: Texture Mapping extension Alex Taylor297October 25, 2012 12:47PM
Re: Texture Mapping extension Allen Smith321October 25, 2012 02:22PM
Re: Texture Mapping extension Alex Taylor322October 25, 2012 02:44PM
Re: Texture Mapping extension Allen Smith271October 25, 2012 07:19PM
Re: Texture Mapping extension Alex Taylor297October 26, 2012 01:09AM
Re: Texture Mapping extension Travis Cobbs297October 26, 2012 12:34PM
Re: Texture Mapping extension Alex Taylor279October 25, 2012 02:58PM
Re: Texture Mapping extension Allen Smith270October 25, 2012 04:07PM
Re: Texture Mapping extension Alex Taylor292October 26, 2012 01:05AM
Re: Texture Mapping extension Travis Cobbs322October 26, 2012 12:31PM
Re: Texture Mapping extension Alex Taylor351October 26, 2012 12:37PM
Re: Texture Mapping extension Joshua Delahunty329October 26, 2012 01:12PM
Re: Texture Mapping extension Joshua Delahunty317May 23, 2012 12:43PM
Re: Texture Mapping extension Daniel Goerner332May 23, 2012 03:00PM
Re: Texture Mapping extension Travis Cobbs326May 23, 2012 03:29PM
Re: Texture Mapping extension Joshua Delahunty362May 23, 2012 09:51PM
Re: Texture Mapping extension Daniel Goerner360May 01, 2012 02:54AM
Re: Texture Mapping extension Roland Melkert340May 01, 2012 09:01AM
Re: Texture Mapping extension Daniel Goerner307May 01, 2012 10:19AM
Re: Texture Mapping extension Roland Melkert370May 01, 2012 10:24AM
Re: Texture Mapping extension Joshua Delahunty336May 05, 2012 02:55PM
Re: Texture Mapping extension Orion Pobursky311May 05, 2012 04:43PM
Re: Texture Mapping extension Travis Cobbs331May 05, 2012 07:41PM
Re: Texture Mapping extension Tim Gould286May 06, 2012 10:44PM
Re: Texture Mapping extension Joshua Delahunty346May 07, 2012 09:23AM
Re: Texture Mapping extension Roland Melkert350May 07, 2012 10:05AM
Re: Texture Mapping extension Joshua Delahunty299May 05, 2012 10:26PM
Re: Texture Mapping extension Philippe Hurbain346May 05, 2012 11:04PM
Re: Texture Mapping extension Orion Pobursky322May 06, 2012 10:38AM
Re: Texture Mapping extension Willy Tschager263October 30, 2012 07:09AM
Re: Texture Mapping extension Alex Taylor211November 10, 2012 10:58AM
Re: Texture Mapping extension Travis Cobbs204November 12, 2012 10:30AM
Re: Texture Mapping extension Alex Taylor205November 12, 2012 10:42AM
Re: Texture Mapping extension Philippe Hurbain298November 15, 2012 01:02AM
Re: Texture Mapping extension Roland Melkert262November 15, 2012 10:00AM
Re: Texture Mapping extension Philippe Hurbain303November 15, 2012 10:45AM
Re: Texture Mapping extension Tim Gould283November 15, 2012 02:51PM
Re: Texture Mapping extension Philippe Hurbain237November 30, 2012 01:13AM
Re: Texture Mapping extension Roland Melkert254November 30, 2012 09:44AM
Re: Texture Mapping extension Philippe Hurbain230November 30, 2012 10:02AM
Re: Texture Mapping extension Tim Gould354November 30, 2012 01:55PM



Sorry, only registered users may post in this forum.

Click here to login