Ogres Volume Component
-
- Google Summer of Code Student
- Posts: 550
- Joined: Thu Jun 04, 2009 5:07 pm
- Location: Berlin
- x 108
Re: Ogres Volume Component
And a debug visualization of the Octree in a different color? So you see both?
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.
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.
-
- Gnoblar
- Posts: 4
- Joined: Fri Aug 16, 2013 12:42 pm
Re: Ogres Volume Component
I hope I dont annoy you but I didnt understand the code completly and I hoped I would get away simply with copying
Thats why I am not sure what is the meaning of the lines.
Now it gets full with the octree and the dual grid:
http://i.imagebanana.com/img/52887c48/with_grid.jpg
http://i.imagebanana.com/img/xau5gmns/grid2.jpg
Thats why I am not sure what is the meaning of the lines.
Now it gets full with the octree and the dual grid:
http://i.imagebanana.com/img/52887c48/with_grid.jpg
http://i.imagebanana.com/img/xau5gmns/grid2.jpg
-
- Google Summer of Code Student
- Posts: 550
- Joined: Thu Jun 04, 2009 5:07 pm
- Location: Berlin
- x 108
Re: Ogres Volume Component
Why are there diagonal lines in the Octree vis?
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.
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.
-
- Gnoblar
- Posts: 4
- Joined: Fri Aug 16, 2013 12:42 pm
Re: Ogres Volume Component
Because I draw the the Wireframe. Jmonkey does not have a ManualObject and thats why I would have to write my own Pixel Shader.
Edit: You use a VolumeSource created by a program in the example. Maybe the Problem is that my generated terrain only uses 1 for filled and -1 for empty?
Edit: You use a VolumeSource created by a program in the example. Maybe the Problem is that my generated terrain only uses 1 for filled and -1 for empty?
-
- Google Summer of Code Student
- Posts: 550
- Joined: Thu Jun 04, 2009 5:07 pm
- Location: Berlin
- x 108
Re: Ogres Volume Component
Could be, never tried such a volume... But would be interesting, if it worked, because then converting heightmaps would be easy.
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.
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.
-
- Google Summer of Code Student
- Posts: 550
- Joined: Thu Jun 04, 2009 5:07 pm
- Location: Berlin
- x 108
Re: Ogres Volume Component
Various fixes and optimizations!
- Don't generate MipMaps on loading a 3D texture. This saves about 300ms of loading time on my machine and I can imagine quite some memory.
- Small optimizations in the GridSources like the TextureSource on loading.
- Doc corrections.
- Some refactoring/optimization: Got rid of the Triangle struct. Saves a few lines of code and a lot of object creations on loading.
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.
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.
-
- Orc Shaman
- Posts: 788
- Joined: Mon Jan 18, 2010 6:06 pm
- Location: Costa Mesa, California
- x 24
Re: Ogres Volume Component
Hey Phillip. I'm curious what type of dds texture does the component work with? Does it have to be a specific compression type? Also, is there any news on the component working with paging? Thank you
-
- Google Summer of Code Student
- Posts: 550
- Joined: Thu Jun 04, 2009 5:07 pm
- Location: Berlin
- x 108
Re: Ogres Volume Component
Hi,
I don't know any specific limitations considering the texture format, as long as it's 3D. You may have a look at the sample one.
Paging: I haven't found time so far. :/
I don't know any specific limitations considering the texture format, as long as it's 3D. You may have a look at the sample one.
Paging: I haven't found time so far. :/
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.
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.
- holocronweaver
- Google Summer of Code Student
- Posts: 273
- Joined: Mon Oct 29, 2012 8:52 pm
- Location: Princeton, NJ
- x 47
Re: Ogres Volume Component
I will be tackling my approach to paging for one of my GL3+ RS samples. ETA mid December.
-
- Orc Shaman
- Posts: 788
- Joined: Mon Jan 18, 2010 6:06 pm
- Location: Costa Mesa, California
- x 24
Re: Ogres Volume Component
Oh sweet holocronweaver, I wasn't sure if you we're putting it off until after you finish up your GSOC or not. I'm looking forward to seeing volume terrains be the next big thing in Ogre Are there any plugins for 3d max that allow for 3d dds editing or any tools other than Acropora?
-
- Google Summer of Code Student
- Posts: 550
- Joined: Thu Jun 04, 2009 5:07 pm
- Location: Berlin
- x 108
Re: Ogres Volume Component
mmatt has shown me another crash bug occuring when the volume gets destroyed after Ogre::Root has been shut down. Fixed and pull requests done.
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.
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.
-
- Halfling
- Posts: 91
- Joined: Mon Jan 07, 2013 4:24 am
- x 13
Re: Ogres Volume Component
Any updates on the paging project? I'm interested into it. I worked a little bit on understanding this component, but still not good enough to implement paging.holocronweaver wrote:I will be tackling my approach to paging for one of my GL3+ RS samples. ETA mid December.
Ludoria now on Kickstarter! Ludoria is now on KickStarter! https://www.kickstarter.com/projects/17 ... g-rpg-game
Ludoria's official website http://www.Ludoria.com
On Facebook https://www.facebook.com/pages/Ludoria/644733108967479
On Twitter https://twitter.com/LudoriaGame
Ludoria's official website http://www.Ludoria.com
On Facebook https://www.facebook.com/pages/Ludoria/644733108967479
On Twitter https://twitter.com/LudoriaGame
- holocronweaver
- Google Summer of Code Student
- Posts: 273
- Joined: Mon Oct 29, 2012 8:52 pm
- Location: Princeton, NJ
- x 47
Re: Ogres Volume Component
I decided to focus on paging octree LOD levels as Philip originally suggested and ditched my previous efforts. Though this means losing the possibility of infinite terrain / volumes, it avoids complicated issues with stitching volume pages at their edges and should be fine for most use cases. If anyone has suggestions for an efficient method of joining seams, I am all ears. Ideally we would have both methods of paging.xelon wrote:Any updates on the paging project? I'm interested into it. I worked a little bit on understanding this component, but still not good enough to implement paging.holocronweaver wrote:I will be tackling my approach to paging for one of my GL3+ RS samples. ETA mid December.
Hope to have this done sometime next month (fingers crossed) with an accompanying new OGRE sample.
-
- Orc Shaman
- Posts: 788
- Joined: Mon Jan 18, 2010 6:06 pm
- Location: Costa Mesa, California
- x 24
Re: Ogres Volume Component
How much different is volume stitching vs paged terrain stitching?
- holocronweaver
- Google Summer of Code Student
- Posts: 273
- Joined: Mon Oct 29, 2012 8:52 pm
- Location: Princeton, NJ
- x 47
Re: Ogres Volume Component
There are two problems stitching must solve:
- Volumes can be modified in real time, so the stitching solution needs to be fast. This may be a good excuse to port this library to the GPU, though that could be tricky.
- The vertex position difference between volume pages can be much larger than for heightmap-based terrain pages. Skirts would be obvious, so something more robust (and expensive) like vertex averaging and/or interpolation will probably be required. Even these techniques cause visual artifacts at times, but they would be better than skirts. This could become very expensive when seams are being modified in real-time, so as per above I am not sure about the best solution.
-
- Google Summer of Code Student
- Posts: 550
- Joined: Thu Jun 04, 2009 5:07 pm
- Location: Berlin
- x 108
Re: Ogres Volume Component
Stitching is more or less what Transvoxel does.
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.
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.
- holocronweaver
- Google Summer of Code Student
- Posts: 273
- Joined: Mon Oct 29, 2012 8:52 pm
- Location: Princeton, NJ
- x 47
Re: Ogres Volume Component
Very true, had not thought of transvoxel! I thought it was already implemented along with LOD, but I must be mistaken. If you don't have time to tackle it, I could give it a shot. Should help LOD, paged LOD, and paged volumes.
-
- Orc Shaman
- Posts: 788
- Joined: Mon Jan 18, 2010 6:06 pm
- Location: Costa Mesa, California
- x 24
Re: Ogres Volume Component
Ah ok, so transvoxel is probably the best solution for non-skirts stitching? I think I too was thinking transvoxel was already a part of the component. I thought it was needed when modifying the terrain.
-
- Google Summer of Code Student
- Posts: 550
- Joined: Thu Jun 04, 2009 5:07 pm
- Location: Berlin
- x 108
Re: Ogres Volume Component
Combining Tansvoxel and Dual Marching Cubes could be really tricky as you don't know the detail difference of two adjacent level of details.
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.
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.
- holocronweaver
- Google Summer of Code Student
- Posts: 273
- Joined: Mon Oct 29, 2012 8:52 pm
- Location: Princeton, NJ
- x 47
Re: Ogres Volume Component
The transvoxel algorithms requires that adjacent volumes differ in LOD by exactly a factor of 2. It is this assumption that allows Lengyel to create small transition cell lookup tables (512 cases IIRC). Could this be guaranteed by DMC?
-
- Google Summer of Code Student
- Posts: 550
- Joined: Thu Jun 04, 2009 5:07 pm
- Location: Berlin
- x 108
Re: Ogres Volume Component
Hi,
late answer.
It depends all, how you construct the Octree from which the Dualgrid is derived. If it could be managed to have the outer sides in a defined resolution, then yes. Could be done like this: Construct the Octree as described and then make a second pass on it where you bring the outer nodes to the defined depth.
late answer.
It depends all, how you construct the Octree from which the Dualgrid is derived. If it could be managed to have the outer sides in a defined resolution, then yes. Could be done like this: Construct the Octree as described and then make a second pass on it where you bring the outer nodes to the defined depth.
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.
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.
-
- Google Summer of Code Student
- Posts: 550
- Joined: Thu Jun 04, 2009 5:07 pm
- Location: Berlin
- x 108
Re: Ogres Volume Component
After a while (well, almost exactly one year), it’s time to continue with some new material. The introduction and the very first article about Constructive Solid Geometry is now online, covering some basic shapes.
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.
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.
-
- Google Summer of Code Student
- Posts: 550
- Joined: Thu Jun 04, 2009 5:07 pm
- Location: Berlin
- x 108
Re: Ogres Volume Component
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.
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.
-
- Orc Shaman
- Posts: 788
- Joined: Mon Jan 18, 2010 6:06 pm
- Location: Costa Mesa, California
- x 24
Re: Ogres Volume Component
Any chance of volume paging getting worked on?
- holocronweaver
- Google Summer of Code Student
- Posts: 273
- Joined: Mon Oct 29, 2012 8:52 pm
- Location: Princeton, NJ
- x 47
Re: Ogres Volume Component
I probably won't be able to get to it until mid-August. Currently finishing up the GL3+ RS beta, polishing off the new window system, and working on my own game.