As far as I know, this is not currently possible with lua, it would probably require a dll, which would make it a lousy method for distribution.
In a nutshell, it wont work with the current system, and it isn't a viable widespread thing.
A CCD is the equivalent of a pixel, but instead of emitting a photon, it receives one. Basically, like a range finder that can observe one point, and give an output of data about that point. The difference would be that instead of the data being the model color, distance, xyz of the point at which the ranger is looking, the CCD would give the data of the R G and B that a player would see for that point. I am not sure how this would work, but the only equivalent I know of is the RT Cam, which poses several problems.
Instead of setting up an RTCAM, with a CCD you could have an array of CCD's, or a moving row or column of them. This information could be used to create a 1x32, or 32x32 grid to scan in an image and display it on a screen. To display a color image, there would need to be a color screen, as the only alternative at the moment is using pixels or 3 holos.
I don't know how the source engine does the rendering for what a player sees, but I think that would be needed to make a CCD work and actually display what the player would see. Things like HDR wouldn't need to be accounted for in the CCD, as that would slow down servers and just generally piss people off.
Inputs for a CCD would be something like Active and Range. Outputs would be R G and B (0-225). Everything else for making say, a TV, would be controlled by a timing signal, separate from the CCD system.
As far as I know, this is not currently possible with lua, it would probably require a dll, which would make it a lousy method for distribution.
In a nutshell, it wont work with the current system, and it isn't a viable widespread thing.
Only way I could image would be setting up RT camera, and reading pixels from it, but that seems to be impossibleAs far as I know, this is not currently possible with lua, it would probably require a dll, which would make it a lousy method for distribution.
In a nutshell, it wont work with the current system, and it isn't a viable widespread thing.[/b]![]()
I would imagine it would be impossible, as the colour you see is just a texture wrapped around the model. There won't be anywhere which stores what colour pixel is at what location within the game world.
Common sense no longer applies.
hmm about this i thing i saw this working somewhere in tricky tutorial site he made and hologram thing that scanned and object stored it on a ram chip then displayed it with and holo emitter
Yeah, but that didn't scan what colour something was. It was only taking in coordinates of points on the object.
[quote=Flux]Isnt masturbating a hobby?[/quote]
[IMG]http://img505.imageshack.us/img505/66/untitled1xc7.jpg[/IMG]
ohh my bad.. maybe if someone writes a pixel shader that could determine the amount of rgb at that point?
Well, that wouldn't work very well either. The game registers objects as geometric shapes, with no colour. The colours are added through textures, which can't be seen by the game. So, even though the ranger has a RGB output, it'll usually say either 0/0/0 or 255/255/255, no matter where it's pointing on the object.
Edit: Actually, Kymagic said it first. I should read the whole thread first.
[quote=Flux]Isnt masturbating a hobby?[/quote]
[IMG]http://img505.imageshack.us/img505/66/untitled1xc7.jpg[/IMG]
Bookmarks