Eden Rebirth [code & executable uploaded for help]
-
- Posts: 175
- Joined: Wed Dec 20, 2006 12:04 pm
Eden Rebirth [code & executable uploaded for help]
Hi Everyone,
I've resurrected my old planet project, I'm going to try and get it into some sort of state to submit for an upcoming game competition. The part I'm working on at the moment is the UI for the editor (I believe you should always build an editor side by side with a game). I already had irrlicht going in wxWidgets, but now I've figured out how to get it to play nice with wxRibbon (with custom icons done in blender) and wxAUI (so you can dock panels in different configurations). Here's what I've got so far :
Next step is to bring my fractal coastline texturing in (see example below) and map the polygons in the spherical LOD to it.
Also, over christmas, I managed to scrounge enough time and get Michael 4 from Daz3D rigged (body and face) so that I had a generic character to use as a base (M4 game license is quite reasonable now).
It's a bit of long shot shooting for the competition I'm going for, but if nothing else, it's motivating me to get some stuff done
I've resurrected my old planet project, I'm going to try and get it into some sort of state to submit for an upcoming game competition. The part I'm working on at the moment is the UI for the editor (I believe you should always build an editor side by side with a game). I already had irrlicht going in wxWidgets, but now I've figured out how to get it to play nice with wxRibbon (with custom icons done in blender) and wxAUI (so you can dock panels in different configurations). Here's what I've got so far :
Next step is to bring my fractal coastline texturing in (see example below) and map the polygons in the spherical LOD to it.
Also, over christmas, I managed to scrounge enough time and get Michael 4 from Daz3D rigged (body and face) so that I had a generic character to use as a base (M4 game license is quite reasonable now).
It's a bit of long shot shooting for the competition I'm going for, but if nothing else, it's motivating me to get some stuff done
Last edited by ultramedia on Mon Feb 21, 2011 3:52 am, edited 2 times in total.
-
- Posts: 22
- Joined: Mon Sep 08, 2008 1:22 am
-
- Posts: 175
- Joined: Wed Dec 20, 2006 12:04 pm
Lol, sorry dude, I was put off multiplayer permanently from playing battlefield heroes (because of all the hacking, the game was brilliant).
Also, single player lets you pass time (i.e. "3 days later") and do uber cool slow motion shots, whereas in multiplayer, you're locked in real time.
But house building... yes very much on the cards
Also, single player lets you pass time (i.e. "3 days later") and do uber cool slow motion shots, whereas in multiplayer, you're locked in real time.
But house building... yes very much on the cards
-
- Posts: 175
- Joined: Wed Dec 20, 2006 12:04 pm
-
- Posts: 175
- Joined: Wed Dec 20, 2006 12:04 pm
The spherical LOD is based on an inflated cube, and each of the six faces in the cube is made up of nested sets of mesh patches. The term octaves comes from fractal math speak and refers to the subdivision of a pattern into multiple smaller copies of itself (in this case a 4x4 grid with a few tricks up its sleeve). This shows up quite well in the following screenshot:
-
- Posts: 175
- Joined: Wed Dec 20, 2006 12:04 pm
that's cool
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
-
- Posts: 175
- Joined: Wed Dec 20, 2006 12:04 pm
Ok, switched in my fractal coastline, and straight away noticed a bunch of noticeable sawtooth type artifacts. Spent most of the night researching GPU simplex noise, but I still like my weird way of doing things so I worked on my fractal code and got it to look a bit more natural (keep in mind the image below is just for creating a mask for the coastlines).
-
- Posts: 175
- Joined: Wed Dec 20, 2006 12:04 pm
I also uploaded a short little fraps video of it to youtube last night:
http://www.youtube.com/watch?v=mfXee_Y57cU
http://www.youtube.com/watch?v=mfXee_Y57cU
-
- Posts: 175
- Joined: Wed Dec 20, 2006 12:04 pm
Ok, I need a little help
I've figured out how to make custom textures on the fly in memory, but it's going to slow because of (apparently) setPixel. At the moment, every time one of my tiles flicks around to the other side of it's 4x4 set there's a small sub momentary freeze as the system waits for its texture to be rewritten (pixel by pixel).
I found this post: http://irrlicht.sourceforge.net/phpBB2/ ... t=itexture
Which says you have to use this: http://irrlicht.sourceforge.net/docu/cl ... 1aaf9bccae
Then this: http://irrlicht.sourceforge.net/docu/cl ... f8a1e68607
to make an image in a way that sounds like it's lots faster than setPixel, but I can't figure out how to actually use it
Can anyone suggest a code snippet?
P.S. the memory I need to read from is made like this (it's an AGG buffer for rasterizing to) :
unsigned char* agg_buffer = new unsigned char[width * height * 3]
and its contents are a simple sequence of r,g,b,r,g,b,r...
Any help would be HUGELY appreciated, as getting this going should step the system up to the point where it can draw sharp coastlines from orbit to ground level
I've figured out how to make custom textures on the fly in memory, but it's going to slow because of (apparently) setPixel. At the moment, every time one of my tiles flicks around to the other side of it's 4x4 set there's a small sub momentary freeze as the system waits for its texture to be rewritten (pixel by pixel).
I found this post: http://irrlicht.sourceforge.net/phpBB2/ ... t=itexture
Which says you have to use this: http://irrlicht.sourceforge.net/docu/cl ... 1aaf9bccae
Then this: http://irrlicht.sourceforge.net/docu/cl ... f8a1e68607
to make an image in a way that sounds like it's lots faster than setPixel, but I can't figure out how to actually use it
Can anyone suggest a code snippet?
P.S. the memory I need to read from is made like this (it's an AGG buffer for rasterizing to) :
unsigned char* agg_buffer = new unsigned char[width * height * 3]
and its contents are a simple sequence of r,g,b,r,g,b,r...
Any help would be HUGELY appreciated, as getting this going should step the system up to the point where it can draw sharp coastlines from orbit to ground level
my badultramedia wrote:The spherical LOD is based on an inflated cube, and each of the six faces in the cube is made up of nested sets of mesh patches. The term octaves comes from fractal math speak and refers to the subdivision of a pattern into multiple smaller copies of itself (in this case a 4x4 grid with a few tricks up its sleeve). This shows up quite well in the following screenshot:
Cool project, very interesting
-
- Posts: 175
- Joined: Wed Dec 20, 2006 12:04 pm