Thanks for the hint Toni and welcome back from holidays :-) I will dig
deeper into the ogre materials and shaders and experiment more with them.
On Sun, Oct 24, 2010 at 7:08 AM, Toni Alatalo ant...@kyperjokki.fi wrote:
On pe, 2010-10-15 at 09:54 -0700, pedro wrote:
I just was watching nMechanics demo:
http://www.youtube.com/watch?v=FUZT1KJJvuQ
- is it possible to have this sorts of reflections in naali too or is
it too early ? Also is there a possibility available to simulate neon
lights and glow around lightsources or is it best to try simulating
these effects with materials and textures?
The lighting on the car is a shader, running on the GPU -- not related
to logic scripting on server or client to which this thread jumped to
later. And it is by no means too early to do that, has been possible
since the beginning basically 'cause Ogre provides the mechanism.
There used to be a realxtend demo world up with a car that has a similar
shader, but that server hasn't been up recently in the old address at
least .. perhaps someone from Evocativi can tell if they have it running
somewhere.
Ah this old mac screenshot actually shows it:
http://dl.dropbox.com/u/3157753/naali-mac-0201-04-30.png
With Ogre you define the shaders you want to use with the materials,
http://www.ogre3d.org/tikiwiki/Materials
There is a tutorial for how to use them with the old viewer, should show
identically in Naali too (it is the same Ogre, and also Ogre just gives
the shaders for the gfx card to run),
http://www.armaghia.fr/DeltaLyrae6/realxtend-tutorial-complex-materials/
.. you can do the same authoring somehow with Naali too. That one uses
the multiuse SuperShader that comes with both rexviewer and Naali, with
which you can use the basics like specular maps for shinyness out of the
box.
Pedro
~Toni
--
http://groups.google.com/group/realxtend
http://www.realxtend.org
--
http://groups.google.com/group/realxtend
http://www.realxtend.org