NeHe OpenGL Lesson45 – Vertex Buffer Objects

This samples shows us how to put the mesh render data such as the vertex position, texture coordinates and even more vertex data upload into the video hardware. The samples what saw before that vertex data provided by the glVertex3f or glTexCoord2f

Calculate Smoothing Tangent Space for Meshes

Some ideas about calculating tangent space for meshes are cleaned here. It is very easy to calculate the tangent basis vectors if the vertex normal and diffuse uv sets were provided for each triangles. Some problems may appear when several

NeHe OpenGL Lesson46 – Fullscreen AntiAliasing

This sample shows us how to switch on the MSAA (Multiple sampling Anti-Aliasing) on windows. I remember some material that I read before. The MSAA just sample several pixels instead of only one pixel at each position. Then an average pixel will be

百度收錄被K 被迫拍了一下馬屁

鬱悶之極呀,前幾天公司的伺服器在託管公司那邊出了點問題,導致網站被停了3天,可是這一停呀,百度便把我們曾經收錄的資訊全部被K掉了,現在網路正常了,可是在百度再也找不到我們公司網站的影子了,這給我們的客戶造成了很大的影響,包括我們友情串連的夥伴都有一部分取消了與我們串連,這個世界真是勢力呀,沒辦法,我雖然又重新向百度提交了我們的網址,但等了很長時間還是不見效果,於是便給百度發了封郵件,希望能儘快重新收錄,當然有事求別人不得不說給別人說些好聽的話了,人在屋簷下,不得不低頭嘛,說實話,我也不怎麼喜歡百

NeHe 5 steps for the OpenGL Graphics Pipeline

NeHe Productions_ Prep_ The Graphics Pipeline This article gives us a brief idea on how does OpenGL make your triangles display on the screen. Well, it is simplified one, and some information missing here. Some important information like, early z

NeHe OpenGL Lesson47 – CG Vertex Shader

This samples us how to apply Cg vertex shader in OpenGL. Shader is a kind of short c-like code that could run on the GPU. One the one hand, we could get much flexibility while rendering our-own visual effect. This will keep us away from hard

NeHe OpenGL Lesson48 – ArcBall Rotation (Mouse Rotation)

This sample provides us an ArcBall module that we could use to rotate object along the screen with mouse. The underneath idea is mapping a 2d screen position into a 3d sphere coordinate. A rotation Quat  could be calculated out by two sphere

jquery學習之路一

 因為公司**原因,好長時間都沒做項目開發,這段時間就是搞點維護工作,維護說白了也就等於來公司混日子,無聊之際下載了很多電子書學點新東西, 先說說jquery吧不得不說這是一個好東西,jQuery是一個快速的,簡潔的javaScript庫,使使用者能更方便地處理HTML

NeHe OpenGL Lesson39 – Introduction to Physical Simulations

This sample gives us some basics information about Physical Simulations. Some terminologies like Mass, Force, acceleration, velocity, time, position and the relationships among them are described here. For the simulation part, we need to use

Time for change the strategy of master technology

In the last few years or months, I have made a lots of technology learning plans. Every time, I want to learn a new kind of technology, I always want to learn from the ZERO. That means I will copy or try to re-build the whole thing from the very

行路難之勇闖天下(一)

在c城市做了幾天編輯,覺得實在無聊+沒前途,終於痛下決心、忍痛割愛離開最愛的城市和最愛的人去s(南方沿海)城市打拚。於是帶著家人的反對、親人的挽留、朋友的遺憾揮別這片從小長大的天空和幾個朋友踏上了遠去的列車。來在s城市的給人的第一感覺是樓好高、天好灰,總讓人感覺自己好渺小、前途好迷茫;繁華的都市總是那麼孤獨,總是叫人那麼的無奈、那麼的力不從心,甚至讓人感到呼吸困難;坐在老闆來接我們的車上,透過那憂鬱暗淡的玻璃看見那長長深南大道風光無比,但也有陰沉暗淡的村中小巷,一座座天橋是那麼的冰冷刺骨,小巷的

OpenGL Shading Language

A good start to learn OpenGL Shading language. This simple program was built under Ubuntu OS. The process that OpenGL using shading language is the much similar as D3D. Some difference exists like, pixel shader or fragment shader, the vertex

從資料庫中的新聞欄位中擷取第一個圖片路徑

今天給別人修改一個項目,我相這是程式員同志們最煩的事情啦,特別是在別人設計不合理,代碼書寫不規範的情況下,更是痛不欲生,很不幸這個項目就是一個失敗中的典型,廢話少說,言歸正傳,因為資料庫設計不合理的原因,所以必須要在前台新聞欄位(也就是text類型,通過新聞編輯器向裡插入的html代碼)取出第一個圖片的圖片路徑,實現方法有兩種,一種是可能sql的字串函數來擷取,當然還有一種最為方便、簡單、快捷的方法,那就是通過.net的Regex。 方法一

NeHe OpenGL Lesson43 – FreeType Fonts in OpenGL

This samples shows us how to create anti-aliased font. The WGL font bitmap saved with binaries image, that means only one bit per pixel. This will cause some aliased problem as you zoom in the font. The font edge become very obvious and sharper. To

iPhone開發學習之路

         年底入手了一部久違的Iphone4,也算是加入了愛瘋族,愛不釋手,除了時尚的外觀、華麗的介面以及觸動心弦的手感之外,還發現IPhone4上有很多非常出色的應用,開啟iTunes商店,琳琅滿目的各類應用軟體應有盡有,當然大部特別出色的軟體都是收費軟體。 Apple公司的IPhone已經開創了移動平台新紀元,它與App Store的絕配也為全世界程式員提供了一個施展才華的全新大舞台,只要有新奇的創意,完全可以開發出非常優秀的應用放入App

Code::Block Usage Under Ubuntu

Code::Block is a C/C++ IDE that could run on different OS, Windows, Linux and Mac OS. Comparing to the VS under the windows, it is less powerful. But it will help you a lots, and improve the your work efficient if you were not an Linux coding expert.

NeHe OpenGL Lesson44 – 3D Lens Flare With Occlusion Testing

This samples shows us how to render a 3D lens flare with OpenGL. A lens flare effect go with a light source. Before divide into the render part, there are several things that need to be addressed first. 1) How to make sure whether a light source

GL-ShotGame Already Finished!!

In the last several weeks, I dedicated myself to one “EasyGame”series C++ coding during my spare time. The first version source origin from <<學OpenGL編3D遊戲>>. The source structure and coding style are really bad, but it full of passion

jquery學習之路二

前幾天寫了jquery學習之路一,很多朋友看了說很初級,的確是這樣,因為每學一樣新的東西都是從初級入門嘛,正如一個小孩剛學說話時,你要給他說一個簡單的詞語才行,比如他看到一朵玫瑰花時,你要給他解釋說這是花花,如果你第一次給他說這是玫瑰花的話,反而讓他記不住,所以我們在學習時也是一樣,我想大多數朋友也一樣,在學習一門新的語言時,一般第一個例子都是“Hello World”吧,這也可以稱之為語言入門的一個經典,好了廢話不多說,開始學習吧!  jquery選取器

OpenGL AVI Player (glut window)

This program shows how to play video with OpenGL & OpenAL. The .avi file that could be supported should be an old AVI file format, that no video & audio data compress happened here. This kind of AVI file format is not popular on the current

總頁數: 61357 1 .... 12574 12575 12576 12577 12578 .... 61357 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.