Page 13 of 13

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

Posted: Tue Oct 09, 2012 9:26 am
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.

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

Posted: Mon Jan 07, 2013 7:45 pm
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?

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

Posted: Mon Jan 07, 2013 8:08 pm
by PhilipLB
Hm, too bad, works for me. :(

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

Posted: Mon Jan 07, 2013 9:00 pm
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.

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

Posted: Sat Jan 26, 2013 9:10 pm
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.

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

Posted: Sun Jan 27, 2013 12:00 pm
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.

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

Posted: Sun Jan 27, 2013 4:47 pm
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.

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

Posted: Mon Jan 28, 2013 10:39 pm
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]

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

Posted: Mon Jan 28, 2013 11:06 pm
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.

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

Posted: Tue Jan 29, 2013 9:56 am
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)?

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

Posted: Tue Jan 29, 2013 10:09 am
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. :)

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

Posted: Tue Jan 29, 2013 12:13 pm
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.

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

Posted: Tue Jan 29, 2013 12:27 pm
by PhilipLB

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

Posted: Tue Jan 29, 2013 12:51 pm
by MirceaKitsune
PhilipLB wrote:Better follow this one: http://www.ogre3d.org/forums/viewtopic.php?f=11&t=72895 :)
Followed that too, thanks.

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

Posted: Tue Jan 29, 2013 1:07 pm
by Zonder
Shouldn't this be locked really since there is a new thread now to follow for the component