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.
bigbman
Posts: 23 Joined: Thu Nov 04, 2010 6:35 am
Post
by bigbman » Sun Jan 09, 2011 12:13 am
Not sure if Irrlicht has any support for this in the iPhone branch, but I could use some pointers please.
For starters, I'd like to draw a single line segment to represent a collision ray.
I'm pretty sure that OpenGL ES doesn't support the draw line function provided with OpenGL...
Thanks!
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Sun Jan 09, 2011 12:42 am
Well, try draw3DLine and see if it works under normal OpenGL and then under OpenGL-ES. If not, we might add this later on based on the SW renderer code, using triangles replacing the lines.
bigbman
Posts: 23 Joined: Thu Nov 04, 2010 6:35 am
Post
by bigbman » Sun Jan 09, 2011 2:25 am
last I tried it didn't work, but I'll give it another whirl.
Is there an example of how to do this with a quad or box (given 2+ 3d points)?
bigbman
Posts: 23 Joined: Thu Nov 04, 2010 6:35 am
Post
by bigbman » Sun Jan 09, 2011 7:24 pm
Doesn't seem to work
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Sun Jan 09, 2011 9:29 pm
Well, I started to work on a full replacement for lines for d3d (due to lack of line thickness feature), so it will be added in the future.