Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] Dial Bars

Author
Message
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 2nd Dec 2009 21:33 Edited at: 2nd Dec 2009 21:35
Wasnt sure what to call this, SO hence the name Dial Bars.

here a pic.




Dark Physics makes any hot drink go cold.

Attachments

Login to view attachments
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 2nd Dec 2009 21:43 Edited at: 2nd Dec 2009 21:44
as above but with control over two colors and x and y position.
looks like this





Dark Physics makes any hot drink go cold.

Attachments

Login to view attachments
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 2nd Dec 2009 22:40 Edited at: 4th Dec 2009 21:01
quicker version using set current bitmap -1.



Dark Physics makes any hot drink go cold.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 2nd Dec 2009 22:51 Edited at: 2nd Dec 2009 22:52
two tone color bar.




Dark Physics makes any hot drink go cold.

Attachments

Login to view attachments
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 3rd Dec 2009 00:04
and this one use the blend mapping system.



Dark Physics makes any hot drink go cold.
Outscape
15
Years of Service
User Offline
Joined: 23rd May 2008
Location:
Posted: 4th Dec 2009 15:00 Edited at: 4th Dec 2009 15:01
its called a pie chart

http://en.wikipedia.org/wiki/Pie_chart

and
very nice work



HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 4th Dec 2009 15:44
Thats was the word I was going to use but it did not seam right for what it could do.

Ah! justed looked at the link, seem the word would be ring charts.

oh well learned something new again

Dark Physics makes any hot drink go cold.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 4th Dec 2009 16:20
Added some time markers.



Dark Physics makes any hot drink go cold.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 4th Dec 2009 16:43 Edited at: 4th Dec 2009 16:43
makers with box command. replace the marker code with this to get block markers.



Dark Physics makes any hot drink go cold.
MSon
19
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 4th Dec 2009 20:12
i didnt know you could use bitmap -1, this isnt the screen, so where does it edit?

Everyone Be Cool, You, Be Cool.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 4th Dec 2009 21:00 Edited at: 4th Dec 2009 23:01
Its one of the updates that Lee did(7.3). for each camera you use a -camera_number and this the same as doing get image and then paste.

So any bitmap number can be used, you draw what you want to the bitmap then use a -number to send to the main screen.

result is no real lost in frames per screen.

edit
have found that when I plug yhis code into something that I 've been working over many years it did not work as expected.

I need to add this after making the bitmap.


adding the two set current for camera and bitmap.

Dark Physics makes any hot drink go cold.
Neuro Fuzzy
16
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 6th Dec 2009 00:49
So when the bitmap is -1 the camera it draws to camera 0, and bitmap -2 writes to camera 1, -3 to 2, etc. Right?

HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 6th Dec 2009 12:51
Think so did have some code showing this, but forgot the [DBP] bit in the title so it got deleted.

If anyone did see and took a copy could you post it back up with the correct title. The new editor auto save killed the copy I had.


Would have thought that would now be redundant as all users can now use DBPro if they want to install the free version.

Dark Physics makes any hot drink go cold.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 8th Dec 2009 16:50
shows the time with a clock face without using any sin cos to position the hands.



Dark Physics makes any hot drink go cold.
jeffhuys
17
Years of Service
User Offline
Joined: 24th May 2006
Location: No cheesy line here.
Posted: 6th Feb 2010 16:21
Wow, the clock is very cool!

You're the 'th to view this signature!
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 6th Feb 2010 16:23
cheers jeffhuys , glad you liked it.

Dark Physics makes any hot drink go cold.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 8th Feb 2010 13:57 Edited at: 8th Feb 2010 13:58
hi again, well the half time show on super bowl44 gave me the inspiration to make it do this.



Dark Physics makes any hot drink go cold.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 20th Apr 2010 00:05 Edited at: 20th Apr 2010 00:07
small update how to use it on a transparency object.




Dark Physics makes any hot drink go cold.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 20th Apr 2010 22:03 Edited at: 21st Apr 2010 14:34
another update this time you can show three power settings for example:- speed revs brakes or could be health magic intellect.



Dark Physics makes any hot drink go cold.

Attachments

Login to view attachments
Vues3d on Kalimee
19
Years of Service
User Offline
Joined: 12th May 2004
Location: NYON (SWITZERLAND)
Posted: 22nd Apr 2010 11:17
Very nice attempt and result!

HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 22nd Apr 2010 17:14
Thanks Vues3d on Kalimee, just showing that this is possible, someone with a better graphic capability could make this look a lot better.

Also be great when you can use circle and line when using bitmap -1

Dark Physics makes any hot drink go cold.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 26th May 2010 14:47 Edited at: 26th May 2010 15:17
small update, now when you've worked out what type of color bar pattern you want it can now be secleted with bartype, plus also added segment type lines to the bars.





Dark Physics makes any hot drink go cold.

Attachments

Login to view attachments
garlantinapple
13
Years of Service
User Offline
Joined: 6th Jul 2010
Location:
Posted: 17th Jul 2010 10:06
Thats was the word I was going to use but it did not seam right for what it could do.

Login to post a reply

Server time is: 2024-04-18 17:28:02
Your offset time is: 2024-04-18 17:28:02