Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
25 May, 2013, 18:51:20 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: 3D Game Tutorials -  (Read 493 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Topic starter
Total Post Ratings: +43

View Profile
« on: 10 June, 2012, 21:59:49 »
+1

Now, I'm sure everyone is aware of the numerous game and rendering engines that exist today, such as OpenGL/OpenTK, Unity, CryEngine, XNA, LWJGL, and many others, but if you're like me, you've wanted to know all of what's going on behind the scenes. I was content to just use those third-party libraries, but my main curiosity was how everything was being done. I've finally found a tutorial that creates a 3D engine from scratch while explaining what's going on and why. Though it is completely software based (i.e. no hardware acceleration, and framerate will depend on processors), the creator, Yan Chernikov aka The Cherno, goes through every step and explains everything thoroughly. So far I'm on episode 21, but there are 33 total and the series is still in active development. If TheCerno sticks with what he's said in one of his videos, he will make a tutorial on how to use LWJGL or some other third-party game engine after this series is complete.

I've attached a picture of what my engine could render at the end of episode 20. If you're interested in following along, you can find the series here. As a note, you do need to know at least some Java before starting this tutorial, but in the first six or so episodes he does explain what certain things are and what they do (such as a brief explanation on bit-shifting, and other bit operators (& and |)).
EDIT: Also, as far as I can tell, this can be ported to .NET WinForms by using a Bitmap that's had its bits unlocked, and C++ using QuickGC.


* render.png (92.26 KB, 636x455 - viewed 170 times.)
« Last Edit: 10 June, 2012, 22:02:49 by BlakPilar » Logged
ben_g
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: Today at 10:32:55
Date Registered: 08 May, 2011, 21:03:27
Location: (ix+$43)
Posts: 651


Total Post Ratings: +81

View Profile
« Reply #1 on: 10 June, 2012, 22:04:26 »
0

Looks nice. Do you draw everything pixel by pixel or do you use one of java's build-in methods to render the textures?

Also 52 fps sound a bit slow. Does the framerate drops much when you add more models?
Logged

Spoiler for completely unimportant stuff:
My projects
 - A base converter that also supports signed and fixed-point numbers.
 - A first person shooter with a polygon-based 3d engine.
Spoiler for latest screenshot:
- A java MORPG.
Spoiler for screenshot:
- a minecraft game in axe
Spoiler for Only open this spoiler if you want to read what's inside:
What's inside.
From when I saw this image, I never lost the game again!
Spoiler for This is [Edit:
not[/Edit] my contest entry. I hope you like it.]
BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Topic starter
Total Post Ratings: +43

View Profile
« Reply #2 on: 10 June, 2012, 22:09:42 »
0

You use Java's BufferStrategy along with Graphics and a BufferedImage to render everything, but it's technically pixel-by-pixel. As for the FPS, I'm on my laptop with several other programs running at the moment. I get between 60 and 65 when only Eclipse and the program are running. If I were to take away those three walls, there'd be no noticeable change because TheCherno does it in a pretty efficient manner as far as I can tell. (Plus he even openly admits that some of the rendering is from Notch's code because you can completely customize what is being rendered.)
Logged
Scipi
Omni Kitten Meow~ =^ω^=
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 11:37:06
Date Registered: 12 September, 2010, 08:35:24
Location: Lost Town
Posts: 1387


Total Post Ratings: +146

View Profile WWW
« Reply #3 on: 02 July, 2012, 13:01:40 »
0

I cannot believe I missed this. I'm definitely going to follow these tutorials, I've been wanting to get into 3D programming period, and this will most likely help! Cheesy
Logged



Spoiler for Things I find interesting:
Spoiler for AI Programming:
Spoiler for Historical warfare/Formations(Warning: Large images):
Phalanx

Testudo

Schiltron

Better version
Terico

Line

Square

Spoiler for Shameless advertising:

Spoiler for OldSig:
Imma Cat! =^_^= (Make this an emoticon!)





Spoiler for IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Spoiler for Misc:


Spoiler for Goosed stuff:
FUSION-TIME GO!
aeTIos
You got stair'd!
LV12 Extreme Poster (Next: 5000)
************
Offline Offline

Gender: Male
Last Login: Today at 13:15:10
Date Registered: 15 September, 2010, 06:00:00
Location: Netherlands, Overijssel
Posts: 3121


Total Post Ratings: +120

View Profile
« Reply #4 on: 02 July, 2012, 13:45:11 »
0

Oh wow Cheesy Thanks a lot!
Logged

If something above sounds rude, feel free to vote it down, it was not meant to be rude<<lolol
--Always stay relAXEd!--


Spoiler for Hidden:


[







Spoiler for Still Alive:
This was a triumph.
I'm making a note here: HUGE SUCCESS.
It's hard to overstate my satisfaction.

Aperture Science:
We do what we must because we can.
For the good of all of us
Except the ones who are dead.

But there's no sense crying over every mistake
You just keep on trying till you run out of cake
And the science gets done and you make a neat gun
For the people who are still alive.

I'm not even angry.
I'm being so sincere right now.
Even though you broke my heart and killed me.
And tore me to pieces.
And threw every piece into a fire.
As they burned it hurt because
I was so happy for you.

Now these points of data make a beautiful line
And we're out of beta we're releasing on time.
So I'm GLaD I got burned think of all the things we learned
For the people who are still alive.

Go ahead and leave me.
I think I prefer to stay inside.
Maybe you'll find someone else to help you.
Maybe Black Mesa -
THAT WAS A JOKE. HA HA, FAT CHANCE.
Anyway, this cake is great:
It's so delicious and moist.

Look at me still talking when there's science to do.
When I look out there it makes me GLaD I'm not you.
I've experiments to run there is research to be done
On the people who are still alive

And believe me I am still alive.
I'm doing science and I'm still alive.
I feel FANTASTIC and I'm still alive.
While you're dying I'll be still alive.
And when you're dead I will be still alive.

Still alive
Still alive
BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Topic starter
Total Post Ratings: +43

View Profile
« Reply #5 on: 02 July, 2012, 17:34:14 »
0

He's still a student, and kind of stopped right before collision with the actual 3D part, but just from there it really helped me. I've found another tutorial by thecplusplusguy for 3D. He does it with OpenGL, SDL, and C++, but I've been following along with Tao and C#. He explains everything really well, and it's very helpful.
« Last Edit: 02 July, 2012, 17:35:22 by BlakPilar » Logged
Scipi
Omni Kitten Meow~ =^ω^=
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 11:37:06
Date Registered: 12 September, 2010, 08:35:24
Location: Lost Town
Posts: 1387


Total Post Ratings: +146

View Profile WWW
« Reply #6 on: 02 July, 2012, 21:56:18 »
0

Once I finish the Java tutorials, then I'll definitely look through those C++ ones! Cheesy

Just finished the fourth video, already solidifying info I learned in my Java course. Tongue
Logged



Spoiler for Things I find interesting:
Spoiler for AI Programming:
Spoiler for Historical warfare/Formations(Warning: Large images):
Phalanx

Testudo

Schiltron

Better version
Terico

Line

Square

Spoiler for Shameless advertising:

Spoiler for OldSig:
Imma Cat! =^_^= (Make this an emoticon!)





Spoiler for IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Spoiler for Misc:


Spoiler for Goosed stuff:
FUSION-TIME GO!
BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Topic starter
Total Post Ratings: +43

View Profile
« Reply #7 on: 03 July, 2012, 07:01:47 »
0

Yeah, he assumes most of the people who go to watch his tutorials are those kinds of people who skip over the basics and go straight to the hard stuff then complain when they don't understand it lol.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.425 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.