![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Jan 2006
Location: UK
Posts: 214
Rep Power: 3
![]() |
3D rendering Graphic Engine
Hi all,
I'm writing a mini graphic engine for my Advanced graphics assignment. some features currently include: # OpenGL for rendering # SceneGraph for managing SceneNodes such as cameras, meshes, lights etc # 2D spriteManager # Customizeable # OBJ file loader # TGA file support for textures Although this is very much still a work in progress, I am however now at the stage where I can see results of my hard work. heres a quick youtube video containing a room with desk, 3 chairs, a book on the desk, some spread pages and a PC under the Desk. http://youtube.com/watch?v=vcY6CrLyGAY My next stage is to load the textures of the walls chairs etc, and load them accordingly. As you can see I am using one texture at the moment for all objects, but this shows that the texture UV's are rendering the textures correctly on the objects. I also get this scene properly lit with some lights, and to add something that is animated. These are all part of the requirements for my assignment. As I enjoyed this work and the learning process of it all, I would like to continue working on this project, and start building some robust libraries. some future work I am already considering is : # MD2 and FBX support # fix BMP and possibly add other image files support ? # particle effects system Not releasing the Code as of yet as its in a very raw state, but will release the full source in two weeks time when Its due in, complete with some web documentation until then if anyone is interested in this. Thanks for checking out my current project ![]() |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Jan 2006
Location: UK
Posts: 214
Rep Power: 3
![]() |
also, please do not laugh at the last three letters of the generated HTML code from youtube... ¬_¬
|
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Feb 2006
Posts: 214
Rep Power: 0
![]() |
Good work! I know how hard that stuff in OpenGl can be to get working.
__________________
Death smiles at us all. All a man can do is smile back. Last edited by Eric the Red; May 24th, 2007 at 11:40 AM. |
|
|
|
|
|
#4 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 296
Rep Power: 4
![]() |
Looks good so far. Looking forward to see it with textures. If you got some kind of design document (UML or simliliar) it would alos be fun to see.
Keep up the good work!
__________________
http://www.klarre.se |
|
|
|
|
|
#5 |
|
Programmer
Join Date: Jun 2005
Posts: 68
Rep Power: 4
![]() |
Very interesting.
|
|
|
|
|
|
#6 |
|
Expert Programmer
|
Nice work, Looks very good.
|
|
|
|
|
|
#7 |
|
Hobbyist Programmer
|
look good so far, but why the dark red and black?
I to am interested in 3D graphics. I have this book but no OpenGL book. What text book(s) and materials are you using for your class?
__________________
i dont know much about programming but i try to help |
|
|
|
|
|
#8 |
|
Hobbyist Programmer
Join Date: Jan 2006
Location: UK
Posts: 214
Rep Power: 3
![]() |
Hey guys, thanks for the feedback.
Sorry its taken a while to get back to you all, but my fingers lost to a fight with a burning hot bbq ans have therefore been incapacitated this week. @Klarre, I will be generating some UML diagrams using starUML next week. I will post them up here afterwards. to for now, and the black is merely a clear bit color @mrynit, the red is purely a base color I've set when rendering the face of the polys and set black as the clear color. The 1 black wall is due to it being culled on the wrong side. This is due to me not checking the normal of the face when modelling it. You are definately on the right track with the book you have now. I'm still learning the basics of OpenGL, but Fortunately I had a good knowledge of vector maths, which helped me with the development of the OBJ loader and a working camera class. One Book I would recommend is the good old red book. The original version is available free. Its a bit old, but the basics have barely changed in recent times. Also the Blue Book which is also free, which is a reference manual for OpenGL. links for these two at : red book - http://www.glprogramming.com/red/ blue book - http://www.glprogramming.com/blue/ Also I found Advanced Graphics using opengl by Hill a pretty good read. not sure of ISBN though. Hope some of that is of use to you. I'm actually falling behind on what I originally had planned due to the bad hand. not long after posting, I actually got the textures to load up correctly to the meshes, my final task is the lighting now. Will post my progress including source, video footage, and UML diagrams (incomplete though) on monday. |
|
|
|
|
|
#9 |
|
Hobbyist Programmer
Join Date: Jan 2006
Location: UK
Posts: 214
Rep Power: 3
![]() |
Hi again,
Heres a short Video of the final system which I submitted earlier today. http://youtube.com/watch?v=akZIRKk_wwo for the animation of the fish and fan, I actually stole a State Machine system i initially wrote for my final year project, but works pretty well. Some UML for outlining the design. http://www10.asphost4free.com/seifst...ementation.jpg http://seifsta.110mb.com/overviewofabm.jpg http://seifsta.110mb.com/overviewofengine.jpg It's not great, but I got the requirements done in time. would have been a lot better if i didn't have this past week n half off with a burnt hand, the actual animations, lighting, semi transparent objects were pretty much a rush job and done last night. I haven't been able to upload the source yet as my connection keeps dropping. Probably just as well as at the moment as I haven't had a chance to fully annotate the source code. Anyways, I hope someone may find some use for it. Will upload as soon as i can. Last edited by Seif; Jun 4th, 2007 at 5:47 PM. |
|
|
|
|
|
#10 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 296
Rep Power: 4
![]() |
"Forbidden
You don't have permission to access /overviewofimplementation.jpg on this server." Seems like you haven't set the right permissions on the files...
__________________
http://www.klarre.se |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C# as a script engine.. System.CodeDom.Compiler | cloud- | C# | 2 | Mar 11th, 2007 8:43 AM |
| PHP search engine script | grimpirate | PHP | 4 | Sep 14th, 2005 11:05 PM |
| UltraLight game engine is now a community project | rpg_code_master | Coder's Corner Lounge | 1 | Apr 25th, 2005 12:58 AM |
| Converting to a scrolling tile engine....ABSURD! | Aourhgad | C++ | 3 | Feb 16th, 2005 11:00 PM |