RegEngine - Design

Warning! Some information on this page is older than 3 years now. I keep it for reference, but it probably doesn't reflect my current knowledge and beliefs.

19:45
Wed
10
Feb 2010

RegEngine - Design

I'm now starting coding new game engine. It's called RegEngine. Here is a general design. It's coded in C++ for Windows. This time it will be general game engine, not only renderer. Also, this time I'm going to create an editor (I've never done this before).

I will use wxWidgets 2.9 as GUI library for the editor. It's not an obvious choice though. For example, C++/CLI (which I use at work) is also nice technology as it allows to freely mix native and managed code so one can create GUI with Windows Forms while coding the rest in native C++. But personally I prefer something that is fully native. Qt is also good, looks more mature, stable and, well, "serious" than wxWidgets and it's also free for some time. But wxWidgets is more lightweight than Qt (to a certain degree, as GUI library can be). It also looks like wxWidgets is the only GUI library that has both docking and property grid control built in. (I'm talking about version 2.9 here, because stable 2.8 version of wx doesn't have the property grid yet.)

I want to separate engine from renderer. But I'm not going to make an abstraction to be able to transparently switch between DirectX and OpenGL as it makes no sense for me. I just want to have the ability to use my engine, with all its functionality like scenes, actors, scripts, AI, sound etc. with new renderer I would code some day, let it be DirectX 11 or software one. To do this, my engine will be component based. An actor standing in the scene will just have its name and/or some ID, position, bounding volume and a set of components. If it's visible, its rendering component will be an object from the renderer.

There is also a great idea I want to incorporate into my engine that I know from Krzysiek K. (greetings!). It goes like this: The game, which will be a document for the editor (that's what you can create as New, Open, Save, Save As etc.) is a single, big tree of objects of different type. This tree includes both resources (like textures, meshes, sounds) and scenes with hierarchies of actors inside them, as well as any other entities (like dialogs in an RPG game). Object can have sub-objects and can also have a set of properties of different types (like bool, int, float, string, vector, matrix, color). Framework for these properties (I'll call it "reflection") will automatically serialize them to/from file, show them in property grid in the editor and hopefully make them visible to scripts. This whole idea gives consistent framework to store, serialize and edit all game data.

As creating new dialog boxes is not my favourite activity (no matter if it's coding or clicking :) I've been thinking for a long time about the "ultimate" set of general controls necessary to make a game editor. I currently think that it's sufficient to have:

Some not so necessary and more difficult to code controls are:

RegEngine will consist of modules compiled as static libraries:

First screenshot:

Comments (1) | Tags: engine RegEngine | Author: Adam Sawicki | Share

Comments

wi
2015-06-29 07:19:17
soccer shoes, http://www.soccer-shoes.org/
softball bats, http://www.softball-bats.us/
supra shoes, http://www.suprashoe.net/
swarovski outlet, http://www.swarovskicrystal.com.co/
swarovski outlet, http://www.swarovskijewelry.com.co/
swarovski, http://www.swarovski-uk.org.uk/
north face outlet online, http://www.the-northface.com.co/
the north face outlet, http://www.the-northface.in.net/
north face uk, http://www.thenorth-face.org.uk/
the north face outlet, http://www.thenorthface.us.org/
calvin kleins outlet, http://www.calvinklein.co.com/
celine bags, http://www.celinebags.org/
cheap nfl jerseys, http://www.cheapjerseys.in.net/
air jordan retro, http://www.cheap-jordans.net/
michael kors outlet, http://www.cheapmichaelkors.us.org/
nike sneakers, http://www.cheap-nikeshoes.com/
oakley vault, http://www.cheapoakley.us.org/
oakley vault, http://www.cheapoakleysunglasses.ar.com/
cheap oakley, http://www.cheap-oakleysunglasses.in.net/
ray ban sunglasses, http://www.cheaprayban.com.co/
discount shoes, http://www.cheapshoes.com.co/
ugg boots clearance, http://www.cheapuggboots.eu.com/
flat iron, http://www.chiflatiron.net.co/
air max 2015, http://www.nike-air-max.us/
nike outlet, http://www.nikefactory.org/
nike running shoes, http://www.nikefree5.net/
nike free, http://www.nikefree-run.net/
nike running, http://www.nikefree-run.org.uk/
nike air max, http://www.jordanrelease-dates.com/
nike mercurial, http://www.nikemercurial.net/
roshe run, http://www.nikerosherun.us/
cheap nike shoes, http://www.nikestore.us/
north face jackets, http://www.northface.us.org/
north face jackets women, http://www.northfaceoutlet.com.co/
oakley sunglasses outlet, http://www.oakleyoutlet.us.org/
oakley outlet, http://www.oakley-sunglasses.us.org/
oakley vault, http://www.oakleysunglassescheap.in.net/
cheap oakley sunglasses, http://www.oakleysunglassesoutlet.com.co/
omega watches, http://www.omegawatches.us.com/
pandora sale, http://www.pandora-charms.org.uk/
pandora charms, http://www.pandorajewelry.com.co/
ralph lauren outlet, http://www.polo-outlets.com/
prada outlet, http://www.pradahandbags.net.co/
prada outlet, http://www.pradahandbags.com.co/
prada shoes for men, http://www.pradashoes.com.co/
polo ralph lauren outlet online, http://www.ralph-lauren.org.uk/
ralph lauren outlet, http://www.ralphlaurenoutlet.us.com/
ralph lauren outlet, http://www.ralphlauren-outlet.org.uk/
ralph lauren shirts, http://www.ralphlaurenoutletonline.com.co/
ralph lauren outlet online, http://www.ralphlaurenoutletonline.in.net/
ralph lauren outlet online, http://www.ralphlaurenpolo.in.net/
ray-ban, http://www.ray-ban-outlet.us.com/
ray-ban sunglasses, http://www.raybans.us.org/
ray ban sunglasses, http://www.rayban-sunglasses.org.uk/
ray ban sunglasses outlet, http://www.rayban-sunglasses.us.org/
cheap ray ban, http://www.raybansunglassesoutlet.net.co/
burberry outlet, http://burberry.outletnow.net/
red bottoms, http://christian.louboutin-outlet.net/
tory burch handbags, http://toryburch.salesandals.net/
abercrombie and fitch kids, http://www.abercrombieand-fitch.com.co/
abercrombie fitch, http://www.abercrombiefitch.us.com/
abercrombie.com, http://www.abercrombie-kids.us.com/
air huarache, http://www.air-huarache.co.uk/
jordan shoes, http://www.airjordans.us/
jordan retro, http://www.airjordanshoes2015.com/
nike air max 2014, http://www.airmax-2015.org/
nike air max 2015, http://www.airmax-90.org/
babyliss pro, http://www.babyliss-pro.net/
basketball shoes, http://www.basketballshoes.com.co/
beats by dre outlet, http://www.beatsbydrdre.co.com/
beats headphones, http://www.beatsbydre.com.co/
beats by dre outlet, http://www.beats-by-dre.com.co/
beats by dr dre, http://www.beatsheadphones.in.net/
bottega, http://www.bottega.us/
burberry outlet, http://www.burberryhandbags.net.co/
burberry outlet, http://www.burberry-outlet.jp.net/
burberry outlet, http://www.burberryoutlet.org.uk/
burberry, http://www.burberryoutlet-online.co.com/
burberry.com, http://www.burberryoutlet-online.in.net/
christian louboutin shoes, http://www.christian--louboutin.in.net/
christian louboutin, http://www.christianlouboutin.org.uk/
christian louboutin shoes, http://www.christianlouboutinshoes.jp.net/
coachfactory.com/shop, http://www.coachfactory-outlet.co.com/
coachfactory.com, http://www.coachfactoryoutletonline.co.com/
coach handbags outlet, http://www.coach-handbags.com.co/
coach factory outlet online, http://www.coachoutlet-online.com.co/
coachoutlet.com, http://www.coachoutletstore.net.co/
coach bags outlet, http://www.coachoutletstore-online.com.co/
chanel outlet, http://www.coco-chanelbags.com.co/
converse shoes, http://www.converse.net.co/
hermes handbags, http://www.designerhandbagsoutlet.com.co/
cheap glasses, http://www.eyeglassesonline.us.com/
sunglasses for women, http://www.eyeglassframes.us.com/
hollister clothes, http://www.fashion-clothing.us.com/
chanel bags, http://www.chanelhandbags.net.co/
softball bats, http://www.cheapbaseballbats.net/
christian louboutin, http://www.christianlouboutinshoes.ar.com/
ferragamo outlet, http://www.ferragamo.com.co/
salvatore ferragamo outlet, http://www.ferragamoshoes.net/
hair straightener, http://www.ghdhairstraightener.com.co/
gucci sale, http://www.gucci.me.uk/
gucci belt, http://www.guccihandbags.com.co/
gucci handbags, http://www.gucci-outlet.in.net/
gucci belt, http://www.gucci--outlet.com.co/
gucci shoes outlet, http://www.guccishoes.net.co/
gucci outlet, http://www.guccishoes.us.org/
hermes birkin bag, http://www.hermesbags.com.co/
hermes birkin, http://www.hermesbirkin.com.co/
hermes bags, http://www.hermesoutlet.net.co/
hollister kids, http://www.hollister.us.org/
hollister, http://www.hollisterclothing-store.in.net/
insanity workout calendar, http://www.insanityworkout.net.co/
iphone 4s cases, http://www.iphone-cases.us/
jimmy choo shoes, http://www.jimmychoo.net.co/
air jordan, http://www.jordanretro.org/
air jordan shoes, http://www.jordan-shoes.com.co/
juicy couture, http://www.juicycouture.com.co/
juicy couture outlet, http://www.juicycoutureoutlet.net.co/
kate spade, http://www.kate-spade.com.co/
katespade, http://www.katespade-outlet.com.co/
kate spade bags, http://www.kate-spades.com/
longchamp bags, http://www.longchamp.us.org/
longchamp outlet, http://www.longchamp.com.co/
louboutin, http://www.louboutin.jp.net/
louis vuitton canada, http://www.louis-vuittoncanada.ca/
louis vuitton outlet stores, http://www.louisvuitton.jp.net/
louis vuitton outlet, http://www.louis--vuitton.org.uk/
louis vuitton outlet, http://www.louisvuitton.so/
louis vuitton outlet online, http://www.louisvuittonas.com/
louis vuitton outlet, http://www.louisvuitton-outlet.com.co/
louis vuitton handbags, http://www.louisvuitton-outlets.us/
marc jacobs bags sale, http://www.marcjacobsonsale.com/
mcm bags, http://www.mcm-bags.net/
mcm handbags, http://www.mcmhandbags.com.co/
michael kors outlet store, http://www.michaelkors.so/
michael kors outlet online, http://www.michael--kors.us.com/
michael kors outlet, http://www.michaelkorsbags.us.org/
michael kors uk, http://www.michaelkorshandbags.org.uk/
michael kors, http://www.michael-kors-handbags.us.com/
michael kors outlet online sale, http://www.michaelkorsoutlet.ar.com/
michael kors purses, http://www.michael-kors-outlet.us.org/
michael kors handbags, http://www.michaelkorsoutlet-online.ar.com/
michael kors, http://www.michael-kors-outlet-online.us.org/
michael kors outlet online sale, http://www.michaelkorsoutletonline-sale.us.com/
michael kors bags, http://www.michaelkors-uk.org.uk/
mont blanc, http://www.montblanc--pens.net/
new balance, http://www.newbalance-outlet.org/
ray ban sunglasses outlet, http://www.raybanwayfarer.in.net/
knock off designer handbags, http://www.replicahandbags.com.co/
rolex watches, http://www.replicawatches.us.com/
jordan 6, http://www.retro-jordans.com/
omega watches, http://www.rolex-watches.me.uk/
roshe run, http://www.rosherun.org.uk/
roshe runs, http://www.rosheruns.us/
salvatore ferragamo shoes, http://www.salvatoreferragamo.in.net/
north face jackets outlet, http://www.thenorthfacejackets.in.net/
thomas sabo, http://www.thomassabo-uk.org.uk/
tiffany jewelry, http://www.tiffanyandco.net.co/
tiffany co, http://www.tiffanyjewelry.us.org/
timberland boots, http://www.timberlandboots-outlet.net/
timberland outlet, http://www.timberland-shoes.com/
tommy hilfiger polos, http://www.tommyhilfiger.net.co/
tommy hilfiger coupons, http://www.tommy-hilfigeroutlet.com/
toms shoes, http://www.tomshoesoutlet.com/
toms outlet, http://www.toms-outlet.in.net/
toms shoes, http://www.toms-shoes.com.co/
tory burch handbags, http://www.tory-burch-outlet.in.net/
tory burch handbags, http://www.tory-burchoutlet.us.com/
true religion jeans outlet, http://www.true-religion.com.co/
true religion outlet, http://www.truereligionjeans.net.co/
true religion jeans women, http://www.truereligion-outlet.com.co/
ugg boots, http://www.uggaustralia.net.co/
uggs outlet, http://www.uggboots.net.co/
ugg australia, http://www.uggbootsclearance.com.co/
ugg, http://www.uggsonsale.com.co/
ugg boots clearance, http://www.uggsoutlet.com.co/
coach outlet online, http://www.uptocoachoutlet.com/
vans shoes, http://www.vansshoes.us/
dresses for weddings, http://www.weddingdressesuk.org.uk/
yoga pants, http://www.yogapants.com.co/
uggs outlet, http://www.ugg-boots.us.org/
polo ralph lauren outlet online, http://www.poloralphlaurenoutlet.net.co/
burberry outlet online, http://www.burberryoutletonline.ar.com/
toms shoes outlet, http://www.toms-outlet.net.co/
cheap michael kors, http://www.michaelkors.in.net/
louboutin, http://www.christianlouboutinoutlet.net.co/
tory burch shoes, http://www.toryburchsale.com.co/
prada outlet, http://www.pradaoutlet.com.co/
longchamp outlet, http://www.longchamp-handbags.in.net/
longchamp, http://www.longchampoutlet.com.co/
chanel bags, http://www.chanel-bags.com.co/
true religion jeans outlet, http://www.truereligion-outlet.us.org/
abercrombie fitch, http://www.abercrombie-and-fitch.us.com/
hollister co, http://www.hollisterclothing.in.net/
new balance store, http://www.newbalance-shoes.org/
converse sneakers, http://www.converse--shoes.net/
lululemon outlet, http://www.lululemonoutlet.com.co/
cheap jerseys, http://www.nfl-jerseys.in.net/
nfl jerseys, http://www.cheapjerseys.us.org/
rolex watches, http://www.rolex-watches.us.com/
omega watches, http://www.rolexwatchesforsale.us.com/
p90x, http://www.p90xworkout.in.net/
giuseppe zanotti, http://www.giuseppezanotti.com.co/
mac cosmetics, http://www.maccosmetics.net.co/
instyler, http://www.instyler.in.net/
mizuno running, http://www.mizunorunning.net/
handbags outlet, http://www.handbagsoutlet.com.co/
hilfiger outlet, http://www.hilfigeroutlet.in.net/
ed hardy, http://www.edhardy.in.net/
levi's jeans, http://www.levisjeans.com.co/
bcbg max azria, http://www.bcbgdresses.net/
bebe outlet, http://www.bebeclothing.net/
harrods, http://www.harrods-london.co.uk/
gucci outlet, http://www.guccishoes.com.co/
polo ralph lauren outlet, http://www.ralphlaurenoutletonline.us.org/

Post comment

Nick *
Your name or nickname
E-mail
Your contact information (optional, will not be shown)
Text *
Content of your comment
Calculate *
(* - required field)
STAT NO AD [Stat] [Admin] [STAT NO AD] [pub] [Mirror] Copyright © 2004-2017 Adam Sawicki
Copyright © 2004-2017 Adam Sawicki