[Accepted] Ogre Material Editor
- Evak
- Orc Shaman
- Posts: 707
- Joined: Sun Apr 02, 2006 7:51 pm
- Location: Sacramento, CA
- x 1
- Contact:
mental mill seems slow and confusing. But it's nice that it does GLSL and CG too. I like shaderFX which is far more intuitive but only for 3dsmax so not as mainstream.
I think most usefull would be something like FXogretool with better compatibility. Probably hard to convert between so many variations of shaders presented in so many formats.
I played with mental mill some more, and its not as hands on and easy as Shader FX but if you hang on in there you can produce some quite good stuff. It's just a shame that whatever tool you use. you end up with FX files that ogre doesn't support.
I think most usefull would be something like FXogretool with better compatibility. Probably hard to convert between so many variations of shaders presented in so many formats.
I played with mental mill some more, and its not as hands on and easy as Shader FX but if you hang on in there you can produce some quite good stuff. It's just a shame that whatever tool you use. you end up with FX files that ogre doesn't support.
- Evak
- Orc Shaman
- Posts: 707
- Joined: Sun Apr 02, 2006 7:51 pm
- Location: Sacramento, CA
- x 1
- Contact:
I have just been trying to learn how to convert my .fx files from shaderFX to Ogre. One of the biggest stumbling blocks has been juggling notepad files. A split screen IDE would make things a bit easier.
Right now I'm juggling:
Frof420's tutorial
.material file
.HLSL file
.program file
.FX exported from shader FX
Plus occasionaly refering to .material .program .hlsl files that I know work.
I for one would appreciate a well disgned shader IDE that is Ogre multi file friendly. Being an artist, I find it extremely difficult to cross reference between seperate documents and grasp simple instructions, let alone trying to learn basic programming in the process
Right now I'm juggling:
Frof420's tutorial
.material file
.HLSL file
.program file
.FX exported from shader FX
Plus occasionaly refering to .material .program .hlsl files that I know work.
I for one would appreciate a well disgned shader IDE that is Ogre multi file friendly. Being an artist, I find it extremely difficult to cross reference between seperate documents and grasp simple instructions, let alone trying to learn basic programming in the process
-
- Greenskin
- Posts: 116
- Joined: Fri Jul 28, 2006 9:35 am
- Contact:
You can contact me via MSN,, if you are having any trouble with the conversion.
Code: Select all
rgalanakis@optonline.net
-
- Greenskin
- Posts: 116
- Joined: Fri Jul 28, 2006 9:35 am
- Contact:
I've finished the tutorial at http://lumonixsoftware.com/yabb/YaBB.pl?num=1179634232
If someone could format it for the OGRE wiki, I'd be much appreciative.
http://www.ogre3d.org/wiki/index.php/ShaderFX
If someone could format it for the OGRE wiki, I'd be much appreciative.
http://www.ogre3d.org/wiki/index.php/ShaderFX
- SiENcE
- Goblin
- Posts: 231
- Joined: Thu May 11, 2006 3:07 pm
- Location: Berlin
- Contact:
Hi.
it would be nice if the new Material Editor has something like sourcecodeblock options, to minimize (-) and maximise (+) large material definitions (sorry but i don't know the correct english word).
In our project, we have very large autogenerated material files...and the overview would be much better with it.
Furthermore a tree like hierarchy for inheritance material definitions would be good.
regards
it would be nice if the new Material Editor has something like sourcecodeblock options, to minimize (-) and maximise (+) large material definitions (sorry but i don't know the correct english word).
In our project, we have very large autogenerated material files...and the overview would be much better with it.
Furthermore a tree like hierarchy for inheritance material definitions would be good.
regards
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
It will if it uses wxScintilla.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- Lee04
- Minaton
- Posts: 945
- Joined: Mon Jul 05, 2004 4:06 pm
- Location: Sweden
- x 1
Unreals 3 material editor doesn't alloiw vertex shader modification...
Bacially you build a material in tangent space only (even though there is converters moduls)
Each extra light is a nother pass with the same material.
It is a sandbox and I belive having used RTZens material editor and others that there is a lot of materials you can'ät do with a visual editor for materials. You need to resort to material scripting.
This means any material editor done for Ogre can also be very limmited for starters.
Bacially you build a material in tangent space only (even though there is converters moduls)
Each extra light is a nother pass with the same material.
It is a sandbox and I belive having used RTZens material editor and others that there is a lot of materials you can'ät do with a visual editor for materials. You need to resort to material scripting.
This means any material editor done for Ogre can also be very limmited for starters.
Ph.D. student in game development
- Praetor
- OGRE Retired Team Member
- Posts: 3335
- Joined: Tue Jun 21, 2005 8:26 pm
- Location: Rochester, New York, US
- x 3
- Contact:
I'm a big fan of always having a material script editing environment for those same reasons. Visual editors are great, but there are just some ideas better expressed in script than in graphical form.
Game Development, Engine Development, Porting
http://www.darkwindmedia.com
http://www.darkwindmedia.com
- Lee04
- Minaton
- Posts: 945
- Joined: Mon Jul 05, 2004 4:06 pm
- Location: Sweden
- x 1
FX CGFX ColladaShaders
There are so many standars surly some would Ogre like Collada for shaders...
FX CGFX Collada for Shaders
FX CGFX Collada for Shaders
Ph.D. student in game development
- Hudson
- Halfling
- Posts: 60
- Joined: Thu Sep 14, 2006 2:46 pm
- Location: NY
- Contact:
Quick Update:
Here is a screenshot of the Material Editor UI:
Click here for larger image
@SiENcE per your request I added some basic code folding support for Material Scripts
Click here for larger image
It shouldn't be too hard to create a "Hierarchy" view that will display the Material inheritance(copy) hierarchy. I'll put this on my TODO list... it should end up being pretty similar to Eclipse's Hierarchy View when it's done. The top half will display the Material Hierarchy, and the bottom half would show a tree of the Technique/Pass/etc of the selected Material. Here is a screenshot of Eclipse's Hierarchy View it if you haven't seen it:
EDIT: Ack, just noticed a bug from the screenshots, apparently my keywords file is missing colour_op_multipass_fallback!
Here is a screenshot of the Material Editor UI:
Click here for larger image
@SiENcE per your request I added some basic code folding support for Material Scripts
Click here for larger image
It shouldn't be too hard to create a "Hierarchy" view that will display the Material inheritance(copy) hierarchy. I'll put this on my TODO list... it should end up being pretty similar to Eclipse's Hierarchy View when it's done. The top half will display the Material Hierarchy, and the bottom half would show a tree of the Technique/Pass/etc of the selected Material. Here is a screenshot of Eclipse's Hierarchy View it if you haven't seen it:
EDIT: Ack, just noticed a bug from the screenshots, apparently my keywords file is missing colour_op_multipass_fallback!
- SiENcE
- Goblin
- Posts: 231
- Joined: Thu May 11, 2006 3:07 pm
- Location: Berlin
- Contact:
- Lee04
- Minaton
- Posts: 945
- Joined: Mon Jul 05, 2004 4:06 pm
- Location: Sweden
- x 1
This looks really good.
Keep up the good work it looks very good.
Lee04
Lee04
Ph.D. student in game development
- Evak
- Orc Shaman
- Posts: 707
- Joined: Sun Apr 02, 2006 7:51 pm
- Location: Sacramento, CA
- x 1
- Contact:
Don't know if this might be helpfull, but one of the Nvidia devs is interested in helping someone who wants to get Ogre working with FX composer 2.
http://www.ogre3d.org/phpBB2/viewtopic. ... 709#237709
Only mentioning this because for a lot of people it would be a dream to have a decent fx to ogre solution, and fx composer 2 supports CG too.
http://www.ogre3d.org/phpBB2/viewtopic. ... 709#237709
Only mentioning this because for a lot of people it would be a dream to have a decent fx to ogre solution, and fx composer 2 supports CG too.
- SiENcE
- Goblin
- Posts: 231
- Joined: Thu May 11, 2006 3:07 pm
- Location: Berlin
- Contact:
I'm trying to compile the MaterialEditor.
I have one problem. The VS8Express Sp1 Compiler requests a lib called "libboost_signals-vc80-mt-1_34_1.lib". When i run bjam, i only get a lib called "boost_signals-vc80-mt-1_34_1.lib". Now i changed the namebuilding in "boost_1_34_1\libs\signals\build\Jamfile.v2" to "lib libboost_signals : $(SOURCES).cpp".
How do you do this?
Setup:
-boost-build
-boost_1_34_1
build.bat
Second problem: where do i get the needed odbc32.lib and why it's needed?
thx
I have one problem. The VS8Express Sp1 Compiler requests a lib called "libboost_signals-vc80-mt-1_34_1.lib". When i run bjam, i only get a lib called "boost_signals-vc80-mt-1_34_1.lib". Now i changed the namebuilding in "boost_1_34_1\libs\signals\build\Jamfile.v2" to "lib libboost_signals : $(SOURCES).cpp".
How do you do this?
Setup:
-boost-build
-boost_1_34_1
build.bat
Code: Select all
SET PATH=E:\!boost-Build\boost-build\;%PATH%
cd E:\!boost-Build\boost_1_34_1\libs\signals\build\
bjam -sBUILD=debug release
thx
- Praetor
- OGRE Retired Team Member
- Posts: 3335
- Joined: Tue Jun 21, 2005 8:26 pm
- Location: Rochester, New York, US
- x 3
- Contact:
What needs odbc32lib?
When I'm compiling boost libraries on windows I always cheat and create a VC8 project and compile it that way. I really don't enjoy using bjam. Perhaps that isn't a good thing, but I've never had problems. Once the library is compiled with all the right build settings it doesn't matter what its name is. You can rename it to whatever boost wants the name to be.
When I'm compiling boost libraries on windows I always cheat and create a VC8 project and compile it that way. I really don't enjoy using bjam. Perhaps that isn't a good thing, but I've never had problems. Once the library is compiled with all the right build settings it doesn't matter what its name is. You can rename it to whatever boost wants the name to be.
- Hudson
- Halfling
- Posts: 60
- Joined: Thu Sep 14, 2006 2:46 pm
- Location: NY
- Contact:
- Hudson
- Halfling
- Posts: 60
- Joined: Thu Sep 14, 2006 2:46 pm
- Location: NY
- Contact:
GSoC 2007 is drawing to a close!
I've updated the SoC2007 MaterialEditor page to reflect this and all future MaterialEditor updates will be reflected at the projects new home found here (WIP).
I'd like to thank the OGRE team, my mentor CaseyB, fellow GSoCers, all those that have contacted me via PM's & e-mail with ideas & suggestions, the entire OGRE community at large, and of course Google.
I've learned a lot this summer, not only about OGRE but about programming and software engineering in general.
I'm afraid this isn't a goodbye, you guys are stuck with me
Thanks again!
Hudson
@SiENcE
I haven't forgotten about you. I'm standing up a machine from scratch and creating a "Compilation" section on the new page as I do it, hopefully this will help you resolve any issues.
I've updated the SoC2007 MaterialEditor page to reflect this and all future MaterialEditor updates will be reflected at the projects new home found here (WIP).
I'd like to thank the OGRE team, my mentor CaseyB, fellow GSoCers, all those that have contacted me via PM's & e-mail with ideas & suggestions, the entire OGRE community at large, and of course Google.
I've learned a lot this summer, not only about OGRE but about programming and software engineering in general.
I'm afraid this isn't a goodbye, you guys are stuck with me
Thanks again!
Hudson
@SiENcE
I haven't forgotten about you. I'm standing up a machine from scratch and creating a "Compilation" section on the new page as I do it, hopefully this will help you resolve any issues.
- sinbad
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
- Contact:
Good to hear I look forward to seeing this project continue to grow - and now that GSoC itself is over, you're of course free to recruit extra helpers to take it forward if you want.Hudson wrote: I've learned a lot this summer, not only about OGRE but about programming and software engineering in general.
I'm afraid this isn't a goodbye, you guys are stuck with me
- SiENcE
- Goblin
- Posts: 231
- Joined: Thu May 11, 2006 3:07 pm
- Location: Berlin
- Contact:
I got MaterialEditor compiled. But it doesn't run.
I don't know where is the problem, but when i start it, it requests the msvcp80.dll & msvcr80.dll. I don't know why, because i'm using VS80 Sp1. Runtime is also installed. When i copy this files from win dir. to the MaterialEditor folder and start it, it returns an exception about wrong libary loading.
Maybe one of used libs is not compiled with VS80 sp1 !? Maybe BoostPro 1.34.1?
Odbc32lib is in the project sollution, but isn't required.
This are the required libs:
I don't know where is the problem, but when i start it, it requests the msvcp80.dll & msvcr80.dll. I don't know why, because i'm using VS80 Sp1. Runtime is also installed. When i copy this files from win dir. to the MaterialEditor folder and start it, it returns an exception about wrong libary loading.
Maybe one of used libs is not compiled with VS80 sp1 !? Maybe BoostPro 1.34.1?
Odbc32lib is in the project sollution, but isn't required.
This are the required libs:
Code: Select all
wxmsw29_propgrid.lib
Shell32.Lib
ComDlg32.Lib
Ole32.Lib
OleAut32.Lib
AdvAPI32.Lib
Gdi32.Lib
user32.lib
wxmsw28_core.lib
wxmsw28_aui.lib
wxmsw28_adv.lib
wxbase28.lib
wxtiff.lib
wxjpeg.lib
wxpng.lib
wxzlib.lib
wxregex.lib
wxexpat.lib
winmm.lib
comctl32.lib
rpcrt4.lib
wsock32.lib
oleacc.lib
OgreMain.lib
- Bryan Reeves
- Gnoblar
- Posts: 4
- Joined: Wed Feb 07, 2007 4:01 am
Request for Visual C++ 2005 zip of code for Material Editor
Hi Brian,
I'm looking at using your material editor as a starting point for a viewer for some radar data for a system I'm building. Could you please post, or email me, a zipped copy of the current material editor (VC++ 2005) - I can fix it to make it work. Reluctant to go and download it file by file. Also does did you make it display multiple views with WxAUI class?
Thanks,
Bryan
I'm looking at using your material editor as a starting point for a viewer for some radar data for a system I'm building. Could you please post, or email me, a zipped copy of the current material editor (VC++ 2005) - I can fix it to make it work. Reluctant to go and download it file by file. Also does did you make it display multiple views with WxAUI class?
Thanks,
Bryan
- Wolfmanfx
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
- Contact: