Caelum - [WARNING: Screenshot intensive]

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

Yeah, I have in mind many of these things, as well as some other super-secret subtle additions that will enhance realism a lot ;) But I take note of your suggestions as well ;)

About the daytime, it's not actually a bug. Each day is 23h59m56s long. That's why every 4 years you have to add 1 day (I can't remember where I read that)
Image
Captain Nemo
Greenskin
Posts: 134
Joined: Sun May 02, 2004 5:06 pm
Location: Kassel, Germany
Contact:

Post by Captain Nemo »

If you need a good star map, I found one on http://solarviews.com/cap/ds/tychocyl1.htm
http://www.aridocean.com
The Marine Life Simulation
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

Thanks for the link! Mine is just a noise effect and curves adjustement :lol:
Image
User avatar
CaseyB
OGRE Contributor
OGRE Contributor
Posts: 1335
Joined: Sun Nov 20, 2005 2:42 pm
Location: Columbus, Ohio
x 3
Contact:

Post by CaseyB »

That's pretty cool! I wonder if there are any star cube maps?
Image
Image
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

Okay, for those of you with domes clipping problems, I applied pricorde's patch for the manual dome sizing support. It's the revision 2 in the svn repository.

[EDIT] I've uploaded an untested (even uncomplied) development revision (can't compile and try, so I'm programming with the lights off). Use it at your own risk.

There are some API differences with the earlier versions, in the sake of ease and stability. Be careful.
Image
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

I need help to compile this under linux.

Okay, so I finally got Ogre to work (nVidia driver problems), and can put my hands on this now. The problem is that Code::Blocks doesn't work with my distro state, and can't compile it in a nice way. So I would thank anyone who has working makefiles for Caelum in linux, as I don't have the time to learn to use autoconf&automake right now :(

Thanks in advance!
Image
User avatar
Azatoth
Gnome
Posts: 327
Joined: Sat Jul 10, 2004 6:46 pm
Location: Sweden
x 4
Contact:

Post by Azatoth »

I'll send you my Makefiles, and I'll try to compile the new version.
Ember, GPL virtual world client.
Development blog
M
Gremlin
Posts: 198
Joined: Mon May 23, 2005 4:40 pm
Location: Spain

Post by M »

Kencho wrote:I need help to compile this under linux.
Done ;)

EDIT: some bits in svn are broken at the moment, here is a small patch to get it working:
EDIT 2: Patch removed since it's already applied in repository
Last edited by M on Wed Nov 29, 2006 3:25 pm, edited 2 times in total.
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

M, I'm unable to decompress the .tar.gz file. Seems to be corrupted :(
Image
M
Gremlin
Posts: 198
Joined: Mon May 23, 2005 4:40 pm
Location: Spain

Post by M »

Kencho, I reuploaded it as zip and seems working now.
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

Thanks a lot, it compiles now, though I will most probably play a little with these files so that they output to different directories. But with the patch (some of my failures are a shame, but understand me: you can see the time I submitted them :P) everything seems to be fine, at least in compile time.
Just one question: Are you using the nvidia cg toolkit 1.5? I'm getting "parameter xxxxx not defined" errors with every custom parameter :? Will try with 1.4.1 now though.

[EDIT] Nevermind, another dumb error scored by me. Forgot to manually add the caelum resources location into resources.cfg :oops:
Image
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

Okay, the new version is uploaded to the svn repository.
Thanks to all the contributors for this version (specially M: Now I can continue developing Caelum without obstacles :twisted:)

Enjoy!
Image
M
Gremlin
Posts: 198
Joined: Mon May 23, 2005 4:40 pm
Location: Spain

Post by M »

Nice :)

Yes I'm using Cg 1.4.1, I'm getting some errors while loading materials, the demo is showing the daytime transition nevertheless. Awesome work, btw ;)

Code: Select all

13:53:39: Parsing script Altocumulus.material
13:53:39: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: GpuProgramParameters::getParamIndex
Description: Cannot find a parameter named time. 
File: ../../../OgreMain/src/OgreGpuProgram.cpp
Line: 776
Stack unwinding: <<beginning of stack>>
13:53:39: Error at line 27 of Altocumulus.material: Invalid param_named_auto attribute - An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: GpuProgramParameters::getParamIndex
Description: Cannot find a parameter named time. 
File: ../../../OgreMain/src/OgreGpuProgram.cpp
Line: 776
I forgot to mention that line endings are somewhat borked (open Caelum.h with vi and you'll see). The problem is that some editors (kwrite, kdevelop) get them 'fixed' and it's impossible to generate a patch since the entire file is modified.

Code: Select all

# file include/Caelum.h
include/Caelum.h: ASCII C program text, with CRLF, LF line terminators
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

Hm, yep, I'm having those problems even with my class practices (UNIX file vs DOS file :?). Will take a look into it, as I didn't thought this might break diffs...
Image
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

Okay, implemented a new sky colour model tonight, this time based on sun elevation rather than daytime. This will make life easier for people using custom sun positioning models. For instance, in winter days are shorter, so you would need a new map for each day. Now you don't. Note that the gradients map has changed, the SkyColourModel interface has changed, and the demo source has the old model parts commented out.

I've added a new task to the tracker to add custom sun positioning models, so that everyone can add their method to calculate sun position, from sin(time) to complex ten-blackboards-long equations, without the need to touch anything else ;)

StoredImageElvBasedSkyColourModel goes beta!

PS: The demo will ask for an non-existing starfield map "Starfield2.jpg". I grabbed it from the site linked at the top of this page and renamed to Starfield2.jpg...
Image
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

A good new and a bad new...

The good...
ImageImageImageImageImageImageImageImageImage

The bad...
It's just a first prototype, and the performance is quite bad compared with the previous demo... :( Anyways, hope to do some enhancements that I hope to boost things a bit...

And to end this post, a nice shot for the sentimental people ;)

Image
Image
User avatar
boost
Greenskin
Posts: 112
Joined: Mon Jan 09, 2006 11:49 pm
Location: Barcelona; New Earth; Degova System

Post by boost »

:shock: :shock: :D

Awesome!
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

Thanks mate! Based on this prototype I've done altostratus and cirrus in no time! :D I'm too excited with this :P
Image
User avatar
Praetor
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3335
Joined: Tue Jun 21, 2005 8:26 pm
Location: Rochester, New York, US
x 3
Contact:

Post by Praetor »

No, you are just excited enough. This has been something I've struggled with in the past. To have such a system developed and available... We should all be so excited! Great work.
User avatar
Paulov
Greenskin
Posts: 126
Joined: Tue Apr 04, 2006 5:18 pm
Location: San Sebastian / Europe
Contact:

Post by Paulov »

the first & second screens are absolutely beautifull :)

good work!

sure you can turn the bad news in excelent ones!

bye

Pablo_ __ _ _ _
User avatar
Wretched_Wyx
Orc
Posts: 498
Joined: Thu Mar 16, 2006 5:27 pm
Contact:

Post by Wretched_Wyx »

Those shots are gorgeous Kencho :wink:. It sure does make a difference having Caelum running with terrain (so far I've only prototyped scenes with a large floor plane). You throw clouds in the mix and it makes things spectacular.
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

Okay, some enhancements and the performance has increased between 150%-200% regarding the first version of the prototype, depending on cases (cirrus clouds fill much less sky than altostratus). I'll insert a framework into Caelum itself and then add the volumetric clouds tasks. Also, enhanced both the layered clouds and sky colour shaders so that they are better, not only performance-wise, but understanding, stability, visuals and features as well. For instance, the layered clouds include "halo" (not the game) effects, which is pretty cool :)

The demo has been enhanced a bit (you can pause with spacebar, increasingly 2x/.5x with C and X respectively, and forward/backward with Z). Also want to highlight that the current demo features a way to rapidly create your very own prototypes for Caelum ;)

Thanks for your support, and hope you're finding this useful. The latest statistics in sf.net make me think that a lot of people is interested in this, and that really ecourages me!

Also, would love to receive screenshots (and videos if possible, youtube included) of your tests with Caelum, so I can feature them everywhere! :) I'm thinking on a slight license change to request shots for using this, hahaha :lol: Much a-la beerware, but allowed for kids as well ;)

I have a lot of features planned, so stay tuned!

PS: If you find bugs or want specific features, you can use the sf.net tracker, so I can track them easily and speed the development as much as possible, thanks :)
Image
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Post by jacmoe »

Totally awesome, Kencho! :lol:

Great looking Caelum, I'd say! 8)

Very impressive work. 8)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

jacmoe wrote:Totally awesome, Kencho! :lol:

Great looking Caelum, I'd say! 8)

Very impressive work. 8)
Hahaha, thanks mate :lol:
Image
User avatar
Alexander
Gremlin
Posts: 175
Joined: Sat Aug 05, 2006 3:55 am

Post by Alexander »

Looks like you're off to a great start with clouds. :D
Post Reply