View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002090 | FSSCP | scripting | public | 2010-01-13 10:18 | 2010-02-20 22:20 |
| Reporter | SparK | Assigned To | Wanderer | ||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | won't fix | ||
| Product Version | 3.6.10 | ||||
| Summary | 0002090: Feature Request camera.render() | ||||
| Description | the Camera class only works if you use mn.startMission otherwise, with mn.simulateFrame() and mn.renderFrame() cameras are ignored I would really like to be able to render the view of a certain camera to a texture or the screen. | ||||
| Tags | No tags attached. | ||||
|
|
mn.simulateframe() has no direct bearing on cameras, it's responsible to run all the AI, physics and sexp logic in the current context, |
|
|
i know, i just put it there cause i use it a lot with mn.renderFrame() that renders all cameras so i think instead of setting a camera and then rendering with mn.renderFrame(), we should be able to render a camera directly by calling camera.renderFrame() |
|
|
Whole lot of data needs to be initialized and verified, models need to be loaded, textures need to be loaded etc. That is to say making a renderframe independent of the missions is something that could be done but given the amount of work related it is fairly unlikely that it would be accomplished any time soon. Rendering stuff onto a texture is whole another thing. Which should already be possible (Render to texture - RTT). You just need to set the rendertargets properly and make sure the textures are updated (not 100% if engine does this on its own). At least judging by these it is possible http://www.youtube.com/watch?v=rlo2hHlNIZk http://www.youtube.com/watch?v=6uFrJlSyXO4&feature=related http://www.youtube.com/watch?v=yvqOrDJUyCU You could ask if nuke still has the scripts and if he is willing to post then into the open (or even commit to wiki). |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-01-13 10:18 | SparK | New Issue | |
| 2010-01-13 10:18 | SparK | Status | new => assigned |
| 2010-01-13 10:18 | SparK | Assigned To | => WMCoolmon |
| 2010-01-14 21:58 | The_E | Note Added: 0011521 | |
| 2010-01-28 20:52 | SparK | Note Added: 0011597 | |
| 2010-02-12 11:27 | Wanderer | Note Added: 0011655 | |
| 2010-02-12 11:27 | Wanderer | Assigned To | WMCoolmon => Wanderer |
| 2010-02-20 22:20 | Wanderer | Status | assigned => closed |
| 2010-02-20 22:20 | Wanderer | Resolution | open => won't fix |