little question :)

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
Ayanami
Posts: 24
Joined: Wed Jan 14, 2004 1:30 pm

little question :)

Post by Ayanami »

hi,

version 0.4

Code: Select all

addWindow  (  const core::rect< s32 > &    rectangle,  
  IGUIElement *    parent = 0,  
  s32    id = -1,  
  const wchar_t *    text = 0 
 )
and version 0.4.2

Code: Select all

addWindow  (  const core::rect< s32 > &    rectangle,  
  bool    modal = false,  
  const wchar_t *    text = 0,  
  IGUIElement *    parent = 0,  
  s32    id = -1 
 )
why change the position of id,parent and text? not better after add "modal" on end? to edit a existing programm is this "many" work to change. ^^


my primary question is to sample "movement" .. i can all samples compile and execute with 0.4.2, only "movement" can compile with 0 errors and warnung but starting the execute file cames a memory error.

yes in the folder is Irrlicht.dll 0.4.2 (640KB) and the projekt ist recompiled ("release" folder was deleted)

what's my fault?
knightoflight
Posts: 199
Joined: Sun Aug 24, 2003 5:47 pm
Location: Germany

Post by knightoflight »

in the thread
http://irrlicht.sourceforge.net/phpBB2/ ... .php?t=757
boogle wrote a workaround
Ayanami
Posts: 24
Joined: Wed Jan 14, 2004 1:30 pm

Post by Ayanami »

thanks, now working "movement" sample ;)


other question:

- can anybody make a tutorial for draw 2d/3d primitives, please?
lines(irr::core::line2d,irr::core::line3d), rectangles(?), circle(?) and points(?), cubus(not mesh file), sphere(not mesh file) ... include linestyles for this? i want display a 2d diagramm. (in HUD life-line)

- can anybody make a sample with animation of a robotic arm?
navigate robotic arm per cursor. thats very fine :roll:

- how clipping the red indicated area .. user1 not see part of sphere?
Image
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

you had 3 questions:

1) dunno, im skipping this one :)

2) how do you want the arm to react to the mouse? If you're saying you want to click somewhere and hve the arm reach towards that point-- you're ogin to have a problem, because you're clicking in a 2D space. how do you define the 3rd demention that the robot's arm will need to know where you clicked? also, after you do that, you have to deal with inverse-kinematics.

or do you merely want controls lke 'rotate joint1' and 'rotate joint2'

3) simply do a test, if the sphere is on the other side of a wall, dont draw the entire mesh. in other words, if you create a triangle selector from the user1 pointed at the sphere's center, and it doesnt hit the sphere first, dont draw the sphere. this way you dont have to worry about clipping a mesh.
a screen cap is worth 0x100000 DWORDS
Ayanami
Posts: 24
Joined: Wed Jan 14, 2004 1:30 pm

Post by Ayanami »

sorry ..

1. :? *g*

2. i want move arm3 and automatically move arm1 and arm2 in correct position.
Image

3. i'm the camera .. to look at from above.
i (scene-camera) see user1 and user2 at the same time, but not want see the red indicated area.
Post Reply