Search found 4 matches

by Vel0city
Mon Nov 07, 2016 11:44 am
Forum: Beginners Help
Topic: xml attribute with multiple values
Replies: 3
Views: 450

xml attribute with multiple values

Hello, I stored vector and color information in xml and I'm not sure how to read them using the irrXML reader as the according attributes have multiple values. An example looks like this: <Light color="0.7, 0.7, 0.7, 1.0"/> I know it could be all read to a string using getAttributeValue(&q...
by Vel0city
Sun Sep 25, 2016 8:41 pm
Forum: Beginners Help
Topic: rotation around local axis
Replies: 2
Views: 456

Re: rotation around local axis

Thanks for the quick reply and the solution. It works perfectly
by Vel0city
Sun Sep 25, 2016 2:48 pm
Forum: Beginners Help
Topic: rotating a vector
Replies: 1
Views: 374

rotating a vector

Trying to move a rotated scene node along its orientation I somehow need to "parent" the speed vector to the node, which is of course noth possible that way. So I somehow have to rotate the speed vector (0,0,speed) by the scene node's Euler rotation. Is there a way to do this, maybe with s...
by Vel0city
Sun Sep 25, 2016 2:38 pm
Forum: Beginners Help
Topic: rotation around local axis
Replies: 2
Views: 456

rotation around local axis

Hi, I am trying to rotate a scene node around "the 3d model's local axis" by keystroke. So obviously that has to be converted to the Euler rotation somehow. I searched this forum and already found something with matrices but didn't understand anything with my rather basic math skills. So h...