• Welcome to Dark Bit Factory & Gravity.
 

C# + OpenTK - Planning a Tutorial

Started by combatking0, July 02, 2012

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

combatking0

I'm planning a beginners' guide to C# and OpenTK. Here's what I have planned so far:

Requirements:
Install Sharp Develop
Install OpenTK

Part 1: Basic Set-up
Create new project
Link to OpenTK dll
Link to OpenTK Control dll

Part 2: Prepare for Graphics
Add GLControl to MainForm
Check for loading
Set up viewpoint (FOV)

Part 3: First Steps
Set up timer (frame rate)
Define corners and faces
Draw to GLControl (Wireframe)

Part 4: Spin it Right Round
**Research GL rotation**
Draw to GLControl (Polygons)
Back Face Culling

Part 5: Move Towards the Light
Add keyboard controls
Add Texture Mapping
Add Light Sourcing

I'll try to put together one part each day for the next week or so.
I've been using the quaternion functions I worked on for Actionscript for rotation, but I've heard that there are native quaternion functions in OpenGL / OpenTK, so Part 4 could be delayed while I learn about them.

Any suggestions as to what to add, and I'll try to put them in.
You are our 9001st visitor.
Challenge Trophies Won:

Hotshot

Good  Step by Step Tutorials  there :)

Raizor

Cool idea CK. Might want to add 'Fog' to Part 5. It's quite easy can look quite nice.
raizor

Challenge Trophies Won:

combatking0

Good one - here's the revised schedule:

Requirements:
Install Sharp Develop
Install OpenTK

Part 1: Basic Set-up
Create new project
Link to OpenTK dll
Link to OpenTK Control dll

Part 2: Prepare for Graphics
Add GLControl to MainForm & Check for loading
Set up viewpoint (FOV)
Set up timer (frame rate)

Part 3: First Steps
Define corners and faces
Draw to GLControl (Wireframe)
**Research GL rotation**

Part 4: Spin it Right Round
Draw to GLControl (Polygons)
Back Face Culling
Add keyboard controls

Part 5: Light & Dark
Add Texture Mapping
Add Light Sourcing
Add Fog Effects
You are our 9001st visitor.
Challenge Trophies Won:

Shockwave

This is a good idea, it's nice of you to put your new-found knowledge to use in helping others.

I look forward to reading your tutorials :) K+
Shockwave ^ Codigos
Challenge Trophies Won:

combatking0

Part 1 is now up - http://barcodebattler.co.uk/tutorials/

Please let me know if I've been too informal. Sorry Pete (at work), but your smugness has made you famous  ;)
You are our 9001st visitor.
Challenge Trophies Won:

Jim

I happen to prefer this stuff with minimal css :)  Good job.
Jim
Challenge Trophies Won:

combatking0

#7
Thanks Jim.

Part 2 will be up tomorrow night, hopefully.
You are our 9001st visitor.
Challenge Trophies Won:

combatking0

Part 2 took a little longer than I thought it would - part 3 will be up this week.
You are our 9001st visitor.
Challenge Trophies Won:

combatking0

Part 3 is coming along slowly - we'll get through it soon.
You are our 9001st visitor.
Challenge Trophies Won: