Questionable Content
May 7, 2010 in Miscellaneous by Eric | 16 comments
Here are a few questions, there are no right answers (except for the one with a right answer), and please choose the first answer that comes to you:
What are the primary colors?
A. Red, yellow, blue
B. Red, green, blue
You’re making a 3D model of some object. Which way is up in your world?
A. +Y
B. +Z
What color is chartreuse?
A. Green-yellowish
B. Red-orangish
You write out a 4×4 transform matrix to translate an object. You put the translation values:
A. in the bottom row
B. in the right column
All for now, my opinions and theories tomorrow (though feel free to comment before then).
Update: “answers” here.
-
wforl on May 7, 2010 at 5:29 am
Well, Crytek uses Z-up, so that MUST be the right anwer :p
When people plot 2d graphs, you’ll always see it plotted against X and Y. X is always known as “Across” and Y as “Up”, so extending upon this concept with another dimension (Z), this should be Depth? no? …. seeing as “Up” and “Across” are already taken. I think working in 2d where Y is Up and 3d where Z is up just confuses things. I guess this all depends on your perspective though, i.e. are your viewing that graph as say a painting on the wall, or the carpet on the floor. In whixh case the opposite would apply. Oh cruel world ! stop confusing me !
I kinda think the same thing for the last question. Why have 2 different standards thats essentially lead to the same result just with different looking calculations? It just confuses matters when it needn’t.
-
Sander van Rossen on May 7, 2010 at 7:36 am
For me it’s
1. RGB
2. +Y
3. C (== I’ve never even heard of chartreuse!)
4. A -
reavenk on May 7, 2010 at 8:24 am
It used to be RYB from K through 12 in art class, then when I started doing computer graphics it was RGB, and for the longest time I didn’t know why it changed until wikipedia taught me the difference between subtractive and additive color wheels.
It used to be +Y was up back in school while I was learning to program, all the student and teachers had this unspoken agreement that that was the de facto. When I got a job, it was Z+, and 4 years later I’m still not used to it.
Greenish-Yellowish.
Right Column – just because it’s easier for me the visualize the matrix in column form.
-
sigmel on May 7, 2010 at 8:36 am
1. RGB – I’ve always been around computers, I suppose
2. +Y – Though I can see wanting to use Z+, especially when dealing with 3D textures
3. A – Never knew there was an red-orangish version
4. A – Just been preferential to row major matrices all my life -
kmadsen on May 7, 2010 at 10:25 am
Magenta, yellow, cyan is for painters, and RGB is better.
Am I making the model, the world, or both? …. OK +Y
Green-yellowish… no contest
In the right column -
Simon Taylor on May 7, 2010 at 11:07 am
For no. 4, obviously I’d put them in the bottom row, and when that didn’t work I’d try the right column
. -
cyril crassin on May 7, 2010 at 1:17 pm
There is a green and a yellow Chartreuse, but no way it can be orange ! It is made a few kilometers away from Grenoble
-
mvandewettering on May 7, 2010 at 2:01 pm
1. RGB. I can’t think of a reason to consider RYB.
2. I think of +Y as going up. It’s annoying though, since I think of pixel coordinates having +Y going down.
3. Isn’t chartreuse a wine made in France?
4. I’ve written it both ways. In recent years, I prefer to think of points as column vectors, which means it is most natural to place them in the last column. I believe that I’ve written raytracers with both conventions though. -
xskinyx on May 7, 2010 at 5:09 pm
A,A,A,A
Question 2 could go either way though…. since alot of artwork is authored Z up. I prefer LHS, so Y up seems more sane.
-
LRBni on May 7, 2010 at 6:05 pm
1. A (RYB) – unless talking specifically about CG
2. A (+Y)
3. ? – Never heard that word to describe a colour
4. B (right column) -
Pingback from Real-Time Rendering · Questionable Answers on May 8, 2010 at 8:03 am
-
itsjrich on May 8, 2010 at 9:56 am
1) Definitely RGB.
2) +Y… Z is for depth, hence Z-buffering.
3) Green-yellow… had no idea that there were other colors with that name.
4) Right column. -
Reg on May 9, 2010 at 12:29 pm
I know it’s too late but here are my answers anyway:
* A (RGB) of course.
* Usually A (+Y) as it’s assumed by default in DirectX/OpenGL, although I sometimes use +Z when doing outdoor terrain rendering.
* ?? My English is not so good, sorry.
* A because I use DirectX. And I believe it’s generally more intuitive to transform vec2 = vec1 * matrix than vec2 = matrix * vec1
-
Ivan-Assen on May 10, 2010 at 2:15 am
We spent our first 5 years in the industry doing 2D RTS games, so it was only natural, when starting our 3D engine, to keep “the action” in the XY plane, and make +Z “up”
You must be logged in to post a comment.
Tags
Recent Comments
- Eric on Launched!
- sarahmiller29513 on Launched!
- Jerry.Richards on Please stop revealing this “dirty little secret”
- [Video] Earth with Rings | Laboratory Sandbox on A cool “what if” video – Earth with rings like Saturn
- Shchvova on “Interactive 3D Rendering” is finally complete!
- Mauricio on “Interactive 3D Rendering” is finally complete!
- Discordian93 on Please stop revealing this “dirty little secret”
- Real-Time Rendering · “Processing” course from Andrew Glassner on 7 Things for July 18th
- Why does handedness matter at all? | Question and Answer on Left-Handed vs. Right-Handed Viewing
- Eric on Dinner Bell, Dinner Bell, Ring!
Recent Posts
Archives
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008

16 comments
Comments feed for this article
Trackback link: http://www.realtimerendering.com/blog/questionable-content/trackback/