Open schneiderfelipe opened 3 years ago
Hi there! I think this might just be how the clipping works when there's no perspective. In your example, you're
distance(Point3D(0, 0, 0), eyepoint()) = 222.2048604328897
222 units from the origin, but the carpet has radius 150, so at the front it's very close, probably too near to you to be drawn, and so it gets clipped.
If you turn on the perspective, lines can be distorted more:
perspective(150)
and you'll get a better idea of how close you are:
I do struggle with this 3D stuff, I admit. While I consider Thebes.jl a bit of a toy, I occasionally find it useful for the odd logo... :)
Now I see. Thanks for the explanation!
While I consider Thebes.jl a bit of a toy, I occasionally find it useful for the odd logo... :)
I think Thebes.jl is awesome! I never managed to use Makie.jl to produce a scene piece by piece like it is possible with Thebes.jl (like drawing spheres, etc.). I'm interested in using Julia to produce scientific diagrams/animations, small figures for publications, etc. Thebes.jl seems perfect for that.
Ha, I'm not very confident that Thebes will satisfy your needs, but I'm very happy to help you establish its limitations... :)
The following code produces the image below, which I find surprising:
By changing
θ
andϕ
, less or more of the xy circle gets shown. The same thing happens with@png
and@svg
. Am I missing something?Versions used: