Search results

  1. D

    Visualization suggestions

    Thank you very much ,I will check
  2. D

    Visualization suggestions

    Hello , hoping the attached image clarify better my requirments. Image 1 is phong-based (Not interested in) Image 2 is a shading with highlights without edge lines (Not interested in) Image 3 or 4(better) is what I would like reach about
  3. D

    Visualization suggestions

    I don't know how to explain. I'm referring to the quality of the images It looks like the visualization of the 3d shape is non-photorealistic (ok) , but it seems rather a toon-like visualization ( maybe I am wrong , a sort of a 3d toon-shader) . I would like reach a similar result in my application
  4. D

    Visualization suggestions

    Hello, any suggestions to get similar visualization of 3d shapes like "CAD ASSISTANT" does? (see attached example). I suppose a shader should be used. thanks in advance
  5. D

    Enable/Disable highlight under mouse

    Hello, I tried and it works. Many many thanks. the suggestions of this forum are always helpful !! Thanks again
  6. D

    Enable/Disable highlight under mouse

    ok,thanks for reply. Just a last question: when I activate TopAbs_EDGE (to select EDGES) , the lines behind the faces are drawn as well. Is there an easy way to hide those edges?
  7. D

    Enable/Disable highlight under mouse

    Hello, I am playing around a very basic your lesson "Lesson_04_HelloOpencascade" , because I have to fix some important concepts. I have compiled and runned the application (see Imagine 1) When I move the mouse over the shapes : Because of "m_context->Activate(4, true);" calling , then face...
  8. D

    Mesh selection

    Hello, thanks for your reply. So, if I well understand, you propose to debug : this mean insert a breakpoint at MeshVS_Mesh::ComputeSelection then I have to recompile OCC libraries.Is it correct? No other chances?
  9. D

    Mesh selection

    Hello, I have visualized a STL file using RWStl::ReadFile and then with MeshVS_Mesh function calls( See Attached PDF file). The mesh comes well displayed and with smooth and fluid movements while zooming,orbiting and so on , despite about 8000 Nodes and 17 000 triangles I am also playing around...
  10. D

    Build a surface in OCC from its equation

    Hello i would know if there is way to build in OCC a 3d surface directly from its equation. I have the explicit equation in the form : z = f ( x,y) The domain of x,y variables is rectangle , for example say 10x 10 . Could share a fragment of code if possible a two levels ?: 1. geometry level to...
  11. D

    GCPnts_UniformAbscissa issue

    thanks it runs
  12. D

    GCPnts_UniformAbscissa issue

    Hello, I would get discrete 3d points on a 3d Curve , using GCPnts_UniformAbscissa class. I have built a 3d BSpline curve from array of points , using a call like this : Handle(Geom_BSplineCurve) aBSplineCurve = aBSpline.Curve(); aBSpline comes from GeomAPI_PointsToBSpline. So aBSplineCurve is...
  13. D

    Lesson 4: visual artifacts on selection

    Hello, I am running on Lesson4 sample. As from attached file, the selected faces in fig 1 and fig . 2 are filled with uniform color. The fig 3 , instead, shows the seletected face non very good. Why does it happen?
  14. D

    OCC CubeView

    May be my question have no sense , becasue of two different graphic platform (OCC with its graphic services and VTK) : Is there a way to display a cube view in AnalysisSitus software ,like OCC does? Best regards
  15. D

    Lesson 4: how to enable shaded view

    Is there a way, sorry for my question, to display a shape as shaded from beginning?
  16. D

    Lesson 4: how to enable shaded view

    Sorry, solved after pressed "s" key
  17. D

    Lesson 4: how to enable shaded view

    Hi, I have successfully compiled Lesson04_HelloOpenCascade OCC project.I have loaded ANC101.brep shape. I am not able to visualize a shaded shape like your video does. I get only the attached shape How activate shaded visualization? Regards
Top