seashore_chung a 3D seashore island game

User projects written in or related to FreeBASIC.
chung
Posts: 648
Joined: Jan 16, 2010 20:52
Location: France
Contact:

seashore_chung a 3D seashore island game

Post by chung »

seashore chung is a 3D seashore island swim / wind sailship / horse ride / explore game with ocean animated textures made with glvideotexture_chung and buildings town obj exported from freewebcar_chung written in easy fast freebasic .

=> https://sourceforge.net/projects/seashore-chung/

(19/10/2018) sand2 , seashore2 , rocs added (menu)
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Re: seashore_chung a 3D seashore island game

Post by D.J.Peters »

good job

Joshy
Lachie Dazdarian
Posts: 2338
Joined: May 31, 2005 9:59
Location: Croatia
Contact:

Re: seashore_chung a 3D seashore island game

Post by Lachie Dazdarian »

It feels buggy.

When I move while the canoe, it sinks under: https://i.imgur.com/ytBmuea.png

Is there a goal in this demo? Or I just ride/float around?
chung
Posts: 648
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: seashore_chung a 3D seashore island game

Post by chung »

(21/10/2018) moving flag in the wind added

https://www.youtube.com/watch?v=cE1YmSmewxc
chung
Posts: 648
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: seashore_chung a 3D seashore island game

Post by chung »

Lachie Dazdarian wrote:
Is there a goal in this demo? Or I just ride/float around?
you dont like my games , i dont like yours either
i visit my love on my created from scratch island and thats enough
walk, swim, canoe, sail, horse
Last edited by chung on Apr 18, 2019 17:45, edited 2 times in total.
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Re: seashore_chung a 3D seashore island game

Post by D.J.Peters »

Hello chung I read your program code but I don't get it how you draw the shadow !
Is it a kind of projected plane "fake" shadow ?

By the way your coding style are light years away from beauty :-)

Joshy
chung
Posts: 648
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: seashore_chung a 3D seashore island game

Post by chung »

for the towns and women , i use morphobj3ds_chung to project the vertices to the fflat ground given sunco1, sunsi1, suntan2 sun direction coordinates.

others (trees, rocs,...) i project a predefined shadow quad on the ground.

drawn with blending

advantages : is fast and detailed .
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Re: seashore_chung a 3D seashore island game

Post by D.J.Peters »

So I was right it's a flat projected plane shadow
why not using the stencil buffer or a shadow map ?

Joshy
chung
Posts: 648
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: seashore_chung a 3D seashore island game

Post by chung »

more simple and efficient

shadow mapping : lower details

i use the stencil in towns shadow only to avoid multiple drawing shadows.
chung
Posts: 648
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: seashore_chung a 3D seashore island game

Post by chung »

(02/11/2018) new trees , rivers added

Image
chung
Posts: 648
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: seashore_chung a 3D seashore island game

Post by chung »

Lachie Dazdarian wrote:
When I move while the canoe, it sinks under: https://i.imgur.com/ytBmuea.png
(04/11/2018) i made a patch for it
chung
Posts: 648
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: seashore_chung a 3D seashore island game

Post by chung »

(05/11/2018) deauville roads obj added from freewebcar_chung
chung
Posts: 648
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: seashore_chung a 3D seashore island game

Post by chung »

(07/11/2018) dive underwater in deep ocean with fishes and refraction animation added


/[Z] key while in deep ocean

Image
chung
Posts: 648
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: seashore_chung a 3D seashore island game

Post by chung »

(18/11/2018) algues , fishes , diver shadows added
(21/11/2018) whale added
chung
Posts: 648
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: seashore_chung a 3D seashore island game

Post by chung »

(15/12/2018) real stencil shadow volume added to towns

( setstencilshadowobj200 , drawstencilshadowobj200 calculation & draw stencil shadow of .obj 200k objects files loaded in memory.)

CTRL+S to switch (on/off) (stencil / flat)
Post Reply