Calculator

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Calculator // Interactive Artwork

1  2  |  

Post by ProfessorKhaos // Jan 23, 2007, 1:54am

ProfessorKhaos
Total Posts: 622
pic
I'm thinking it would be good if someone could create a closed sticky thread that includes a link to the http://www.truespacelibrary.com site. It's a great idea that needs a little more press! :)

Post by Norm // Jan 23, 2007, 6:41am

Norm
Total Posts: 862
pic
I'm thinking it would be good if someone could create a closed sticky thread that includes a link to the http://www.truespacelibrary.com site. It's a great idea that needs a little more press! :)


Good idea, I created such a thread in the Tech Forum: http://forums1.caligari.com/truespace/showthread.php?t=2105

Post by Wigand // Jan 23, 2007, 7:27am

Wigand
Total Posts: 462
pic
Thank you two.

ProfessorKhaos for your great work, and I know, you did the biggest part

of the calculator.

And you trueBlue for your kindly help to manage the selection of

the buttons.

Some months ago, I had this idea of a calculator, but was afraid

of making the display. Then I saw PKs display and was happy to

start this project. :banana:


Norm: and what's about a wicki with examples?

Post by Wigand // Jan 23, 2007, 10:14am

Wigand
Total Posts: 462
pic
ProfessorKhaos:


Is there an easy way for you, to implement the "^" (power) sign

into the 20digit display. I could use it for

"Exp" (=> X*10^Y)

"INV Ln" (=> X=e^Y) and

"INV Log" (=> X=10^Y)

Post by ProfessorKhaos // Jan 23, 2007, 1:11pm

ProfessorKhaos
Total Posts: 622
pic
The 7 (actually 15) segment display is modelled after the real electrical component and would take a quite a bit of work to section things up again (basically almost a restart). There is a solution in the making though. The dot matrix display I'm currently working on would be able to display the ^ character with ease along with many other characters found on a keyboard. Should hopefully be available soon... depends how feature filled the first version needs to be.

Post by Wigand // Jan 23, 2007, 6:15pm

Wigand
Total Posts: 462
pic
The 7 (actually 15) segment display is modelled after the real electrical component and would take a quite a bit of work to section things up again (basically almost a restart). There is a solution in the making though. The dot matrix display I'm currently working on would be able to display the ^ character with ease along with many other characters found on a keyboard. Should hopefully be available soon... depends how feature filled the first version needs to be.



Thank you. Maybe, that could be the start of a programmable calculator. ;)

Post by ProfessorKhaos // Jan 23, 2007, 7:55pm

ProfessorKhaos
Total Posts: 622
pic
lol... the world's first Wigand-48 Virtual Scientific Graphing Calculator (WG-48V+ for short?)


RPN-style calculator would probably make it a bit more straightforward to implement but not everyone knows how to use one of those. :)

Post by trueBlue // Jan 23, 2007, 8:26pm

trueBlue
Total Posts: 1761
pic
Would be cool! Have you seen this one?
http://forums1.caligari.com/truespace/showthread.php?t=1358 (http://forums1.caligari.com/truespace/showthread.php?t=1358)
I could envision using P.K.LED DISPLAY being used as a text file to enter coordinates for a 3D Model
from W.3D CALCULATOR all within trueSpace7 dynamically.

Post by Norm // Jan 24, 2007, 6:45am

Norm
Total Posts: 862
pic
Won't be long before virtual computer appears :)

Talk about scalable !!!

Post by trueBlue // Feb 3, 2007, 10:19am

trueBlue
Total Posts: 1761
pic
Hello TrueBlue

I tried some different options to let the user see, that a button is
pressed or not.
First, I read the object.name and then add a nummer to the Z-position:

Dim pos
Sub Execute(params)

Objectname = params.conValue("Objectname")

Set koords=Node.Value(Objectname,"ObjMatrix")


pos=koords.GetTransZ()-0.5


koords.SetTransZ(pos)

node.Value(Objectname,"Matrix")=koords

params.conValue("ZPosition") = pos


End Sub

It worked, but how can I fix the X- and Y-Position relativ to
the calculator case?
I would need a script object for every button. But this is to much work.
Is there an easier way?

:) I hacked the Click and Jump script that Norm wrote and with his help with the final setting you now have this activity with your Calculator. I updated the previous post.
Thanks Norm! :jumpy:


http://forums1.caligari.com/truespace/showpost.php?p=22738&postcount=23 (http://forums1.caligari.com/truespace/showpost.php?p=22738&postcount=23)

Post by Wigand // Feb 3, 2007, 11:07am

Wigand
Total Posts: 462
pic
That's really great. Exactly what I wanted. :banana:

Thank you two.

Post by trueBlue // Feb 3, 2007, 3:41pm

trueBlue
Total Posts: 1761
pic
Yikes I had to remove that last recording I posted and replace it with the older version. Button activity needs somemore work. I just had buttons flying into outer space. Maybe you can investigate Wigand and come up with a better solution. There still is a problem with selecting the same number twice.
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn