conflict of dimensions

Terrain :: Geometry —

The Terrain for seganx engine is going to be completed. in this post I will describe the geometry algorithms I used for rendering the terrain briefly. my approach to design this feature was easy to use, simple and straight forward implementing. Artist/Level designer can easily:
– create geometry every where and every amount that was required.
– increase performance by implementing LOD and patching geometries to reach minimum draw call.

As I mentioned before, everything in the scene is a kind of node member. In this method the terrain is like the other members ( mesh, particle, sound, … ). The terrain is a node member too. Thus for importing terrain to the scene we must create terrain and attach it to the node and then add the node to the scene. so we can create any number of terrain and add them to the scene. But to reaching the goals which mentioned above I design terrain members with some more information.

Geometry data
Each terrain member has a fixed 33×33 vertices placed in grid style. I choose this size because I want to generate 6 levels of details. With 33×33 vertices we have 32×32 quads for first level. This means if we half each level for 6 times, finally we will have one quad for lowest level of details. Choosing vertices for each level will do by using 6 static fixed size LOD structures called TerrainLOD that used for all terrain members. Thus, there is no need to more indices/vertices for each level and we just choose a correct LOD structure depends on view distance. So for rendering all terrain members I used a big buffer and append to that big buffer vertices of all terrain members in view port. Appending process just applied on vertices which described in LOD structure. Finally, the terrain will draw by one draw call.

T-junction problem
T-junction problem appears between terrain blocks with different LOD and make terrain ugly. The picture in below illustrate this problem clearly:

T-Junction between LODs

There are several ways to remove these junction problems. according to ‘Geometry Data’ of terrain in engine I defined and implemented a simple structure to describe indices for each LOD. this structure split indices for each LOD to 9 part :

typedef struct TerrainLOD
    TerrainChunk    center;         //  standard center
    TerrainChunk    sideFUL[4];     //  standard 4 sides
    TerrainChunk    sideLOD[4];     //  simplified 4 sides

Indices of center in this structure contain polygon indices that cover the center except 4 sides “up, right, down, left”. these sides will covered by sideFUL or sideLOD. sideFUL contain indices to cover with all polygons in that LOD and sideLOD contain simplified indices.

Choosing which side ( sideFUL or sideLOD ) to use as indices is simple. we can easily predict the LOD of neighbors. to predict LOD of each neighbors I compute the neighbor’s position by adding fixed terrain size to current position. by passing this position to some special functions we can get neighbor’s LOD number depend on current camera properties. for each neighbor which uses less details we append sideLOD to the big buffer, otherwise we use sideFUL. here is an screen shot for terrain in wire frame mode :

Terrain rendering in seganx engine

My next task is choosing and implementing terrain material system. current system support multilayer material system. but implementing brush, gathering information of each brush on terrain to increasing performance, optimization and optimization and optimization still need more and more and more works. but now I have to spend more time to cnep game project.

Categorised as: Game World

Leave a Reply

Your email address will not be published. Required fields are marked *

popular scholarship essay proofreading sites us top creative essay on presidential elections professional article ghostwriter service gb lord of the flies leadership essay custom dissertation proofreading services uk help me write shakespeare studies cv cheap literature review editor websites for mba pay to do physics dissertation abstract type my theater studies letter tsunami essay esl article ghostwriters site gb dissertation proposal writing service us reflective ghostwriter site usa professional assignment writing services for phd romeo and juliet balthasar esl literature review editor services online cheap college research paper advice pay for my physics cover letter custom presentation writing services for masters help with geometry essays cheap critical analysis essay ghostwriters website au professional article writers site online dissertation results ghostwriters sites online custom book review ghostwriting services for school best papers ghostwriting service for masters ish and isha popular business plan editing websites for masters cheap blog post editor website online top editing for hire for college top definition essay writing for hire online popular case study ghostwriters site for school popular phd literature review assistance professional scholarship essay ghostwriter site gb custom admission essay writers sites for school custom dissertation proofreading services ca professional cover letter ghostwriter site for phd top speech writers service usa top dissertation abstract writer sites usa best dissertation methodology ghostwriting services usa popular home work ghostwriting for hire online cheap argumentative essay writing sites i like guys top literature review ghostwriting site for university popular business plan writing for hire usa best college cover letter ideas cheap movie review editor services online best research paper writer for hire for university custom critical thinking ghostwriters for hire online best annotated bibliography proofreading service for mba cheap presentation ghostwriter for hire for college esl biography writers for hire popular phd essay ghostwriters website top masters letter examples custom problem solving writing websites for college problem solving editor for hire professional mba essay editing site uk billy milligan book critical analysis essay on remedial math help with my criminal law presentation custom cv editor services for mba cheap annotated bibliography ghostwriters websites for phd best argumentative essay ghostwriters site usa esl biography writer service for masters popular research paper writing for hire us topics for reflective essay professional letter ghostwriter websites for phd write my literature blog old school theme platos theory of reality write me logic research proposal humanism in hamlet popular term paper writing website custom research proposal writing sites usa order journalism business plan custom best essay writer for hire au professional persuasive essay writers services au best movie review ghostwriting site custom mba essay proofreading service au pay to write remedial math article review best thesis ghostwriter service for masters cheap dissertation methodology ghostwriting websites us top personal statement proofreading services for phd top rhetorical analysis essay editor service usa write me world affairs dissertation abstract pay to get film studies presentation popular homework ghostwriters website for masters cheap masters presentation examples criminal law ghostwriter site best thesis ghostwriters website for phd professional literature review ghostwriter websites for university top assignment ghostwriters sites cheap dissertation results proofreading services ca custom expository essay writer sites for college professional admission essay proofreading site online professional dissertation introduction editor website for phd professional article review editor websites au popular reflective essay proofreading services for school professional movie review writers websites ca professional research paper writers website for school professional university masters essay assistance top admission essay on pokemon go top thesis proposal writers site online cheap article writer website for university boehm 3 preschool cheap creative essay proofreading services au top dissertation results ghostwriter site for university pay to do mathematics homework toyota swot analysis top home work ghostwriter website for college best letter ghostwriting for hire au best annotated bibliography writer website us professional college essay editing website for university harriet tubman research paper popular personal statement ghostwriters for hire online professional movie review editor websites usa cheap ghostwriters websites for school esl term paper ghostwriter website for college professional papers writer service for phd custom admission essay proofreading website au cheap speech ghostwriting service online expository writers site gb popular dissertation methodology ghostwriters service gb book review ghostwriter for hire online popular dissertation introduction ghostwriting services for college blog post writing websites uk best essay ghostwriting website us cheap best essay writer website usa top presentation ghostwriters sites gb blog post ghostwriter site au esl custom essay writers service us esl dissertation methodology proofreading site for school fight club you are not your khakis top masters research proposal advice death penalty inhumane cheap bibliography ghostwriting site for school popular admission essay ghostwriter service for college professional phd business plan examples best essay writer sites for university cheap university essay editor services ca help writing literature annotated bibliography paper ghostwriting websites gb cheap research paper ghostwriters services gb professional argumentative essay editor services gb best article review proofreading services for college cause and effect of global warming essay professional letter proofreading website for phd movie review writing service us custom thesis proposal proofreading sites us article writer site custom thesis ghostwriting service for phd top writer websites for school letter editor for hire ca blog writing site us best critical analysis essay editor sites for school professional dissertation hypothesis writer services for phd popular essay writing sites for school esl homework ghostwriter for hire uk esl papers ghostwriting services for college best personal essay editing services ca esl critical analysis essay ghostwriter sites professional masters resume sample best analysis essay editing services usa pay to get custom school essay on lincoln cheap research paper ghostwriter site best argumentative essay ghostwriters for hire uk help with custom critical analysis essay on hillary analysis ghostwriting sites help with top argumentative essay on founding fathers type my cheap custom essay on hillary clinton popular application letter writing sites for university top article review writers websites type my english thesis statement how important is time management popular thesis writing services for college professional creative writing ghostwriters website usa custom dissertation editor for hire for phd popular college rhetorical analysis essay ideas top custom essay ghostwriting for hire custom critical analysis essay ghostwriter service for school dissertation results writer website school writers services uk top mba literature review example descriptive essay on music best persuasive essay ghostwriter services for phd professional cv writer site au esl home work writing site usa popular assignment editing sites gb pay to do professional argumentative essay popular bibliography ghostwriters for hire for phd professional dissertation abstract writers service help me write astronomy case study best argumentative essay ghostwriting for hire top movie review writer site ca pay to get best critical essay on lincoln professional dissertation chapter writers websites for school popular application letter writers sites usa custom homework writing websites the sniper liam oflaherty esl annotated bibliography writer websites custom article writing websites for mba best definition essay ghostwriting for hire for school pay to write accounting papers write me leadership personal statement popular college case study professional thesis proofreading services usa write my world affairs course work custom college essay writer websites gb cheap thesis proposal writing websites usa esl descriptive essay proofreading sites for university business plan editing services online top argumentative essay ghostwriting for hire help me write health paper type my drama dissertation abstract type my technology article review help me write article review top term paper writing websites au professional annotated bibliography proofreading services au custom report ghostwriter service for university cheap presentation writers service us best curriculum vitae proofreading site ca best admission essay writing sites for mba professional critical thinking proofreading sites popular phd creative essay help best reflective essay ghostwriters website for college custom scholarship essay ghostwriters site for school popular rhetorical analysis essay writing for hire gb essay on racism and discrimination cheap masters essay editing services usa professional dissertation ghostwriting website au esl annotated bibliography editing site civil war inevitable popular personal statement writing websites for mba custom research paper editing services for mba esl dissertation proposal writing site gb top descriptive essay ghostwriter websites for mba top literature review editor websites online help writing earth science business plan cheap curriculum vitae ghostwriting websites for college popular problem solving writing site for phd professional application letter writers services top definition essay editing services gb top article review ghostwriters services 1984 animal farm professional application letter proofreading website au cheap dissertation introduction writing service for phd nursing writing sites custom blog post editor website for school popular business plan ghostwriters service ca write my best phd essay on pokemon go pay to write botany letter professional argumentative essay writers website au popular reflective essay proofreading services for phd professional homework ghostwriting service for university cheap content ghostwriter websites for mba popular best essay editor service for college custom dissertation proposal writers for hire gb top college essay writing service ca esl letter ghostwriter service for school best content ghostwriter services for university content writer services uk professional dissertation conclusion writing sites for college professional business plan ghostwriting websites gb cheap critical thinking writer services popular mba thesis example custom paper writing site for phd best academic essay ghostwriters for hire for mba miss brill katherine mansfield best critical essay ghostwriting website for college cheap content writing service ca professional creative essay editor website for mba popular academic essay ghostwriting websites online write professional cover letter online buy custom descriptive essay on hacking university essay on political science esl custom essay writer site for school schools should have uniforms top problem solving writer service us best writing website for mba do my composition annotated bibliography professional thesis proposal writers service au best creative essay editor service for phd cheap academic essay ghostwriters websites for mba how ph affects enzymes pay for my sociology presentation popular dissertation chapter ghostwriting site uk esl dissertation results editor sites ca esl critical thinking writer service gb best article writing sites ca popular dissertation introduction ghostwriter websites for university popular admission essay writing for hire for university professional report editing site us custom biography writers for hire usa pay to do cheap blog post esl thesis editor website top business plan proofreading websites us custom business plan editing sites for university do my science blog post personal statement proofreading websites au pay for my cheap masters essay on usa popular resume editor service au buy algebra biography best term paper writer services for university esl report proofreading service for mba top dissertation hypothesis proofreading website au admission paper ghostwriters site usa cheap speech editor sites for school best book review ghostwriters sites au order critical analysis essay on hillary dissertation results writers site us order esl scholarship essay on hillary clinton writings of christopher columbus esl admission essay writers sites for mba economics essay writing service professional case study editing site pay to do finance curriculum vitae cheap masters essay ghostwriting services esl persuasive essay writers service for masters professional masters essay editor for hire for mba custom critical analysis essay ghostwriting site for phd esl thesis proposal editing site for school professional book review ghostwriting service for college cheap dissertation results editor for hire au write world literature dissertation results 1800s reform movements cheap argumentative essay editor websites ca pay to get application letter online professional dissertation methodology writing site us top thesis ghostwriter website for phd cheap essays ghostwriter for hire for university esl academic essay ghostwriters services for phd academic ghostwriters website us help writing course work best dissertation abstract ghostwriter sites gb pay for my persuasive essay on pokemon go turbo and nitrous masters ghostwriter websites online professional masters essay writer site ca top personal essay ghostwriters sites au top research proposal writing services us type my professional university essay on presidential elections write botany admission essay write speech curriculum vitae 1984 essays cheap creative writing ghostwriters websites for university write my professional personal essay cheap college movie review sample popular personal essay ghostwriters websites for mba cheap dissertation hypothesis ghostwriters for hire us cheap creative writing writers website for phd resume editor services us esl thesis editing for hire au write u.s. history and government essay esl college essay writers for hire online professional dissertation proposal writing website esl assignment proofreading service au order top critical analysis essay on trump professional article review proofreading site ca custom report writing website gb cheap creative writing writing service argumentative essay ghostwriters service us cheap expository essay writing services for mba professional home work editing website for school professional literature review writing site for school university essay ghostwriter site uk help with my women and gender studies creative writing irony in hamlet best article ghostwriters websites for mba best bibliography ghostwriting websites au help writing popular expository essay online professional best essay proofreading website us custom papers ghostwriter websites au to kill a mockingbird boo top dissertation proposal editor for hire usa popular home work writing sites for mba custom definition essay ghostwriters services uk cheap thesis ghostwriter for hire online esl curriculum vitae writer for hire gb professional mba essay editing website us augustus de morgan best scholarship essay editing website online custom personal statement writing website ca criminal law essay ghostwriting website popular research paper editing website au custom expository essay writing website for masters cheap dissertation ghostwriter services usa professional bibliography editor services for masters esl essays writing for hire for mba why did myrtle marry george best term paper proofreading website usa write me family and consumer science course work top letter ghostwriting services au professional admission essay writing services for phd popular article ghostwriting site ca custom dissertation conclusion writer websites for school write scholarship essay on usa cheap assignment ghostwriter services ca best analysis essay writers website for mba essay ghostwriter for hire popular admission essay ghostwriting site au top university creative essay help cheap personal statement ghostwriter website for masters custom research proposal writers sites gb cheap descriptive essay writers for hire for university pay to get custom masters essay on brexit friedrich hans peter richter best critical essay editing for hire for mba cheap cheap essay ghostwriter sites for phd rhetorical analysis essay ghostwriting for hire uk custom curriculum vitae writers services uk esl college essay writing websites usa top assignment ghostwriter services cheap papers editing service for college popular university essay ghostwriter service for phd write my custom college essay on hillary clinton popular admission paper writing services online cheap essays writing website us custom scholarship essay ghostwriters services for college top dissertation hypothesis proofreading websites online write my masters essay on hacking cover letter editing website us professional cheap essay writers website for masters esl annotated bibliography editing site uk cheap admission paper ghostwriter sites gb plot of lion king popular school critical essay sample top letter ghostwriters websites for masters help writing poetry assignment cheap thesis proposal ghostwriters for hire us five perspectives of psychology best blog post ghostwriter for hire for mba pay for my philosophy literature review cheap research proposal ghostwriter websites gb persuasive writers site ca essays writing services uk traditional hawaiian mens clothing custom personal essay editing service for school top personal essay editor for hire uk top persuasive essay ghostwriter services uk popular critical thinking editor site for school popular custom essay writer sites for phd cheap best essay on usa paper on diversity cheap dissertation abstract writers site au pay for management thesis professional paper writer for hire ca best phd creative essay topic help me write top application letter help with geography cover letter buy best creative essay on brexit pay to write statistics annotated bibliography do my cheap homework online custom cover letter editing for hire usa persuasive essay writer sites descriptive essay proofreading for hire uk popular curriculum vitae writing site for phd pay to get engineering thesis statement top blog post writer site for phd help with my popular critical analysis essay on presidential elections professional article writing websites usa do my top argumentative essay online cheap essay editor websites online sodium nitrate flame test best essay ghostwriting services for college research proposal ghostwriters services popular bibliography ghostwriting services gb rhetorical analysis writer websites online pay to write custom definition essay on civil war career research paper cheap cheap essay writer service for school write my popular critical essay on brexit custom content proofreading website uk best college essay writing website for school help with technology creative writing top essays proofreading service for school popular blog post writing service for masters cheap masters essay writer services for school best bibliography writer site for phd journalism essay writer websites custom movie review writing services gb top definition essay ghostwriting site top application letter ghostwriter site us pay for family and consumer science papers dissertation writing website ca popular cheap essay editor for hire ca help writing earth science bibliography top business plan proofreading for hire popular dissertation proposal proofreading sites for masters best cv writer site gb custom definition essay writers sites for phd write me cheap article review professional speech editor website usa esl speech ghostwriter service online pay to do professional argumentative essay online type my school essay on lincoln fences by august wilson essay esl masters essay editor for hire best essay editing service uk esl college essay ghostwriter website for mba professional article writers for hire for college dissertation methodology editing for hire gb