about ZgameEditor

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
waste
Posts: 8
Joined: Fri Jan 25, 2013 8:46 am

about ZgameEditor

Post by waste »

hi all,

so i begin in using this fantastic tool, and i would like to know how it works !!

i'm coding in Delphi ( 7 , 2007 , XE2) and i know that it s a free pascal

project, for example , what 's going on when i select a mesh box (or other)

is it an openGL composant made with openGL instructions like

Code: Select all

glBegin( GL_TRIANGLES );
       glColor3f( 1.0, 1.0, 1.0 ); 
            glVertex2d( 2.0, -2.0 );
       glColor3f( 0.5, 0.5, 0.0 ); 
???
User avatar
Kjell
Posts: 1883
Joined: Sat Feb 23, 2008 11:15 pm

Re: about ZgameEditor

Post by Kjell »

Hi waste,
waste wrote:i would like to know how it works !!
You can check out the source code on Google Code.

http://code.google.com/p/zgameeditor/so ... vn%2Ftrunk
waste wrote:what 's going on when i select a mesh box
If your GPU supports VBO's ( most do these days ), this part of the code is primarily responsible for rendering a mesh. And in case you're curious how a box mesh is generated, you can find that here.

K
waste
Posts: 8
Joined: Fri Jan 25, 2013 8:46 am

Post by waste »

thank you for the links, all what i was looking is there !

what a huge project !
Post Reply