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
wireframe in CEGUI !!!
Moderators: CEGUI MVP, CEGUI Team
Re: wireframe in CEGUI !!!
All of the things you posted are true, I am wondering why you are so surprised.
The windows are just series of quads (triangle pairs) that are textured... CEGUI itself probably resets the wireframe flag and renders solid, that's why it shows up in the NV tool but not when you switch wireframe on.
The windows are just series of quads (triangle pairs) that are textured... CEGUI itself probably resets the wireframe flag and renders solid, that's why it shows up in the NV tool but not when you switch wireframe on.
Re: wireframe in CEGUI !!!
thanks for your reply
but why !!!
CEGUI itself probably resets the wireframe flag and renders solid
but why !!!
Re: wireframe in CEGUI !!!
i think that i found the problem
look at the CEGUI source code at CEGUIDirect3D11RendererShader.txt
http://pastebin.com/raw.php?i=riH7GDP9
you will find something like this
i will change it and i will past the result
look at the CEGUI source code at CEGUIDirect3D11RendererShader.txt
http://pastebin.com/raw.php?i=riH7GDP9
you will find something like this
Code: Select all
"RasterizerState rasterstate\n"
"{\n"
" DepthClipEnable = false;\n"
" FillMode = Solid;\n" ////////her is the problem
" CullMode = None;\n"
" ScissorEnable = true;\n"
"};\n"
"\n"
i will change it and i will past the result
Re: wireframe in CEGUI !!!
Is it really a problem though? Why do you need wireframe of your GUI?
Re: wireframe in CEGUI !!!
Is it really a problem though?
i don't think that .
Why do you need wireframe of your GUI?
it's just a Coincidence , i render my scene in wireframe mode , i see all the object wires but GUI , so i ask this question
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 3 guests