-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Technique parameter questions #239
Comments
(2) I'd shy away from making type optional. On Tue, Feb 25, 2014 at 12:30 PM, Patrick Cozzi [email protected]:
|
My suggestions:
|
|
@fabrobinet what are your thoughts on 3.a and 3.b? |
+1 @pjcozzi on 3.a. |
3.a Source is good to not have to worry about potential other places in the future where we would get a transform of a light from, but have |
3.a) I prefer 3.b) I'm confused here. Why is |
3.a) ok for Also, since this is all generic, I believe we may not need light types, they are useless as the rendering is driven by the shaders, though, in |
3.a) Schema is updated. bbc3ad6 3.b) My current implementation is if there is a
|
3.b) Yes, that's the matrix from the
|
Let's do the proposal in #93. I think I am on board with it, but let me see the details first. Labeling this as |
@tfili we can close this issue once we rename a technique parameter's |
Sorry I'm lost on this one. It's currently |
And in fact, if we want to start dealing with issues I brought up r/e a light's direction #409 then we could in fact use a "light0Direction": {
"source": "directionalLight1",
"target": "direction",
"type": 35665
}, |
We decided on However, I am happy to pause on this rename until lights are solid. |
Actually I meant "light0Direction": {
"source": "directionalLight1",
"path": "direction",
"type": 35665
}, |
But it could be So I say go for it. LMK when the converter change is made. I also need converted models for the Three.js loader to test it. |
Sounds good. |
Changed source->node in d84a366. |
@tfili is the converter updated? |
The source->node change is in dev-1.0 branch. |
Nice. |
I'm writing the schema for techniques and want to confirm several things:
values
is either a scalar or an array, depending ontype
, e.g.,I want to confirm that we prefer this over making
value
an array of size one for scalar values. What we have now makes the spec slightly more complicated, but it is slightly better code-wise for my implementation.type
to always be required, or (b)type
to be optional ifsemantic
is provided and have a sensible default. For example:(a) Required:
(b) Optional:
source
tonode
? Or will this property reference other types?JOINT
JOINT_MATRIX
WEIGHT
POSITION
NORMAL
TEXCOORD_0
(and others I suspect)The text was updated successfully, but these errors were encountered: