
Closing in on release candidate of the new Ogre::Terrain loader, I ended up having to convert a lot more than originally anticipated, but now it works

ARTIFEX TERRA 3D - Artist-friendly, free and easy WYSIWYG realtime outdoor scene Editor & Painter
New loader now with Ogre::Terrain support: Addons for Artifex on SourceForge
MOC - Minimal Ogre Collision & Mousepicking
Simple TerrainMaterialGenerator for the use of standard Ogre material with Ogre::Terrain
Support me on Patreon
ARTIFEX TERRA 3D - Artist-friendly, free and easy WYSIWYG realtime outdoor scene Editor & Painter
New loader now with Ogre::Terrain support: Addons for Artifex on SourceForge
MOC - Minimal Ogre Collision & Mousepicking
Simple TerrainMaterialGenerator for the use of standard Ogre material with Ogre::Terrain
Support me on Patreon
Editing wasn't in scope for the gsoc I know he is continuing its development though for his thesis editing might be on his agendaNauk wrote:@drwbns: I definately would like that, I am following the development on and off losely, but I have no clue yet how far editing functionality goes. We shall see![]()
That would be greatZonder wrote:Editing wasn't in scope for the gsoc I know he is continuing its development though for his thesis editing might be on his agendaNauk wrote:@drwbns: I definately would like that, I am following the development on and off losely, but I have no clue yet how far editing functionality goes. We shall see![]()
ARTIFEX TERRA 3D - Artist-friendly, free and easy WYSIWYG realtime outdoor scene Editor & Painter
New loader now with Ogre::Terrain support: Addons for Artifex on SourceForge
MOC - Minimal Ogre Collision & Mousepicking
Simple TerrainMaterialGenerator for the use of standard Ogre material with Ogre::Terrain
Support me on Patreon
Not really, it more or less is "only" a matter of hooking in an existing 3D editing API, don't have to reinvent the wheel for thatZonder wrote:You could just get it so it supports rendering with it. And add editing later but sorta defeats the object
ARTIFEX TERRA 3D - Artist-friendly, free and easy WYSIWYG realtime outdoor scene Editor & Painter
New loader now with Ogre::Terrain support: Addons for Artifex on SourceForge
MOC - Minimal Ogre Collision & Mousepicking
Simple TerrainMaterialGenerator for the use of standard Ogre material with Ogre::Terrain
Support me on Patreon
ARTIFEX TERRA 3D - Artist-friendly, free and easy WYSIWYG realtime outdoor scene Editor & Painter
New loader now with Ogre::Terrain support: Addons for Artifex on SourceForge
MOC - Minimal Ogre Collision & Mousepicking
Simple TerrainMaterialGenerator for the use of standard Ogre material with Ogre::Terrain
Support me on Patreon
ARTIFEX TERRA 3D - Artist-friendly, free and easy WYSIWYG realtime outdoor scene Editor & Painter
New loader now with Ogre::Terrain support: Addons for Artifex on SourceForge
MOC - Minimal Ogre Collision & Mousepicking
Simple TerrainMaterialGenerator for the use of standard Ogre material with Ogre::Terrain
Support me on Patreon
Sure, I have no problems sharing it. (I would have done it at some time anyway)Nauk wrote:I would be interested in your shader modification if you want to share it
Yup I get the pictureduststorm wrote:Sure, I have no problems sharing it. (I would have done it at some time anyway)Nauk wrote:I would be interested in your shader modification if you want to share it
Note that I only modified the shaders for tree impostors, I haven't looked at grass yet.
What I did was modify the PG code that generates the shader a bit (for impostors it's in the BatchPage.cpp file). You basically add "ambient_light_colour" and "light_diffuse_colour" auto params to your shader input. Then add these terms to the output color. This is for the impostor that doesn't include any lighting at all.
The grass shaders (if it even is shader-based) will probably have "derived_light_diffuse_colour" and "derived_ambient_light_colour" declared as shader constants. Changing these to their non-derived counterparts might already solve the problem (give or take some extra scaling of their value).
The general idea is to give them a shader material that does not account for the angle of the incoming light.
I hope this brief explanation is useful. When I have some more time to spare I'll show more complete examples.
ARTIFEX TERRA 3D - Artist-friendly, free and easy WYSIWYG realtime outdoor scene Editor & Painter
New loader now with Ogre::Terrain support: Addons for Artifex on SourceForge
MOC - Minimal Ogre Collision & Mousepicking
Simple TerrainMaterialGenerator for the use of standard Ogre material with Ogre::Terrain
Support me on Patreon
Thank you and happy you like it Amigofaceamigoface wrote:hi Nauk ,
Great plans
large outdoor terrain is something that i am waiting for a long long time in ogre,
with the upcoming terrain paging fonctionality and the right editor i think that we can make something cool
please keep us informedi, will stay arround
good day to everyone
ARTIFEX TERRA 3D - Artist-friendly, free and easy WYSIWYG realtime outdoor scene Editor & Painter
New loader now with Ogre::Terrain support: Addons for Artifex on SourceForge
MOC - Minimal Ogre Collision & Mousepicking
Simple TerrainMaterialGenerator for the use of standard Ogre material with Ogre::Terrain
Support me on Patreon
Are you perhaps referring to the Scape terrain sculpt publication?Nauk wrote:About the terrain I am quite excited about a tech I found not long ago, the demos are quite impressive but it will take a good while until I got something to show there.
Thank you, feedback like that is definately good fueldrwbns wrote:Good luck Nauk, your work is impressive thus far. Can't wait to see what you roll out with next
Haha, I have been eyeing and reading up on GPU editing since quite a while and Scape is an amazing project, but that is editing tech and I certainly would love to have it integrated in Artifex, it is high up "on my eventually somewhen todo list". The terrain rendering tech I was talking about has nothing to do with it. I am going to reveal more once I have something to show, most likely I will hold it back until I have an at least beta ready renderer. It is nothing new, just a bit mixing and hacking up of existing libs, which I hope it is going to work like I imagine, so pure hypothetically at the moment.duststorm wrote:Are you perhaps referring to the Scape terrain sculpt publication?Nauk wrote:About the terrain I am quite excited about a tech I found not long ago, the demos are quite impressive but it will take a good while until I got something to show there.
ARTIFEX TERRA 3D - Artist-friendly, free and easy WYSIWYG realtime outdoor scene Editor & Painter
New loader now with Ogre::Terrain support: Addons for Artifex on SourceForge
MOC - Minimal Ogre Collision & Mousepicking
Simple TerrainMaterialGenerator for the use of standard Ogre material with Ogre::Terrain
Support me on Patreon
I would hope soamigoface wrote:ok nauk, we believe in you
ARTIFEX TERRA 3D - Artist-friendly, free and easy WYSIWYG realtime outdoor scene Editor & Painter
New loader now with Ogre::Terrain support: Addons for Artifex on SourceForge
MOC - Minimal Ogre Collision & Mousepicking
Simple TerrainMaterialGenerator for the use of standard Ogre material with Ogre::Terrain
Support me on Patreon
Next version of Artifex coming up with many improvements and fixes. This is likely the last major one with the old GUI, apart from a minor maintenance release there after.
Here are some of the things that have been done so far:
Upgraded to Ogre 1.7 for better shader and DirectX support
Upgraded to PagedGeometry 1.1.4 for grass lighting support
Ironed out several UI glitches and roughs
Improved shaders and streamlined the shaders with focus on making them single pass, especially the Triplanar shader got a lot of love and is now single pass too with lighting.
Light/Shadowmapping
Added more project templates
Improved lighting
Many small bug fixes
Improved Ogre::Terrain loader and support with template
That is just a very short summary of my todo list. I am still not finished and there is a number of goodies I am working on right now and that will find their way in.
Here some preview screenshots (click to enlarge):
Enjoy
ARTIFEX TERRA 3D - Artist-friendly, free and easy WYSIWYG realtime outdoor scene Editor & Painter
New loader now with Ogre::Terrain support: Addons for Artifex on SourceForge
MOC - Minimal Ogre Collision & Mousepicking
Simple TerrainMaterialGenerator for the use of standard Ogre material with Ogre::Terrain
Support me on Patreon
ARTIFEX TERRA 3D - Artist-friendly, free and easy WYSIWYG realtime outdoor scene Editor & Painter
New loader now with Ogre::Terrain support: Addons for Artifex on SourceForge
MOC - Minimal Ogre Collision & Mousepicking
Simple TerrainMaterialGenerator for the use of standard Ogre material with Ogre::Terrain
Support me on Patreon