Advertisement

Questions about Colours

Started by December 05, 2001 08:50 AM
3 comments, last by tony_turtle 23 years, 2 months ago
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.
Advertisement
[ /--------\]
[|---------/-- \]
[|green / | yellow\]
[|-------/-^-| \]
[ \ | /]
[ \| /]
[ |\---------/]
[ | ]
i want this part is yellow what can i do? Thx.

is this alright
you need to write
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
CoV

This topic is closed to new replies.

Advertisement