Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology
Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered
You are not logged in.
url at issue:
http://ifam.net/openspace/bettershader2/web/index.html
the normal map shader in this scene works on my laptop (i3 win7 64bit 4gwith intel gma 3000 directx 10.1) but not with my p4 xp 32bit desktop with nvidia geforce fx 5500 (directx 9.0c) maybe this is a directx issue?
i have double checked the paths in the .material and .program files and i haven't found any path issues to prevent the shader from showing up on my winxp 32 desktop.
if I use lexiview on my p4 to view the .mesh and dependent files. lexiview uses an older version of ogre, perhaps it's an ogre issue?
colleauges please let me know what hardware/os you are using and whether you are seeing the normal map show up:
-h
Offline
i think what i'll do is try to use one of the shaders from the shader example scene, maybe it's some mysterious bug in the program/cg/material files i'm using.
Offline
fixed; i used shader material 07 from the shaders example, the one that does the bare minimum to render diffuse/bump
my winxp 32 p iv is happy now, but alas i think it is becoming to old to handle openspace, but i can still author some assets with it so it doesn't end up in a landfill, maybe i'll try to upgrade the gpu one more time.
Offline
must have been a path problem with my own shader that was not working, after some editing, it works, showing that openspace can handle one shader that is not in the shaders example. i also removed the .program file as you can put all the shader delclarations in the .material file, one less thing to go wrong.
ack, now the shader works on xp but not on win7; the monster is blue on win7 but shows up fine on xp....once i post shaders that behave differently on different machines i'll have to script the html with sniffers.
Last edited by hebdemnobad (11-Oct-2011 17:14:46)
Offline
hmm really strange
the xp machine is the pc on witch you developed the shader ?
maybe again a bad path or the shader is not found in the material (don't remember how I coded this)
try with a .program file and or define several shader profiles
some new graphic card are no more compatible with old shader profiles, so define the minimum profile and add some more recent
Offline
also the intel GMA is a big ch...t, this intel cards do not support all vertex shader 2.0, some time the driver tell it can manage it but some important feature are not present, so it crash without any prompt ....
Offline
arkeon what do you see here:
http://ifam.net/openspace/oldgreatraceshader/web/
i will recheck the paths, and take the shader declarations out of the .material file and put them back in a .program file. the gpu on my xp machine is pretty old, a geforce 5500; is supports shader model 2.0, wherease my laptop gma supports up to shader model 4.0
eesh, as we say here.
-h
Offline
ok saw something
the shader can not start because of th nm.png combinedUVW
OS3D need real files names (I could manage this anyway)
replace by
cubic_texture oldgreatraceshader/nm_fr.png oldgreatraceshader/nm_fr.png oldgreatraceshader/nm_bk.png oldgreatraceshader/nm_lf.png oldgreatraceshader/nm_rt.png oldgreatraceshader/nm_up.png oldgreatraceshader/nm_dn.png
it works ^^
Offline
ok saw something
the shader can not start because of th nm.png combinedUVW
OS3D need real files names (I could manage this anyway)
replace by
cubic_texture oldgreatraceshader/nm_fr.png oldgreatraceshader/nm_fr.png oldgreatraceshader/nm_bk.png oldgreatraceshader/nm_lf.png oldgreatraceshader/nm_rt.png oldgreatraceshader/nm_up.png oldgreatraceshader/nm_dn.pngit works ^^
great! perhaps sometimes os3d cannot add the cube map texture...I will edit the text of the .xos and see what happens.
Offline
I simply do not manage this case in the script detection
Don't forget the redmine.scolring.org for feature requests
How do I login to redmine?
Offline
You must register before write a feature :
http://redmine.scolring.org/account/register
Next, go to "Projects" > "Openspace3d" and post ! Or click directly on this link : http://redmine.scolring.org/projects/op … issues/new
Don't forget :
* be clear,
* be precise
Enjoy !
Offline
I simply do not manage this case in the script detection
Don't forget the redmine.scolring.org for feature requests
I'lll just declare all the filenames in the .material script itself then as you did. Thanks for the link to register with redmine, I did that and assigned this problem to 'low priority' since it's something that a nonprogrammer like me can work around.
reposted scene with the longform cubic texture declaration to:
http://ifam.net/openspace/oldgreatraceshader2/web/
but now in the openspace editor I can't change the ambient color to black! The darkest I can get the ambient color is gray...maybe I'm missing something somewhere.
Perhaps it's just my winxp machine getting older, or perhaps it needs a restart. too late to troubleshoot that today.
-h
Last edited by hebdemnobad (12-Oct-2011 02:07:47)
Offline
Cool, but two point concerning your modeling:
I assume that you mirrored an half of the model, cause there's a little overlap at the center of it...
And you may have to add some vertex and remap your uv mapping for the torso part, to limit the stretching of the texture.
Last edited by Nodrev (12-Oct-2011 08:38:46)
Offline
what do you mean "you can not change the ambient" do you mean this didn't affect the 3d model or you can't change the ambient value in the interface ?
Offline
Cool, but two point concerning your modeling:
I assume that you mirrored an half of the model, cause there's a little overlap at the center of it...
And you may have to add some vertex and remap your uv mapping for the torso part, to limit the stretching of the texture.
I'm not worried about the torso underside since youaren't meant to see that in a scene but about the overlap, yes, I'll fix that with my modeler. I just have to track down that file, which is an old one (which I updated with the ogre mesh upgrader.)
Last edited by hebdemnobad (12-Oct-2011 13:45:39)
Offline
what do you mean "you can not change the ambient" do you mean this didn't affect the 3d model or you can't change the ambient value in the interface ?
When I set the ambient color by right clicking 'scene' in the scene tree, setting the color to black does not make the ambient color in the scene turn to black.
Hmm. I authored the scene on my win7 machine, and the black ambient color looks black.
Last edited by hebdemnobad (12-Oct-2011 14:17:55)
Offline
ok this version of the shader works on my gma 3000 (win7 laptop) and geforce 5500 (winxp desktop). fwiw it is a two pass shader:
http://ifam.net/openspace/oldgreatraceshader3/web/
for some reason authoring the scene on the win7 machine allows the ambient color for the scene to be black.
btw this shows that my gma 3000 can at least handle a two pass shader, fwiw.
Last edited by hebdemnobad (12-Oct-2011 15:29:44)
Offline
doh! no luck on my nvidia 510gt the shader don't seem's to work (or again a material problem)
really strange about the ambient, maybe a shader interpretation issue on this graphic card (and again)
Offline
doh! no luck on my nvidia 510gt the shader don't seem's to work (or again a material problem)
really strange about the ambient, maybe a shader interpretation issue on this graphic card (and again)
all this shader stuff is a bit hard to predict, different os', different cpu's and gpu's. i guess that's why ogre allows for fallback techinques, so i'll put one in this monster's material.
arkeon did you mean 510gt or 5100gt?
Last edited by hebdemnobad (13-Oct-2011 21:38:34)
Offline
arkeon does the shader work in my showcase scene?http://ifam.net/openspace/xpfriendlymon … index.html
Offline
nope ... still the same
does all the paths good in material ?
i think i'll post a .zip of the project and all the subfolders for you.
-h
Offline