Posted: Tue Aug 12, 2008 11:29 am Post subject:
Recreating YR in 3D
The engine is still WiP & have been developping for 4 months. There are a lot of work to do.
The cliffs are 3D models.
Some models are not done yet so the white parts are just the background(sky).
Old .tem, .sno, etc. is no supported. A new format is used. It allows models with tiles and double layered tiles.
The scene is lit in 3D dynamically.
Lit ramps.
It is going to support multi sides and countries. ATM side bar and loading screens have been defined in uimd.ini.
Maps
Old YR map are not supported directly but I had made a converter to convert them.
The main difference between old format and new format is the [IsoMapPack5] section. The new map format is still plain text INI.
I just use some original YR maps and cummunity made maps for testing.
The Plug-in System
“Expandmd*.dll”s are recognized as plug-ins for the game. Written in C#, VB.Net or other .Net programming languages, such DLLs are used to extend the engine.
Here's an example:
the DLL can control the action of a button.
The dialog's layout is also in uimd.ini.
File System
Mix files are still supported for compatibility.
However you can get your own archive file format supported by writing a plug-in DLL.
ExLangmd*.mix: new files for langmd.mix can go here
ExThememd*.mix: new themes can be here
Graphic Resources
The engine will use 3D models in its own file format with an extension “.mesh”. This format contains extra information the engine will use.
A lot of 2D image formats are supported. Though SHP is one of them for compatibility, it is not suggested to use it. You can get rid of palettes( limited colors) if you don’t use it.
Things to do in the near future:
Make more cliffs.
Implement shadow mapping -- dynamic shadows
Implement TextBox, Dropdown, CheckBox for skirmish menu.
Implement more function for ingame UI. Then test pathfinding.
Interactive water.
BTW this engine needs a better name. Does anyone have ideas? QUICK_EDIT
I'm thinking at least general's grade in graphics will be the minimum for this engine, so probably no VXLs... v.v But who knows, I'll be surprised if infantry SHPs are in here =P QUICK_EDIT
If he locks the camera to the standard YR angle and distance from the terrain, he can allow the game to be rotate to the 4 cardinal directions. Buildings that are not square would simply be mirrored. This would also work for infantry and voxels. Though the voxels would require a very fast draw method or too many would bring the game to snail's pace in no time at all.
If you've ever played Caesar 3, you'll understand the rotation I'm talking about. _________________
this is great. i've been waiting ages for someone to do this. now i'd like it to have first person view with each vehicle controlled by another player. kthnxbai. QUICK_EDIT
I have ever tried to recover 3D models from voxels but without luck the result was disapointing so far. Check this post.
the engine doesn't support SHP units unless I implement Icy's idea.
I think i should make this in the future and put the camera's parameters into rulesmd.ini. Just giving options to do that. When it is in YR's view, 3d models and SHPs will co-exist(3d lighting won't affect SHPs). I will try but won't put this in the first place because there are still a lot of works to do ATM.
And it's 3d by default.
ViPr wrote:
now i'd like it to have first person view with each vehicle controlled by another player.
Yeah, i'd like to fly jets then destory some land targets. QUICK_EDIT
Also Known As: evanb90 Joined: 20 Feb 2005 Location: o kawaii koto
Posted: Tue Aug 12, 2008 8:07 pm Post subject:
Looks simply incredible.
Makes me flashback to the 3d Doom Engines I would play.
Great work, good luck with getting the framework down. _________________ YR modder/artist, DOOM mapper, aka evanb90
Project Lead Developer, New-Star Strike (2014-)
Former Project Lead DeveloperStar Strike (2005-2012), Z-Mod (2006-2007), RA1.5 (2008-2013), The Cold War (2006-2007) QUICK_EDIT
Can you explain any more regarding how coding units/structures/etc will work in this?
And what are we looking at in the way of graphics for the above? (poly counts, how to export to your .mesh format, texture resolutions) _________________ QUICK_EDIT
sound interesting but i need to know to programming to use this?
probably no. he could probably make his program read the game's ini files or someone can make a converter to automatically convert them to his format. QUICK_EDIT
YuriX you could ask for some help. Ask VK his a good coder to. He wanted to create his own YR engine in a long time. _________________ Please, read the signature rules of the forum. QUICK_EDIT
Out of interest, how will you be licensing the engine?
Opensource at least. Maybe GPL but then you have to release your plug-ins' source.
Daz wrote:
And what are we looking at in the way of graphics for the above? (poly counts, how to export to your .mesh format, texture resolutions)
You can model them in your 3d program then export them to .obj/.x/etc.
Use this to get .mesh:
It an IDE for the engine and will be released. It contains editors/converters/etc.
So far the IDE is not user friendly enough because it is not intended to be public at the beginning of the development. It'll be imporved later.
Model'd better be low polygon models though the IDE can simplify them. Texture size can be whatever you want but too big texture will use lots of memory. Game will only run on higher-ended computers if so.
ViPr wrote:
he could probably make his program read the game's ini
Yea it reads the game's INIs. I will make coding units/structures/etc similiar to YR.
I think help on making content is OK.
Programing help is ok but this project have more than 70,000 lines of code so far. It will take sometime to understand the design. And also somgtime to understand each other's coding style. QUICK_EDIT
whoa, that render does look pretty sexy! with the atmospheric perspective..
although low poly? hrm. although one can "fix" that using the plugsystem. what texture channels does it support? bump? normal? _________________ Delirium.. QUICK_EDIT
Oh thank you very much.
how about sending them to canbitwell[at]gmail.com?
Ickus wrote:
whoa, that render does look pretty sexy! with the atmospheric perspective. what texture channels does it support? bump? normal?
that's just an in-game screenshot.
4 texture channels are available,
You can set what effect one material will use. The textures will have different usages depending on the effect. Usually texture 1 is the color map, others are bump/normal/etc.
A simple example: normal mapping is one of the effects. when using this texture 2 will be the normal map.
Remember that the engine is extentable you can add and use your own effects.
btw now it's time to work on the shadows. QUICK_EDIT
Joined: 22 Aug 2006 Location: somewhere south of the north pole
Posted: Wed Aug 13, 2008 9:54 am Post subject:
This looks simply AWSOME! This is realy good! I will follow this further, in deed! Any further plans? Water, tunnels, bridges? view the battle from a units view? I'm learning textures now, and some basic 3d, so I will try to help _________________ This is a signature QUICK_EDIT
It an IDE for the engine and will be released. It contains editors/converters/etc.
So far the IDE is not user friendly enough because it is not intended to be public at the beginning of the development. It'll be imporved later.
Excellent.
I foresee this being very popular. _________________ QUICK_EDIT
i think they have texture, but give it orange color to make it look more match. how ever overall look great have you plan to add some shadows? QUICK_EDIT
YuriX will you be releasing that voxel to model program?
While the models themselves aren't great for ingame they could be used as a good base to make an ingame model if you can get the models from your program into 3dsmax.
There's a program out there that does it already, but it ends up with poly counts that lag even on a quad core with an 8800GT so modelling around it is frustratingly slow.
This looks amazing but the problem now is getting a team to create all the art assets, if you gonna work alone on this it will take you years to finish it. Good luck with this project, i would love to see this finished
Nice model Daz but the rocket pack couldn't of been defined with a simple texture/bump map QUICK_EDIT
Yeah it could.
That model is about 900 triangles unoptimised, I can do a sweep of general optimisation and if the engine allows it a sweep of backface deletion. _________________ QUICK_EDIT
Have you thought about water yet? Will it be like in ra2, where it's just a terrain type, or will the be depth and stuff? _________________ Please, read the signature rules of the forum. QUICK_EDIT
Shadow casted. Not just terrain any model can cast shadow if you like.
Looks a bit pixely though I used Percentage Closer Filtering. still needs improvment.
I think this pic tells something about the cliffs. Ingame cliff texture is recolored.
Daz wrote:
There's a program out there that does it already, but it ends up with poly counts that lag even on a quad core with an 8800GT so modelling around it is frustratingly slow.
Can your 3d modelling program simplifize them? I know 3dsmax can do it adding a Optimize modifier.
Daz wrote:
YuriX will you be releasing that voxel to model program?
I'll. Maybe texture generation is not included.
DaFool wrote:
Have you thought about water yet? Will it be like in ra2, where it's just a terrain type, or will the be depth and stuff?
Interactive but not clear water like RA3's. Maybe simpler than it for better peformance on older machines. QUICK_EDIT
Joined: 22 Aug 2006 Location: somewhere south of the north pole
Posted: Thu Aug 14, 2008 5:27 am Post subject:
The new "foto" looks good! But don't use the original cliffs, use those new dark ones.
And could "god rays" be included as a grafical option? would fit the cliffs
clear six feet down, then dark sky or something? At least the coast should have a transistion from ground to deep water. Oh, and will moving/transforming terrain be included? Like the destroyable cliffs?
Also, you should try to duplicate the ice effect in TS _________________ This is a signature QUICK_EDIT
Can your 3d modelling program simplifize them? I know 3dsmax can do it adding a Optimize modifier.
Edit:
Attach list to attach all the individual cubes together makes things alot faster though you do lose the colours. Optimising does barely anything to the poly count (FALC is still 27000) but at least I can model without lag if the cubes are attached to each other. _________________ Last edited by Daz on Thu Aug 14, 2008 10:44 am; edited 1 time in total QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum