How to imitate the RT camera and RTtexure with LUA?

Hi,

I’ve noticed the wiki got emptied and the older wiki didn’t contain a clear example.

Can anyone show a simple example on how to draw a view from a “camera” onto a texture?
I’ve never done anything like this before, and I can only find examples on how to draw 3d text onto something.

Thanks.

http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexedb0.html

This should point you in the right direction.

@brandonj4

That only explains how to render text, but I have no idea how to “capture” a view as a camera would.

[editline]12th July 2012[/editline]

Already found render.RenderView could be useful

Sorry read the question wrong thought you asked for both but:
http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index2b71.html
if you don’t already have it.

Add me on steam, I did that before.

Added ya