Showing posts with label car simulation. Show all posts
Showing posts with label car simulation. Show all posts

Thursday, May 24, 2018

freewebcar_chung free 3D openstreetmap & bing static maps car / flight sim game in freebasic


freewebcar chung is a free 3D bing static maps / openstreetmap osm web car / foot / flight / balloon / horse simulator game with real world data and sandbox car traffic written in compiled freebasic using http/https web sockets and opengl . Visit thousands unlimited towns and airports in a real open world .osm realtime,save,load,reload on startup,add scenary as much as you want
requires 400 up to 890Mo free memory (warning is sent if fre(0)<50M => confirm reset scene)
can run on ordinary notebooks with intel hd graphics. Visit your home.
The view is larger and more beautifull than webgl.
If you use a firewall, http sockets must be granted.
Can export osm buildings to obj file.

you can find it there =>  https://sourceforge.net/projects/freewebcar-chung/   
                              =>  https://github.com/chungkn1400/freewebcar_chung

lite version (370M memory) =>  https://sourceforge.net/projects/freewebcar-chung-lite/      
 
sample video =>  http://www.dailymotion.com/video/x5f8t80
          balloon =>  http://www.dailymotion.com/video/x5j43ue
      new york  =>  http://www.dailymotion.com/video/x5ka6td    
           copter  =>  http://www.dailymotion.com/video/k6oMOvKdMNX9QApO3Ux  
   rijeka island  => https://www.youtube.com/watch?v=rxoo2VarjAI      
 
(22/02/2017) retroviseur added
(31/03/2017) buildings & trees shadows added
(01/04/2017) buildings names added
(04/04/2017) ballon added
(25/04/2017) cars, panels, lamps, bridges shadows added
(26/04/2017) buildings parts details added   
(30/04/2017) ride horse added
(08/05/2017) draw seashore added
(04/06/2017) displays current road name
(25/07/2017) hand mouse mode added
(26/07/2017) night airports view added
(29/07/2017) flight in formation added (1..10 planes)
(02/08/2017) reduced memory use (redim) & warning added
(09/08/2017) bing maps imagery support added
(30/11/2017) tunnels added
(04/12/2017) copter added
(20/04/2018) cigale, sauterelle, cricket added
(15/05/2018) real time air traffic added
(22/07/2018) export near buildings to obj file added
(20/09/2018)  crops added






                      

  
  
       

Monday, April 27, 2015

openstreetmap 3D car simulation / glsl shadows without depth texture for basic webgl

here you can find a online demo of fast full shadow mapping without depth or float texture for basic html5 webgl that doesnt have these features.(works better with firefox) , and webglcarsimheight , a free 3D osm car / foot / flight / sailship game using real world osm openstreetmap realtime online data .
drive or fly on millions kilometers of real world roads and thousands towns all over the world.

works with firefox,chrome (no webaudio in iexplorer, faster but irregular and no localhost mode with chrome as chrome dont loads local images files.). Works well with N3540 cpu based notebook.

=> json_osmall_webgl_shadow.html

=> json_osmall_webglcarsimheight_shadow.html  (with car sim)

=> json_osmall_webglcarsimheight_noshadow.html  (idem with no shadow) 

download source here => https://sourceforge.net/projects/jsonosmchung/  (6Mo)

note : your browser must support html5 localstorage


(04/05/2015) new radio [R] added
(20/05/2015) stop, cross panels added
(21/05/2015) speak voice added
(24/05/2015) autopilot mode added
(27/05/2015) 3rd view car model added
(05/06/2015) cars traffic added
(09/06/2015) mouse on screen control added
(26/06/2015) city panels added , switchable shadows
(30/06/2015) click on google maps to teleport
(03/07/2015) eiffeltower,libertystatue,christrio,domerock,gizah,capitol,tajmahal,buddah added
(05/07/2015) autopilot forward added, click on screen to move cockpit,reclick to reset
(06/07/2015) static/moving shadows
(12/07/2015) fog added
(15/07/2015) rocs added
(19/07/2015) draw far land added
(20/07/2015) mystreetview added (shif+M)
(21/07/2015) foot ascend mode (climb walls) added (A)
(23/07/2015) clouds shadow added
(20/08/2015) save/load export/import file gamesave
(09/10/2015) long roads and bridges support
(13/10/2015) optimized shadows shaders (fps 10->20)
(13/10/2015) bridges added to noshadow version (fps 28)
(14/10/2015) woman panel, church added
(19/10/2015) city distance panels added
(05/11/2015) winter scenary added
(28/11/2015) toyota, volvo cockpit added
(10/12/2015) half fog, cadillac cockpit added
(13/12/2015) mercedes,ford cockpits , logan cars added
(17/01/2016) tunnels added
(13/03/2016) gran trees added according to ground texture
(21/03/2016) moves in mystreetview view updates position
(22/03/2016) enhanced car fly mode (Q key)
(24/03/2016) press space or esc to quit mystreetview view
(26/03/2016) grass added
(08/04/2016) seawaves and sailable sailships added
(05/07/2017) roads names added
































Thursday, March 12, 2015

openstreetmap osm roads data to html5 arrays 3D car sim

json_osm_chung is an open source realtime online converting openstreetmap servers osm real roads data to html5 arrays to use with a game or in this example to draw on a graphical canvas or 3D webgl. Use the arrow keys to move or select one of the presets locations. recreate any real roads + buildings places in the world . mixed with google static maps satellite ground images , water terrain detection , srtm terrain heightmaps, trees , lamps,  and webglcarsimheight  a small free 3D driving car simulation game. Can  run on a small netbook. works better with firefox .

how does it work ? In osm, you have ways and nodes. A way is a line of nodes, nodes composed by latitude and longitude . A way can discribe a road, a building contour, a forest contour, an airport ...  All this is available online in realtime via json javascript api .(nothing to install)

explore real 3D world in your car 

=> json_osm.html     (roads)

=> jsonosmall.html    (roads+buildings)

=> json_osm_webgl.html   (roads+3D webgl)

=> json_osmall_webgl.html   (roads+buildings+3D webgl+google static maps)

=> json_osmall_webglcar.html  (idem+car)

=> json_osmall_webglcarsim.html  (idem+car simulation+trees)

=> json_osmall_webglcarsimheight.html   (idem+car sim+trees+terrain height+lamps+forests)

=> json_osmall_webglcarsimheight_shadow.html   (idem with shadows shaders)

open source code => https://sourceforge.net/projects/jsonosmchung/

desktop enhanced version  in freebasic
=> http://chungswebsite.blogspot.fr/search/label/freewebcar_chung

 (15/04/2015) sea shader added
(04/06/2015) cars traffic added
(09/06/2015) mouse on screen control added
(30/06/2015) click on google maps to teleport
(03/07/2015) eiffeltower,libertystatue,christrio,domerock,gizah,capitol,tajmahal,buddah added
(12/07/2015) fog added
(15/07/2015) rocs added
(19/07/2015) draw far land added
(20/07/2015) mystreetview added (shif+M)
(21/07/2015) ascend mode (climb walls) added (A)
(23/07/2015) clouds shadow added










Sunday, January 18, 2015

mywebglflight free 3D webgl / bing static maps flight simulator

here you can find my open source online 3D webgl flight / car simulator with shaders (nothing to download)
arrows : turn    pageup/pagedown : motor    H : help
Comes with a small riding hack & slash fighting game forest_chung with trees, grass, rocs, monsters
You can also go to any place around the world with bing static maps earth satellite images (shift+G flyto). Fly over africa with 3D moving horses, zebras, elephants, girafes, antilopes, birds. Can run on a small netbook .

works better with firefox32, also with chrome, not ie11(no webaudio),don't forget to enable javascript

=>  http://chungswebsite.blogspot.fr/p/mywebglflight_srtm.html   (with srtm data & dogfight & car)

=>  http://chungswebsite.blogspot.fr/p/mywebglflight.html 

=>  http://chungswebsite.blogspot.fr/p/mywebglflightold.html

=>  http://chungswebsite.blogspot.fr/p/forestchungold.html

test if you can run webgl =>  http://get.webgl.org/
   
(12/10/2014) web audio api sounds instead of html5 audio
(13/10/2014) yougo, grece, hawai, japan added
(15/10/2014) skydome added
(17/10/2014) egypt, vietnam added + real weather
(20/10/2014) raindrops on cockpit added
(22/10/2014) optional game save cookie added
(23/10/2014) joystick and gamepad supported
(25/10/2014) foot mode added
(11/11/2014) forest_chung small hack&slash version added
(14/11/2014) small jscompile_chung javascript compressor / compiler added
(18/11/2014) resize window support
(17/01/2015) worldwide google static maps satellite images added
(18/01/2015) flyto geolocation added
(21/01/2015) many preset places added
(25/01/2015) draw airports added
(26/01/2015) tanks added
(28/01/2015) buildings added
(30/01/2015) cssscale added (lowerres<=>faster)
(01/02/2015) faster rotates for fps<10
(03/02/2015) alphajet added
(16/02/2015) satellite srtm elevation data added
(18/02/2015) start/stop dogfight added (shift+D)
(23/02/2015) wild horses added
(25/02/2015) minimal cockpit added
(01/03/2015) elephants, girafes, zebras, antilopes, birds added
(04/03/2015) car mode added
(24/06/2018) bing not google


source  =>  https://sourceforge.net/projects/mywebglflightchung/



Thursday, March 6, 2014

gps_chung open source GPS algorithm program for games in freebasic

gps_chung is an open source GPS algorithm program for games written in freebasic. It calculates the shortest way path from start to end out of an array of road segments (position, direction) . Source code gps_chung.bi is included as example in a small application game garden_chung (freebasic) simplified version of circuit_chung road circuit game with random map generation , home garden edit and TTS text to speech voices. Path is shown on display map , voice indicates the way .

=> https://sourceforge.net/projects/gpschung/   (11Mo)

(10/03/2014) arab, chinese, french, german, japanese, russian, spanish voices added to download

Sunday, January 5, 2014

ski_chung free 3D skiing fps openGL game

ski_chung is a free open source 3D ski randonnée simulation game with fps openGL view / mountain car version of circuit_chung and real satellite heightmaps i have written in freebasic. Included 3d skiing persos using perso3D_chung .Can run on a small netbook. Zipped and unzip with 7zip.

click here => https://sourceforge.net/projects/skichung/   (9Mo)


(08/01/2014) climb mountain added (C key)
(13/01/2014) fog0..15 added
(23/01/2014) animated skiing persos3D added
(28/01/2014) display satellite map added (ctrl+M)
(29/01/2014) animated 3rd person view added (V key)
(31/01/2014) 3D animated teleskis added
(02/02/2014) teleskis are functionals

  

Wednesday, June 5, 2013

circuit_chung free 3D road car racing game in freebasic and openGL

circuit_chung is a free 3D circuit road car racing game with random maps (1-99) generation , written in freebasic and openGL. Explore vastes areas,  find towns or start racing. Can run on a small netbook with windows 7. Include garden_chung small edit home garden game with trees, grasses, flowers .

click there => https://sourceforge.net/projects/circuitchung/

(08/06/2013) high fps car speed behavior changed
(10/06/2013) cockpit view added
(05/07/2013) some cockpits added
(11/07/2013) 3ways roads, highways added
(16/07/2013) random racing circuit + road/circuit mode switch
(17/07/2013) start racing and circuit scale added
(20/07/2013) lighting and car lightspot added
(21/07/2013) turns and crossroad panels added
(23/07/2013) towns added
(01/08/2013) some 3rd person view 3D cars added
(10/08/2013) redlights, manual gears added
(14/08/2013) persos3D_chung walker persos added
(03/09/2013) midipiano_chungDLL radio added (ctrl+A)
(24/09/2013) radio nbsounds bug corrected + stations added
(27/02/2014) edit home garden with trees,grass,flowers added
(01/03/2014) settle home function added
(03/03/2014) draw seashore with waves added
(12/03/2014) gps and track police car added
(14/03/2014) draw police car collide damages added
(16/03/2014) rocs, seasons, cpu%, mem% added
(23/03/2014) gasstation, carb, destructible police car added 


Thursday, August 16, 2012

Tilecity_chung free modified version of Tilecity3D openGL car/flight/town game

Tilecity_chung is a free 3D car in the city building game from an openb3d demo by Ogg ( added car / flight / tank simulator + edit , load , save map + cars traffic + gui windows + heightmaps + car racing + houses + trees + grass + skydome + sounds + performances boost + shooting +boats  + tanks +  redlights + stops + lamps + heighmaps edit)

 It is written in compiled  freebasic and uses openB3D (open source b3d blitzmax game engine for freebasic). Source code is included in the zip file.Can run on a small netbook with windows 7.

Create a map file (text format 64x64) and explore a 3D openGL town with sea, towers, roads, highways, mounts, trees, houses, grass .
Drive cars among the town traffic , start races against computer driven cars, take a flight by plane to the airport or follow the other flying around cessna, pilot a tank , or shoot them down.
Edit the map with the integrated editor and look instantly your 3D creations.

Gamepad and joysticks supported.

click there => https://sourceforge.net/projects/tilecitychung/

(17/12/2011) shooting cars and plane added
(21/12/2011) warship and radar added
(22/12/2011) tank cannon added
(30/12/2011) tanks (1..10) combat added
(11/08/2012) coloured buildings added
(12/08/2012) standard roads lines added
(14/08/2012) redlights and cars stop added
(15/08/2012) stops and lamps added
(16/08/2012) heightmaps edit,save,load,scale added
(17/08/2012) openB3d.dll updated (could cause memory leak)
(24/08/2012) look left/right/rear with hat/Right joystick/1,2 keys
(26/08/2012) gearbox (manual, automatic) added
(28/08/2012) Vumeter added , Lshift+arrows = look around
(29/08/2012) multi towertypes + textures added
(04/09/2012) pyramids changed to pines
(05/09/2012) car dynamics changed
(09/09/2012) car suspensions added
(10/09/2012) rear gear , carhorn added
(11/09/2012) handbrakes [ctrl], lights [L] added
(13/09/2012) gasStations added
(14/09/2012) customize vehicles added
(21/09/2012) commercials added
(23/09/2012) persos added
(24/09/2012) fog added [ctrl+F]
(24/09/2012) virages & priority panels added
(27/09/2012) stop2,stop3,editmap( flyto) added
(28/09/2012) increased custom weight effect
(01/10/2012) parkings added ("=" key)
(06/10/2012) shadows added (ctrl+S)
(11/11/2012) enhanced shadow, 3D walkers
(12/11/2012) radio added (ctrl+A)
(29/09/2013) midipiano_chungDLL radio added