Search found 629 matches

by chung
Feb 07, 2011 8:25
Forum: Projects
Topic: piratesGL_chung free 3D openGL wind sail sea fight
Replies: 8
Views: 3365

its easy to destroy, harder to build ...
by chung
Feb 01, 2011 17:44
Forum: Projects
Topic: open source cube clone trial
Replies: 43
Views: 10483

(01/02/2011) weapon , lions added

Image
by chung
Jan 27, 2011 22:36
Forum: Projects
Topic: open source cube clone trial
Replies: 43
Views: 10483

the surface that i speek of is not a list of cubes.
it is an array of points (or mesh if you call it so) , one point instead of one cube.
anyway, it is in the source code...
by chung
Jan 27, 2011 20:55
Forum: Projects
Topic: open source cube clone trial
Replies: 43
Views: 10483

i calculate the surface when loading the terrain from file , and update it when a cube is added or removed.
the top cubes are then not drawn , instead a subrouyine draws the surface over the remaining cubes.
by chung
Jan 27, 2011 12:15
Forum: Projects
Topic: open source cube clone trial
Replies: 43
Views: 10483

why store a surface array if i have all cubes yet ? that is why i keep a surface data , updated at each cubes modification, which is drawn as a classical terrain.(gl_triangles_strip on insight terrain, 120 unit range for now), in mixed mode. (27/01/2011) water, grass added http://1.bp.blogspot.com/_...
by chung
Jan 23, 2011 15:15
Forum: Projects
Topic: open source cube clone trial
Replies: 43
Views: 10483

i have the surface height from the top cube's altitude , stored in an array surface(nmax,nmax) then i draw it , with a skip when i want to show a cube.
by chung
Jan 23, 2011 11:10
Forum: Projects
Topic: open source cube clone trial
Replies: 43
Views: 10483

(22/01/2011) mixed mode added (surface / cubics) ctrl+M

Image
by chung
Jan 18, 2011 21:41
Forum: Projects
Topic: open source cube clone trial
Replies: 43
Views: 10483

by chung
Jan 17, 2011 20:24
Forum: Projects
Topic: open source cube clone trial
Replies: 43
Views: 10483

in fact , the "larger" cube is just the same scaled twice. i did it not for performances , but for gameplay to look like a game i wrote in Liberty Basic , "laby_chung" which was in pseudo 3D with four directions (N,E,S,West) (=> http://chungswebsite.blogspot.com/search/label/laby_chung
by chung
Jan 17, 2011 11:36
Forum: Projects
Topic: open source cube clone trial
Replies: 43
Views: 10483

(17/01/2010) new doors, walls added
(17/01/2010) cubesize selection (small/large) added

Image
by chung
Jan 15, 2011 9:07
Forum: Projects
Topic: open source cube clone trial
Replies: 43
Views: 10483

in fact , i store only the visible cubes ( 1000.000 for a 1000x1000 flat terrain ), adding or removing them when i add or remove terrain.
so it grows like n*n instead of n*n*n.
by chung
Jan 14, 2011 7:39
Forum: Projects
Topic: open source cube clone trial
Replies: 43
Views: 10483

about 8000 cubes...
but you can change maxfps=32
on my notebook (perf indice 2.5) i cant do better.
anyway the max framerate is the video frequency (60 hz) which correspond to the opengl swapbuffers even if you do nothing.

i think fps>60 is meaningless ?
by chung
Jan 12, 2011 21:57
Forum: Projects
Topic: open source cube clone trial
Replies: 43
Views: 10483

open source cube clone trial

cube_chung is a small open source cube clone trial i have written in freebasic using gui_chung and openGL. add , remove terrain cubes, save, load, or import from heightmap bitmaps. you can use the mouse, the keyboard, or the gamepad joysticks. purpose : multilevels cubics destructible terrain. => ht...
by chung
Jan 06, 2011 13:02
Forum: Projects
Topic: piratesGL_chung free 3D openGL wind sail sea fight
Replies: 8
Views: 3365

piratesGL_chung free 3D openGL wind sail sea fight

piratesGL_chung is a 3D wind sail pirate ship simulation with sea, moving water terrain , real coasts maps , ships and combat against the computer . It uses gui_chung and openGL, and is written in compiled freebasic. you can find it there => http://chungswebsite.blogspot.com/search/label/piratesGL_c...
by chung
Dec 23, 2010 12:04
Forum: Projects
Topic: free 3D cross car openGL
Replies: 17
Views: 5703

(23/12/2010) now you can climb on boats

Image

Go to advanced search