PDA

View Full Version : Help me source code



xuantuan93
11-16-2013, 07:39 PM
Hi,
I am a Vietnamese.
I am a drawing exam with OpenGl https://www.dropbox.com/s/8hg0bi83ebmo8h5/Untitled.png
help me!!!!!!!
sory, my english is not good!!!! :D

tonyo_au
11-17-2013, 05:00 AM
Looks like you need to draw a sphere with are decal of a star with a single light source - good luck

xuantuan93
11-17-2013, 06:09 AM
Looks like you need to draw a sphere with are decal of a star with a single light source - good luck
thank you very much. but my teacher doesn't permit decal stickers. :(

Aleksandar
11-17-2013, 10:02 AM
The idea is to use fragment shader to accomplish that. There is a plenty of exaples, e.g. OpenGL Shading Language 3rd edition pg. 341.

xuantuan93
11-17-2013, 06:09 PM
The idea is to use fragment shader to accomplish that. There is a plenty of exaples, e.g. OpenGL Shading Language 3rd edition pg. 341.
thanks. can you link to download it?

menzel
11-18-2013, 01:32 AM
thanks. can you link to download it?

Here you are: http://www.amazon.com/OpenGL-Shading-Language-3rd-Edition-ebook/dp/B002HMJYC4/ref=tmm_kin_title_0?ie=UTF8&qid=1384767017&sr=8-1 - you can download the ebook for your Kindle for 32$, not sure if there exists another eBook format, if not you'll have to go with the paper version.