Advertisement

Transparency

Started by September 27, 2000 06:54 PM
19 comments, last by Blue*Omega 24 years, 1 month ago
In Nehe''s Particle engine tutorial I noticed that you have to disable Depth Testing if you want to have it look right. This is all fine and good if you are making a tutorial but I don''t want the particles to show thru the walls! Is there a way to make it look right w/o writing a complex BSP engine? ----------------------------- Blue*Omega (Insert Witty Quote Here)
// Tojiart
Don''t disable depth testing instead use the function
glDepthMask(GL_FALSE) before your transparent objects than call
glDepthMask(GL_TRUE) to set it back.
NeHe doesn''t do it right, I would suggest getting a book like OpenGL Programming Guide Third Edition it does this same function in that book.
Advertisement
As stated in the tutorial, it''s a quick way to blend. If you want to draw behind / in front of stuff, the PROPER way is to sort your objects before drawing.
NeHe your a dumbass why don''t you do it the right way bee-atch
Wow, another anonymous five year old who failed kindergarten. Just what we need. He was just giving people who learn from the tuts an idea of how to start transparencies... And, as I remember, it was mentioned in that tut that the proper way was to sort your objects first etc, etc, just like he said... It''s hard to demonstrate sorting in the code without writing everyone''s individual program for them, don''t you think?

S.
'Scuse me Mr. Anonymous! I belive the complaint booth is
thata way --->
If your not gonna answer the question then GET OFF MY POST!
Next time you gripe about Nehe at least use your real name so we can flame you for it.

-----------------------------

Blue*Omega

(Insert Witty Quote Here)

Edited by - Blue*Omega on September 28, 2000 8:02:10 PM
// Tojiart
Advertisement
Ah, he's probably right... I'm a dumb ass

Instead of providing the tutorials as a 'guideline' to learn new things, providing extra information for those interested in doing things properly, I should be walking everyone through the steps (holding their hand at the same time) from a to z. Never showing them the easy way to do something. I should always show them the long, but proper way to do everything, cause you know, the people visiting the site are not capable of modifying the code on their own, everyone uses the code exactly as it is, even if the end result looks bad.

The tutorials are here to introduce features of GL, to show you how to use each new feature, and to use the feature in some way to create a mini project. I have never once said "I am god, do things this way cause I am right"... If you read, 90% of the time I say "The EASY way to do this is...", and if I take the easy route, I usually comment on the proper way to use the feature!

Geez... coming to the forum is great! I mean every day I visit to help out, offer suggestions, post thoughts, I run across messages stating how much of an idiot I am, how I'm not living up to someones expectations, etc. I bet you a million people out there are envious that I get to read messages like this every day, while trying to run a large site on my own with limited resources.

Jeff Molofee ( NeHe )


Edited by - NeHe on September 29, 2000 2:13:19 AM
You need to remember that the majority of people that see your stuff just take it an run without ever thinking about giving feedback. The people who actually take the time to say something constructive about your work are a minority. Anyone can make up an insult and post it to a message board, it''s easy. Your a moderator, you should just delete the senseless posts and get on with life. Responding to the attacks just encourages others to join in because it gets to you. You shouldn''t get flustered by attacks or putdowns about a website, there are better things in life to worry about. All this stuff is just 0''s and 1''s anyways.
The problem is that I''m very critical of the code I put on the site in the first place. As I''ve said many times before, I don''t just slap these tutorials together. Most of them take at least a week just to write the code, and another week writing the HTML. I usually send the code to people I know before I post it to the site, because I don''t want to post mistakes, or cryptic code. So when someone tells me they think the code sucks, they''re basically saying the entire web site sucks. I love GL with a passion, and if I can''t make others enjoy it as much as I do, I don''t see the point to it all. I put alot of man hours into this site. It''s almost like a second job that I make no money at

But you are right, I guess posting replies just encourages more attacking which is not something I want to do. I''d really like it if the people that rag on the site/code would offer suggestions, or perhaps email me before ranting on the message boards. I say it in every tutorial "the code is not perfect, it''s not bug free... if you find mistakes or feel something is incorrect, contact me". No one does. Instead they jump on the forum and start rambling on and on.

Who are they helping by doing that?


Ya know, even if we established world peace, eliminated poverty, cured all diseases, and everyone started being honest for a change theres always someone who would complain about it. You must remember that the complaints make up the minority.
Heres an idea. Put one of them poll thingys on your main page (No, i don''t have a clue how you would do that) For about a week have it ask somthing like "Do you think my tutorials are usefull?" and see what the results are. I bet my life savings that there will be more yea''s than nay''s! Keep up the good work NeHe!
// Tojiart

This topic is closed to new replies.

Advertisement