IScene node and line3d

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
Charles
Posts: 8
Joined: Tue Apr 28, 2015 10:35 pm

IScene node and line3d

Post by Charles »

Hello,

When I am using an IMeshSceneNode, how to draw a line3d independently of this node ?
I mean draw a line3d with real coordinate (not in the node referential) and without the node texture.
Thank you for your help.

Charles
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: IScene node and line3d

Post by CuteAlien »

IVideoDriver::draw3DLine can be used for that. You have to reset the material and transformation as described by the documentation: http://irrlicht.sourceforge.net/docu/cl ... 3a4eebb5e6
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Charles
Posts: 8
Joined: Tue Apr 28, 2015 10:35 pm

Re: IScene node and line3d

Post by Charles »

Thank you !!
Post Reply