Jump to content
Xtreme .Net Talk

Juan Lastra

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Juan Lastra

  1. Hello: In OpenGL was possible to render the polylines with a variable width. It is very useful when you want to highlight the lines in one application. How can we do this in Direct3D ? By default, all the lines are rendered with 1 pixel width, and setting the device.RenderState.PointSize don´t have any effect on the render of lines. Regards, Juan Lastra
  2. Hello: I am developing a Dierxt3D 9 application in C# language on .NET 1.0. When the screen saver starts my application crashes. How can I detect the screen saver start ? During the screen saver starts I don´t catch any device event. Regards, Juan Lastra
  3. Similar results win Compare.Equal I got similar results when I used the Compare.Equal option. With this option the lines blinks according to the point of view, but the genral effect is the same, the back lines appear as shadows.
  4. How to solve it ? Thank you fro your help. If the lines aren´t culled, it means that I need to implement my own hidden removel algorithm. Is this the only solution ? Regards, Juan Lastra
  5. Hello: I am drawing trimming lines on a surface. To show the lines I put them on the top using the following call: device.RenderState.ZBufferFunction = Compare.Always; The lines are rendered on the top of the surface in the right way. The problem is that the back lines (on the back of the surface) are also drawn like black shadows. I don´t understand why it is happenning, if these lines has an normal that isn´t visible from the camera. Do you have some idea about it ? I enclosed one image describing the problem: In the image you can appreciate the front red lines, and the shadows on the back of the surface. ShowingHiddenLines.bmp
×
×
  • Create New...