Computerized Cameras
#1
Posted 25 January 2013 - 01:40 PM
#2
Posted 25 January 2013 - 01:48 PM
Edit: also, I believe that you'd need to know your way around in the minecraft code and MCP/Forge in order to achieve this properly. Doesn't mean that you can't learn that though.
#3
Posted 26 January 2013 - 04:41 PM
Orwell, on 25 January 2013 - 01:48 PM, said:
Edit: also, I believe that you'd need to know your way around in the minecraft code and MCP/Forge in order to achieve this properly. Doesn't mean that you can't learn that though.
Okay, well then I'm probably not gonna try. I might give it a little shot. I dunno. Anyway, the reason I think this would be great for CC is because in the CCTV mod, you control which cameras are showing by clicking on the screen. If it was CC you control which way the camera is facing, which camera the monitor is showing etc. I just think that being able to have full control of the cameras with CC would work a lot better. I'm sure there's more things you could control if it was CC too. I just said controlling the camera's angle and what the monitor is showing, but there's so much more.
#4
Posted 27 January 2013 - 08:17 AM
#5
Posted 27 January 2013 - 08:27 AM
sirdabalot, on 27 January 2013 - 08:17 AM, said:
#6
Posted 27 January 2013 - 09:37 AM
Orwell, on 27 January 2013 - 08:27 AM, said:
sirdabalot, on 27 January 2013 - 08:17 AM, said:
Pfft, hell if I know, I suck at java, remember? XD
On a serious note, some guy made a GPU peripheral that worked on openGL a bit back, perhaps there's some way to implement that. One would assume that there would be a hell of a lot of work involved, though.
#7
Posted 27 January 2013 - 01:54 PM
#8
Posted 27 January 2013 - 05:51 PM
#9
Posted 28 January 2013 - 03:53 PM
Wouto1997, on 27 January 2013 - 05:51 PM, said:
#10
Posted 28 January 2013 - 04:35 PM
Wouto1997, on 27 January 2013 - 05:51 PM, said:
#12
Posted 06 February 2013 - 12:23 PM
First: With intermediate Java experience only you won't be able to do this.
You have to understand how a GPU renders a frame.
Creating such a camera would require rendering the scene twice, first from the perspective of the camera into a texture or the stencil buffer (should work too) second from the perspective of Steve using the stencil buffer/the texture on the Monitor.
Whenever you have the camera at a spot where it can see the Monitor, on which it's image should be rendered you'll get a serious problem. The ccTV mod was only rendering the Monitor as a black quad (if I remember correctly) but if you'd like to achieve something more realistic you'd have to render it recursively (like Valve did it for Portal). This will dramatically influence the render time!
All in all I can conclude creating such a camera is very difficult because you don't only need much experience in Java and OpenGL but you'd also have to change the rendering progress completely.
Though I at least got an idea of how it has to be done I probably can't do it.
Chris
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











