RPi 3D X_ROTATION crashes

Previous topic - Next topic

matchy

Although I've attempted unsuccessfully many times to, I decided to try out 3D carefully on the Raspberry Pi 2 again and gladly discovered that it works very well this time. The problems that I encountered was X_ROTATION only caused the crash (segmentation fault or sometimes bus error). Also, SIN and COS are not working so I easily replaced that with QSIN/QCOS, to rotate the camera around the object. Ambient light work 95% but some flickering from scene rotation but spotlights don't work. Test file attached.

;) 8)


matchy

Just discovered there is no way to convert a string to float = -nan (RPi).  :sick: :noggin:

bigsofty

Sound like a math.h problem or an endian mix-up. This is only guesswork though as I don't have a Pi at the moment to mess around with.  :sick:
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)