Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / 3D EngineV5.0

Author
Message
Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 2nd Mar 2004 22:44 Edited at: 2nd Mar 2004 22:48
hi


i think i already posted an earlier version of my 3d engine.. done with Turbo C++ 3.0 in Dos 320*200 256 color (real mode ...writing directly to video memory lol)... made without any given library.. i did everything.....

the past version were all wireframe.. and now he can renderise POLYGON!!!!!!!! WOUHOU!!!!!!!!

here a screenshot and a demo.. that you can download:
http://www.geocities.com/x_chiwawa_x/engine3d.html

if you got any question.... on technique .. algo or even if you want some code from my engine.. just ask it...

stann65
20
Years of Service
User Offline
Joined: 3rd Feb 2004
Location: england
Posted: 2nd Mar 2004 23:13
is it just me or does no geocities link work.

go onto my site
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 2nd Mar 2004 23:26
I see yur back, good to see you!
Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 3rd Mar 2004 00:01
hi mattman

stan65... damn .. .. i dont understand why..
ok i did a link in my 'main' site page....

go there:
http://www.geocities.com/x_chiwawa_x/
and click on '3d Engine' in the left frame.. it will redirect you to my 3d engine page.. you will be able to see a screenshot and you will be able to download the demo... (hope it work this time)

hexGEAR
21
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 3rd Mar 2004 00:05
nice! that's why you haven't been on the forums, you've moved to C++

could we take a look at the source code? i really have no idea where to start in terms of making games with C++

Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 3rd Mar 2004 00:13
I thought you were doing this in Delphi? You've made some good progress since the version that only had a cube of dots.

I also made a wireframe version on the TI Calc but that thing runs too slow to process it fast enough.


"Computers are useless they can only give you answers."
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 3rd Mar 2004 00:16
Hello Chiwawa. I'm also interested in making a 3D engine with C++ in my spare time.(meaning when I'm not at school)

You've got a nice start, and I'd really like to hear more of how you've accomplished your goal.

Keep us updated.



A book? I hate book. Book is stupid.
Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 3rd Mar 2004 00:22
yeah i could post the source here...
but before i say:
viewing the source wont really help you ...
cause i dit it 'oldStyle' ...
to make game in c++ ... (or any other language) you should use DX ou OpenGl .... its REALLY much more ez.. faster .. you can easyly use hardware accélération..

but here are the different my source files:

this one is Buffer.cpp.. i put everything touching to 2d in this class..... Dot function .... line cls.. and many other ..



here is 3d.cpp
this is the 3d engine..... i mean rotation .. moving .. rendering
camera moving.. and many other things..




here is Mesh.cpp
this is .. objet definition.. vertex.. polygon...
(quite not complete.. it is fast done.. should be modified soon.)



and here is the DEMO.cpp ... that you downloaded... who use all these class:


there is some other file.. but you can understand without them...
you wont be able to compile it.. without them...
if you want to compile it.. ask it ill post the other little files...

if you have any question.. ask

Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 3rd Mar 2004 00:33
yeah i did it in delphi.... but now im on a 133 computer.. my new computer is .. broken.. then i started it in c++ .. ... in dos. cause i cant use delphi on this old thing..

and .. cause this is SO long.. to my computer to be repair.. then i continued it and ... im now with this version

and i did it also in Turbo Pascal there is a while......
but these 2 version (delphi and turbo pascal) were not as good as this one

i already did BackFace Culling and Polygon Filling... but my Z buffering.. is not begun ... i should soon fix this.. and fix my 'Mesh' class.. who is not pretty ..

hexGEAR
21
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 3rd Mar 2004 00:37
Quote: "viewing the source wont really help you"


true, once you understand the basics the rest is pretty straight forward... but i don't understand the basics anyways, have you got any good links with explanations to get us started?

Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 3rd Mar 2004 00:49
hmmmmm Open Gl? DX? or... 'Old Style'??
for old style i dont get any link... except some mathematical thing..

but i learned OpenGl ... and founded it too ez... this is why i started it 'oldStyle' ...

for OpenGl here are some good tutorial:
http://nehe.gamedev.net/
http://www.ultimategameprogramming.com/Tutorial.php?category=OpenGL&page=1

and get the 'RedBook' and 'BlueBook' .....
i think they can be downloaded at opengl.org ..

i learned my openGl bases from these tutorial and book...

for direct X i got this one:
http://www.ultimategameprogramming.com/Tutorial.php?category=DirectX&page=1

there is .. many other..
try to searh on google...

openGl is much more ez then Dx... ( ive learned OpenGl first... and maybe this is because i know opengl .. and Dx is different... maybe not harder..)


.. and if you dont know that is open gl and Direct X:
direct X and Opengl are.. a set of API ( api are the .. windows interruptions) .. which provide Graphical function....
these function do almost evetything for you... they put pixel , polygon , simple shape.. on the screen.. they do ... almost everything.. you want in only a few line...

what i did .. with the above code.. is that i made MY OWN set of graphical function......... i dont use any... preprogrammed function...

if you have any other question .. just ask them...

Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 3rd Mar 2004 00:58
Yup, you've listed some really great resources there, I also highly recommend Nehe and Ultimate Grame Programming, in addition to those, http://www.gametutorials.com/ is also really good.


"Computers are useless they can only give you answers."
Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 3rd Mar 2004 01:02
yeah it seem really good...

hexGEAR
21
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 3rd Mar 2004 01:48
thanks guys

TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 3rd Mar 2004 04:40
Hey, Chiwawa, is there any way to do this under windows?
I made a simple 3D room, but I can't change the screen's resolution
using "int %10". It just crashes. I really don't want to use
something like direct X or openGL.
Would "int %10" work in linux? Just wondering...

Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 3rd Mar 2004 18:29 Edited at: 3rd Mar 2004 18:41
to change screen resolution i think the api 'ChangeDisplaySettings()' should work... and to get a fullscreen and thin border use the WS_POPUP and the WS_MAXIMIZED style.. but you will probably get some problem with the taskbar...

...interruption does not work in win32.. you should use API...

Login to post a reply

Server time is: 2024-09-21 11:32:36
Your offset time is: 2024-09-21 11:32:36