[GSoC 2012] Volume Rendering with LOD aimed at terrain

Threads related to Google Summer of Code
Post Reply
PhilipLB
Google Summer of Code Student
Google Summer of Code Student
Posts: 550
Joined: Thu Jun 04, 2009 5:07 pm
Location: Berlin
x 108

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by PhilipLB »

I wonder, why there are shadows at all. :) There is no shadows support (yet) in the triplanar shader. :( The RTSS-version could work though, but hasn't normal mapping.
Google Summer of Code 2012 Student
Topic: "Volume Rendering with LOD aimed at terrain"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Mattan Furst


Volume GFX, accepting donations.
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by masterfalcon »

I've noticed lately that I will get a crash in VolumeChunk if I stop the volume terrain sample. Are you seeing this too?
PhilipLB
Google Summer of Code Student
Google Summer of Code Student
Posts: 550
Joined: Thu Jun 04, 2009 5:07 pm
Location: Berlin
x 108

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by PhilipLB »

Hm, too bad, works for me. :(
Google Summer of Code 2012 Student
Topic: "Volume Rendering with LOD aimed at terrain"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Mattan Furst


Volume GFX, accepting donations.
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by masterfalcon »

Ok, I've narrowed it down. It only occurs when you call renderOneFrame manually. As is the case for Cocoa based windowing on OS X.
User avatar
MirceaKitsune
Kobold
Posts: 34
Joined: Wed Apr 18, 2012 6:04 pm
Location: Romania, Bucharest
Contact:

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by MirceaKitsune »

Still haven't found a good voxel terrain system with digging / building support, so I'm curious how this is going. From what I saw in the last videos it's working very nicely! I still have some questions however:

- What license is the code under exactly?

- Will the code keep being updated and kept compatible with newer releases of OGRE? Or will it eventually be abandoned once it's ready? Especially since I'm not an experienced developer, I'm worried that future versions of OGRE might stop working and I won't know how to fix the volume terrain system. I'm not sure if OGRE has a policy about keeping all functions compatible throughout releases, but I heard some updates can break code using it.

- Where can I get and compile a functional demo of the volume terrain, containing only relevant assets and code? I looked at the BitBucket repository but that seems to contain a lot of unrelated stuff (like OGRE itself with all the default samples). I'm looking for the files that contain the terrain system and a demo of it (if any demo exists). I have OGRE in my system libraries so I can reference it from there, only need the C++ files of this project with cmake config if any. I can probably try it out then.
PhilipLB
Google Summer of Code Student
Google Summer of Code Student
Posts: 550
Joined: Thu Jun 04, 2009 5:07 pm
Location: Berlin
x 108

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by PhilipLB »

The GSoC project has been merged into Ogre. It's a component now. You find it in the branch 1.9 along with two samples. Here's also some documentation: http://www.ogre3d.org/tikiwiki/tiki-ind ... eComponent

It's under the same license as Ogre, MIT.
Google Summer of Code 2012 Student
Topic: "Volume Rendering with LOD aimed at terrain"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Mattan Furst


Volume GFX, accepting donations.
User avatar
MirceaKitsune
Kobold
Posts: 34
Joined: Wed Apr 18, 2012 6:04 pm
Location: Romania, Bucharest
Contact:

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by MirceaKitsune »

PhilipLB wrote:The GSoC project has been merged into Ogre. It's a component now. You find it in the branch 1.9 along with two samples. Here's also some documentation: http://www.ogre3d.org/tikiwiki/tiki-ind ... eComponent

It's under the same license as Ogre, MIT.
Woah... so voxel terrains are possible natively with OGRE from now on? That's fantastic :D I'll try to compile OGRE manually since my distro's packages don't have 1.9 yet, and see how it goes.
User avatar
MirceaKitsune
Kobold
Posts: 34
Joined: Wed Apr 18, 2012 6:04 pm
Location: Romania, Bucharest
Contact:

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by MirceaKitsune »

Sorry for double post. I got OGRE 1.9 from HG yesterday and tried this out. Half of the samples don't work well for me and I need to debug... but the two Volume samples loaded and I could see the surface.

I was curious if there is also a demo with some basic terraforming. Like the current Volume Terrain sample where you can fly around, but you can left-click to add to the terrain and right-click to dig through it or something like that. That would be very appreciated... is there such a thing for the new system? Here's some examples of what I mean (older attempts to do this in OGRE):

[youtube]3hSVjqsXPOo[/youtube] [youtube]-hJkrr5Slv8[/youtube]
PhilipLB
Google Summer of Code Student
Google Summer of Code Student
Posts: 550
Joined: Thu Jun 04, 2009 5:07 pm
Location: Berlin
x 108

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by PhilipLB »

Modifying a volume like this is a mid term goal and not yet possible. See
http://www.ogre3d.org/tikiwiki/tiki-ind ... lumeFuture
for the details what's missing, the "Editing capabilities" part.
Google Summer of Code 2012 Student
Topic: "Volume Rendering with LOD aimed at terrain"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Mattan Furst


Volume GFX, accepting donations.
User avatar
MirceaKitsune
Kobold
Posts: 34
Joined: Wed Apr 18, 2012 6:04 pm
Location: Romania, Bucharest
Contact:

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by MirceaKitsune »

PhilipLB wrote:Modifying a volume like this is a mid term goal and not yet possible. See
http://www.ogre3d.org/tikiwiki/tiki-ind ... lumeFuture
for the details what's missing, the "Editing capabilities" part.
I understand. Will the final version of OGRE 2.9 have that, and possibly a sample with terraforming? Also, will it support defining each voxel in the code or maybe saving / loading voxels to / from text files or databases (currently I'm seeing you need a 3D texture)?
PhilipLB
Google Summer of Code Student
Google Summer of Code Student
Posts: 550
Joined: Thu Jun 04, 2009 5:07 pm
Location: Berlin
x 108

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by PhilipLB »

2.9 definitely. ;) 1.9... Not sure, I work every now and then in my spare time on this project. Shooting rays is on it's way, but more complicated, than I thought (more complicated than in PolyVox because of not using discrete 3D fields). Serialization and loading of scenes work. Then you see the missing features needed for a complete editor in the wiki-entry. Still a bit of work. :)
Google Summer of Code 2012 Student
Topic: "Volume Rendering with LOD aimed at terrain"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Mattan Furst


Volume GFX, accepting donations.
User avatar
MirceaKitsune
Kobold
Posts: 34
Joined: Wed Apr 18, 2012 6:04 pm
Location: Romania, Bucharest
Contact:

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by MirceaKitsune »

PhilipLB wrote:2.9 definitely. ;) 1.9... Not sure, I work every now and then in my spare time on this project. Shooting rays is on it's way, but more complicated, than I thought (more complicated than in PolyVox because of not using discrete 3D fields). Serialization and loading of scenes work. Then you see the missing features needed for a complete editor in the wiki-entry. Still a bit of work. :)
Right, 1.9 :P I wanna attempt a voxel terrain project sometime which is why I'm curious. It's meant to work the same as in MineCraft, only with marching cubes for smooth realistic landscapes. I've been trying to do that with PolyVox, but now that OGRE will support it natively I'd much rather use this. Hope realtime editing of voxels will be one of the next features in this project... I'll wait and follow this thread for updates.
PhilipLB
Google Summer of Code Student
Google Summer of Code Student
Posts: 550
Joined: Thu Jun 04, 2009 5:07 pm
Location: Berlin
x 108

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by PhilipLB »

Google Summer of Code 2012 Student
Topic: "Volume Rendering with LOD aimed at terrain"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Mattan Furst


Volume GFX, accepting donations.
User avatar
MirceaKitsune
Kobold
Posts: 34
Joined: Wed Apr 18, 2012 6:04 pm
Location: Romania, Bucharest
Contact:

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by MirceaKitsune »

PhilipLB wrote:Better follow this one: http://www.ogre3d.org/forums/viewtopic.php?f=11&t=72895 :)
Followed that too, thanks.
User avatar
Zonder
Ogre Magi
Posts: 1168
Joined: Mon Aug 04, 2008 7:51 pm
Location: Manchester - England
x 73

Re: [GSoC 2012] Volume Rendering with LOD aimed at terrain

Post by Zonder »

Shouldn't this be locked really since there is a new thread now to follow for the component
There are 10 types of people in the world: Those who understand binary, and those who don't...
Post Reply