I wrote a c++ library some time ago relying on various representations of 3D rotations between which you can change:
- euler angles
- axis-angle
- rotation matrix
You can find it here, just check out the file libShc\src\Shc_interface_conversions.cpp and take what you need from the 6 conversions.
Search found 265 matches
- Sun May 10, 2020 9:36 am
- Forum: 3D Programming
- Topic: 3D rotation
- Replies: 8
- Views: 8887
- Sun Aug 26, 2018 7:47 pm
- Forum: General Discussion
- Topic: How time flies ...
- Replies: 4
- Views: 2223
Re: How time flies ...
Honestly, I guess not, I gave up coding as a hobby when it became my job. It's just too time consuming
- Sun Aug 26, 2018 12:08 pm
- Forum: General Discussion
- Topic: How time flies ...
- Replies: 4
- Views: 2223
How time flies ...
Hey everyone, it feels like ages since I used PB the last time (maybe around 2009?), but funnily I was told by a friend that a tool I wrote for some social service to automatically fill-in print documents is still used. Reflecting on my time using PB, I noticed that it was my first serious start int...
- Thu Mar 27, 2014 10:59 pm
- Forum: 3D Programming
- Topic: UnionBytes Engine
- Replies: 70
- Views: 31000
Re: UnionBytes Engine
That looks really nice! Are the shadows only black/invisible or are that softshadows?
- Sun Feb 09, 2014 5:00 pm
- Forum: 3D Programming
- Topic: UnionBytes Engine
- Replies: 70
- Views: 31000
Re: UnionBytes Engine
runs smooth on my machine (AMD Radeon HD 7800 Series, 8gb ram, i5) and looks really good. Only thing I noticed was that the vending machines have been flickering.
- Tue Feb 04, 2014 8:27 pm
- Forum: Off Topic
- Topic: USB as electric power supply
- Replies: 9
- Views: 2160
- Tue Feb 04, 2014 2:21 pm
- Forum: Off Topic
- Topic: USB as electric power supply
- Replies: 9
- Views: 2160
Re: USB as electric power supply
The idea was to avoid an additional external accumulator (this is how it is done at the moment).Little John wrote:Maybe something like this?
(There are lots of other external accumulators.)
- Tue Feb 04, 2014 10:54 am
- Forum: General Discussion
- Topic: A better name?
- Replies: 45
- Views: 9828
Re: A better name?
Oh my! I hope none of you had (or will have) to name a child
I think SpiderBasic is okay, PureBasicWeb is my favorite.
I think SpiderBasic is okay, PureBasicWeb is my favorite.
- Tue Feb 04, 2014 10:35 am
- Forum: Off Topic
- Topic: USB as electric power supply
- Replies: 9
- Views: 2160
Re: USB as electric power supply
I think your external device has to communicate with the USB host controller. Some additional information is here (in German). For details see http://www.usb.org/developers/docs/ :-) That sounds like a non-trivial task. I would need to build some kind of controller :? Is there maybe an USB device w...
- Mon Feb 03, 2014 11:39 pm
- Forum: Off Topic
- Topic: USB as electric power supply
- Replies: 9
- Views: 2160
Re: USB as electric power supply
For short term this would work fine. Just remember, that stepup circuits are often only 80-90% efficient--but what is even more important is the quiescent current (the power draw with no load). The efficiency loss for a stepup circle is very interesting, thanks for that hint. The device is a camera...
- Mon Feb 03, 2014 3:58 pm
- Forum: Off Topic
- Topic: USB as electric power supply
- Replies: 9
- Views: 2160
USB as electric power supply
Hi folks, I have an external device which needs 12V at 4.1W (~350mA). Instead of using a battery I think about using the USB3 as power supply. This delivers 900mA on USB3 with around 5V which results in 4.5W. Therefore I would put in the USB cable and use a transformer to get the needed voltage. How...
- Sun Jan 05, 2014 11:33 pm
- Forum: 3D Programming
- Topic: UnionBytes Engine
- Replies: 70
- Views: 31000
Re: UnionBytes Engine
this looks really nice, good job!
- Sun Dec 15, 2013 12:52 am
- Forum: Coding Questions
- Topic: POLINK error on structured list
- Replies: 4
- Views: 1051
Re: POLINK error on structured list
You are right, disabling Avira Antivir solves the problem. However only on this source code? I never had an issue with it before.STARGÅTE wrote:no problem here (x86, x64).
anti virus software? Avira problem?
And I would expect an false positive with the compiled code, not within the linking process!?
- Sat Dec 14, 2013 11:27 pm
- Forum: Coding Questions
- Topic: POLINK error on structured list
- Replies: 4
- Views: 1051
POLINK error on structured list
Code: Select all
Structure myStruct
List mylist.i()
EndStructure
Define test.myStruct
AddElement(test\mylist())
test\mylist() = 3
AddElement(test\mylist())
test\mylist() = 5
Define *testPointer.myStruct = @test
this results on my PB 5.20 LTS in a POLINK error. Could anyone test it?
- Sun Dec 08, 2013 6:36 pm
- Forum: Coding Questions
- Topic: Pointerlist vs SortStructuredList
- Replies: 13
- Views: 4400
Re: Pointerlist vs SortStructuredList
This is really weird, I will install an old version of PB again and try it out. Pighead and so!
Your explanation makes totally sense, however why did it actually work in my old code? Seems like a bug which has never fallen back on me. Dont know if I should feel happy or sad
Your explanation makes totally sense, however why did it actually work in my old code? Seems like a bug which has never fallen back on me. Dont know if I should feel happy or sad