Great ! I like it !. It's making HoloEmitter more useable
![]()
I took some code from the Holoemitter, High-speed Ranger and the Console Screen, put it together and managed to make a High-speed Holoemitter.
The structure of it's memory:
Offset - Meaning
0 - 1 = Active
1 - If you press 'use' on a point, its number will be put here
2 - Point size
3 - Flags - bit 0 = show beam, bit 1 = use GPS coords, bit 2 = individual color for each point
4 - Number of points
5..2047 - Point data, format depending on the mode
All points in one color mode:
5 - point 1 X
6 - point 1 Y
7 - point 1 Z
8 - point 2 X
... etc, you get the idea.
Individual colors mode:
5 - point 1 X
6 - point 1 Y
7 - point 1 Z
8 - point 1 Red
9 - point 1 Green
10 - point 1 Blue
11 - point 1 Alpha
12 - point 2 X
...
Also, there are 2 inputs: "Active" and "Reset". "Active" works like byte 0. If you input 1 to the "Reset" input, it will put 0 to byte 4, making the holoemitter display nothing.
Maximum is 681 points, but it gets pretty laggy then, as the points don't fade, so be careful with what you are drawing.
I was creating it in my UWSVN directory, hence the structure of the attachment, ready to put into UWSVN if someone would like to do it.
Hope you like it
Thanks to Lord Wagener for the idea and the code for changing byte 3 into flags and individual color mode.
EDIT: I removed the attachment, the most recent version is in the UWSVN.
Last edited by Fizyk; 04-09-2009 at 09:26 AM. Reason: Update: described flags and individual color mode
My programs: BIOS - Alcyone - Calculator - Notepad - Movie Player
My tutorials: applyTorque - Quaternions - PID controllers
Some other things I made: FT Chip - RK4 Solar System
Great ! I like it !. It's making HoloEmitter more useable
![]()
Hmmm I don't know if you've seen the UWSVN interactable holoemitter, but outputting which point the user pressed use on would be a good output for that second slot (1).
Also, this sounds like a really cool addition, can't wait to test it out personally.
Against stupidity the Gods themselves contend in vain.
-Friedrich Schiller
The flame puts me in the mood to "Do it!".
-Dart, Legend of Dragoon
I was testing it with Fizyk, few minutes ago, and Show Beam seem to not work along with cell nr. 0 .
Current version in the attachment works well.
Also, ZeikJT, I am actually a Lua noob, but I'll try and look into it. I like your suggestion and I may learn something while trying to implement it![]()
My programs: BIOS - Alcyone - Calculator - Notepad - Movie Player
My tutorials: applyTorque - Quaternions - PID controllers
Some other things I made: FT Chip - RK4 Solar System
i love you
this is what i been wanting but i thought ppl would just be like its to laggy and not do it :P
also can you make a cell that clears it?
Last edited by McLovin; 02-09-2009 at 03:50 PM.
Anticept - HP you are terrible at trolling. Always have been. Leave it up to the pros like Jat.
Black Phoenix - Actually cunt goes into bullshit. Bullshit does not fit in cunt.
Drunkie - Logically, Jat Goodwin must be a fist pumping guido.
Someone shove this into UWSVN!
Also... poping some of these UWSVN'd devices would be good too![]()
http://tiny.cc/OMFGWTFBBQ
Best People On Wiremod!
Black Phoenix, Azrael, Jat Goodwin, Magos Mechanicus, ITSBTH, Fizyk, g33v3s,tuusita, InfectiousFight, ief015
Pointless things that are pointless, are pointlessly pointless, therefore pointlessness is pointless.
So pointlessly pointing out the pointlessness of this pointless signature is utterly pointless.
My IQ is 123
Against stupidity the Gods themselves contend in vain.
-Friedrich Schiller
The flame puts me in the mood to "Do it!".
-Dart, Legend of Dragoon
This finally gives me a reason to use the cpu, thank you so much. I think as computers evolve the holoemitter will become less laggy.
To clear it, just put 0 in byte number 4. The holoemitter will then think, that it has no points to render, so it will do nothing.also can you make a cell that clears it?
I'm glad that you like it![]()
My programs: BIOS - Alcyone - Calculator - Notepad - Movie Player
My tutorials: applyTorque - Quaternions - PID controllers
Some other things I made: FT Chip - RK4 Solar System
Bookmarks