Questions about Colours
hi, everyone! i want to ask about colour overlapping problem. i use opengl to write a Solid Icosahedron and filled it with yellow. then i placed a cube which is green in colour which center is on the boundary of the Icosahedron. an expected happened~~ the cube is over the Icosahedron, which mean green is placed above the yellow. but i want it to show yellow over green. how can i do this?? plz help me. thanks a lot!!
/--------\
|----------/-- \
|green / | yellow\
|--------/-^-| \
\ | /
\| /
|\---------/
|
i want this is yellow, not green
Please, place your diagram inside
tags. That way it will look how you intended it.
[ /--------\]
[|---------/-- \]
[|green / | yellow\]
[|-------/-^-| \]
[ \ | /]
[ \| /]
[ |\---------/]
[ | ]
i want this part is yellow what can i do? Thx.
is this alright
[|---------/-- \]
[|green / | yellow\]
[|-------/-^-| \]
[ \ | /]
[ \| /]
[ |\---------/]
[ | ]
i want this part is yellow what can i do? Thx.
is this alright
you need to write
--
New feature - Windows users, press ALT-F4 to launch the IQ test.
before the drawing and
just after, just without the spaces between the word "code" and the brackets. --
New feature - Windows users, press ALT-F4 to launch the IQ test.
--New feature - Windows users, press ALT-F4 to launch the IQ test.
If the center of the cube is on the edge of the icosahedron, then one of the faces of the cube will be in front of it. Thus, you''ll get green in front of yellow.
I''m a bit confused as to why that''s not what you''re expecting.
Just Plain Wrong
I''m a bit confused as to why that''s not what you''re expecting.
Just Plain Wrong

This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement