I’m trying to draw some thick lines so I’m not using LineSegs. In the 1.6 and up you are supposed to be able to draw with meshdrawer but I couldn’t find a sample on that and my initial efforts are crashing.
a.segment(Vec3(0,0,0), Vec3(10,10,10), 0, 5, Vec4(0,255,0,125));
Assertion failed: !is_empty() at line 270 of c:\p\panda3d-1.6.0-win32(2)\panda3d-1.6.0\built\include\nodePath.I
Help will be welcome.
I need to write a doc page or a tutorial explaining it. I will do so soon.
As for your crash, I believe you need to call begin() first:
and still crashes
Don’t know if it has something to do with it but it outputs this warning too
:loader(warning): Unable to load libp3ptloader.dll: Invalid access to memory location
That’s a known bug, but entirely unrelated.