drawprism

Hello,
I need a red prism filled with particles.
What is not correct in my data?

setdrawmode mode="full" />
setmkfluid mk="0" />

drawprism >

point x="4.0" y="0" z="1" />
point x="3.0" y="0" z="0" />
point x="0" y="0" z="0" />
point x="0" y="0" z="1" />

point x="4.0" y="2" z="1" />
point x="3.0" y="2" z="0" />
point x="0" y="2" z="0" />
point x="0" y="2" z="1" />

/drawprism>

setdrawmode mode="full" />
setmkfluid mk="1" />
drawprism >

point x="3.5" y="0" z="1" />
point x="3.5" y="0" z="0.5" />
point x="4" y="0" z="1" />

point x="3.5" y="2" z="1" />
point x="3.5" y="2" z="0.5" />
point x="4" y="2" z="1" />


/drawprism>

Comments

  • In the same prism you follow the correct order... a clockwise order!

    But not in second one, that has no order at all... try this:
    point x="4" y="0" z="1"
    point x="3.5" y="0" z="0.5"
    point x="3.5" y="0" z="1"
    point x="4" y="2" z="1"
    point x="3.5" y="2" z="0.5"
    point x="3.5" y="2" z="1"
  • Thank you!
    I remembered that the problem was already there.
    But there is nothing about (clockwise order) this in the documentation
  • no, but you have to follow the examples
    we will try to add more details while finishing XML_GUIDE_V4.2.pdf
  • The XML_GUIDE_V4.0 documentation is very brief.
    more givers, details and examples are needed.
    Some place in the documentation is mystery and magic.

  • "Some place in the documentation is mystery and magic"...
    Also the time we devoted to create the documentation comes from magic since we have thousands of duties in the university; teaching, projects, PhD students, papers, conferences... The fact that we are able to release an open source code with documentation is the mystery.
    I would like to remember that this is an open and free project.
    So perhaps more details will be given in XML_GUIDE_v4.2 if we CAN
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!