wireframe in CEGUI !!!
Posted: Tue Jul 26, 2011 09:14
hello again !
in directx we can render our scene in two different more :
solid mode
wire fame mode
OK.
now i create few window and some controls and is rendering very good but if i want to switch to wire frame mode i see the GUI in solid mode and i can't view in wire frame mode .
in my opinion about this problem is in CEGUI Library itself ( i am not sure 100/100 )
i think the object (framewindow , button , ...etc) in CEGUI are not meshes and not contain any vertices , but they are just images loaded to device11 as texture and render theme .
example : the mesh in directx are vertices attach together with triangles
http://msdn.microsoft.com/en-us/library/ee416437%28v=vs.85%29.aspx
but there is another problem : if i use NVIDIA Parallel Nsight to analyse and debug the application i see lines and triangles that create the window and buttons ...etc !! this is mean that the object contain vertices
NVIDIA Parallel Nsight
http://developer.nvidia.com/nvidia-parallel-nsight
look at this
NOTE : the red line are triangle that create the window
http://www.freeimagehosting.net/d4447
http://www.freeimagehosting.net/7f5a6
in directx we can render our scene in two different more :
solid mode
wire fame mode
OK.
now i create few window and some controls and is rendering very good but if i want to switch to wire frame mode i see the GUI in solid mode and i can't view in wire frame mode .
in my opinion about this problem is in CEGUI Library itself ( i am not sure 100/100 )
i think the object (framewindow , button , ...etc) in CEGUI are not meshes and not contain any vertices , but they are just images loaded to device11 as texture and render theme .
example : the mesh in directx are vertices attach together with triangles
http://msdn.microsoft.com/en-us/library/ee416437%28v=vs.85%29.aspx
but there is another problem : if i use NVIDIA Parallel Nsight to analyse and debug the application i see lines and triangles that create the window and buttons ...etc !! this is mean that the object contain vertices
NVIDIA Parallel Nsight
http://developer.nvidia.com/nvidia-parallel-nsight
look at this
NOTE : the red line are triangle that create the window
http://www.freeimagehosting.net/d4447
http://www.freeimagehosting.net/7f5a6