Is Irrlicht with perl the right choice for an uber-simple sm

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
cnd
Posts: 1
Joined: Sat Feb 21, 2015 8:40 am

Is Irrlicht with perl the right choice for an uber-simple sm

Post by cnd »

I'm coding a joystick-controller for my 3D milling machine: it lets me "draw stuff" on my screen, then when I'm happy, the cutter fires up and chews away wood corresponding to what I've drawn.

I want to be able to "draw" the path that the drill-bit will follow in graphics (right now, I'm directly controlling the cutter, which sux when I make a mistake).

Does Irrlicht have "baby" drawing abilities, that can simply let me build a scene using super-simple drawing primitives, like lines and pixels?

Ideally - I need to set up a viewing area and lighting etc so I can see a cubic build area, then draw 3D lines (in a specific colour, and of a specific shape, like square or rounded (think: toothpaste). Probably drawing the lines by individual pixels (spheres or tiny cubes) is best for me. The ability to daw taller lines (think: walls) would be excellent - and some way to make the drawn bits "transparent", and to move the viewpoint around would also be needed.

I wish to use perl, and to build for Linux *and* Windows7 *and* OS/X.

What do you think? Does that exist? Will I end up spending days learning this stuff, or is it simple enough to have working proof-of-concept out in under an hour?

Chris.
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Is Irrlicht with perl the right choice for an uber-simpl

Post by hendu »

Yes, you can draw 2d and 3d lines and pixels/points, in color and specified thickness and transparency. Irr supports all those OSes.

You won't be able to code it in perl though, GL/DX support no rounding for line ends, and whether you can do it in an hour depends on your general coding experience.


edit: What do you know, there actually is a perl wrapper in cpan. Never heard of it.
Post Reply