Slope Meta Command


Re: Slope Meta Command
#21
Ben Supnik Wrote:I'm a little bit confused here. Are you saying:

(a) things like the bumpiness of slope _can_ be defined using the existing !COLOUR meta or
(b) things like the bumpiness of slope _should_ be defined using the existing !COLOUR meta or
© we should extend the existing !COLOUR meta to include bumpiness or
(d) you'd rather have an independent new meta for bumpiness, but are concerned that we clarify how it interacts with the existing !COLOUR meta.
If we go the non TEXMAP route I would prefer 'd', but if we somehow merge it into the texmap spec I would go for a/b or a separeate surface definition meta, all this so the texmap meta can reference a surface finish to use instead of a png file.

But please note I wrote those ideas/suggestions while trying to convince people to extend the texmap meta / mechanics, If we decide to go the separate route I agree on using a simple enum approach instead.


Ben Supnik Wrote:I see two basic options, regarding sub-parts:

- State machine approach - child parts inherit the "current" colour finish from parents, at least until they change it. In this approach, there probably needs to be a "reset" colour finish that puts us back to what the parent was using.

- Disallow nesting. This is what the texmap spec does - I just caught the language now. It's illegal to "re-tex-map" a texmapped sub-part. In this scheme, you could only (while a specialized colour finish is in effect) include a sub-part that has no colour finish.

My original proposal was to disallow nesting, a la textures.
Where did you read the nesting limitations for texmap? Because as far I know it isn't limited at all. Subparts can have textures of their own it will just override any inherited active one. It say so in the spec:
Quote:The texture will remain active when processing an included file unless overridden within that file.
I implemented this in LDCad using a simple stack push/pop approach.


Ben Supnik Wrote:Honestly, it's TEXMAP that makes a mess of things - supporting nested color finish isn't that bad as long as we define a small number of enumerated finishes (as opposed to some crazy "colour finish description language" with a gajillion parameters :-).
This is why I wanted to prevent adding another on/off mechanism. But like I wrote if we go the separate state route, it is better to keep it simple like Orion indicated, I'm just a bit concerned about adding things which can also be done by extending existing things.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Slope Meta Command - by Orion Pobursky - 2015-10-21, 1:59
Re: Slope Meta Command - by Travis Cobbs - 2015-10-21, 4:37
Re: Slope Meta Command - by Gerald Lasser - 2015-10-21, 11:59
Re: Slope Meta Command - by Roland Melkert - 2015-10-21, 16:49
Re: Slope Meta Command - by Travis Cobbs - 2015-10-22, 4:21
Re: Slope Meta Command - by Orion Pobursky - 2015-10-22, 4:48
Re: Slope Meta Command - by Gerald Lasser - 2015-10-22, 7:08
Re: Slope Meta Command - by Roland Melkert - 2015-10-22, 16:30
Re: Slope Meta Command - by Michael Horvath - 2015-10-26, 0:03
Re: Slope Meta Command - by Orion Pobursky - 2015-10-26, 4:20
Re: Slope Meta Command - by Roland Melkert - 2015-10-26, 19:10
Re: Slope Meta Command - by Ben Supnik - 2015-11-18, 1:58
Re: Slope Meta Command - by Roland Melkert - 2015-11-18, 20:45
Re: Slope Meta Command - by Orion Pobursky - 2015-11-19, 2:39
Re: Slope Meta Command - by Roland Melkert - 2015-11-19, 18:10
Re: Slope Meta Command - by Ben Supnik - 2015-11-20, 1:15
Re: Slope Meta Command - by Roland Melkert - 2015-11-20, 18:48
Re: Slope Meta Command - by Ben Supnik - 2015-11-25, 15:57
Re: Slope Meta Command - by Magnus Forsberg - 2015-11-19, 17:34
Re: Slope Meta Command - by Roland Melkert - 2015-11-19, 18:18

Forum Jump:


Users browsing this thread: 1 Guest(s)