Hi,
I am using radeon driver standard pipeline, having:
_radeon_tcl_stage, _tnl_vertex_transform_stage, _tnl_normal_transform_stage, _tnl_lighting_stage, _tnl_fog_coordinate_stage, _tnl_texgen_stage, _tnl_texture_transform_stage, _radeon_render_stage, _tnl_render_stage
My need is to access LitColor[FRONT] and LitColor[BACK] colors generated by MESA. I want to access that values from radeon_maos_vbtmp.h templates.
I want transforming done by card and lighting vertices done from MESA.
I know this additional work is not really needed, I do this only for test purposes.
So I changed pipeline to
_tnl_lighting_stage, _radeon_tcl_stage, _tnl_vertex_transform_stage, _tnl_normal_transform_stage, _tnl_fog_coordinate_stage, _tnl_texgen_stage, _tnl_texture_transform_stage, _radeon_render_stage, _tnl_render_stage
Is this enough to have lighted vertices color calculated?
I tried this way but I get random colors in VB->ColorPtr[0]->Ptr.... Any idea?
Because the lighting stage depends on the results generated by earlier stages.
Keith
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel