Quantcast

Jump to content

» «
Photo

[question] rendering multiple cameras

3 replies to this topic
defunctzombie
  • defunctzombie

    Player Hater

  • New Members
  • Joined: 16 Aug 2016
  • United-States

#1

Posted 16 August 2016 - 04:53 AM

I am working on some research using GTA 5 and GTA 5 mods and one aspect that I am stuck on is how best to render multiple cameras around a player (or a single 360 panorama). 

 

Searching for related topics on cameras yields largely references to RENDER_SCRIPT_CAMS. I imagine I could maybe create a few cameras facing different directions around the player and then have them rendered, but no where can I find how I would actually get the rendered frames from said cameras.

 

Tho new to modding with GTA 5, I have a decent background in coding so any pointers in the right direction would be more than enough and appreciated. Largely looking to understand how to capture images from cameras (from script cameras or game cameras).

 

Other hacks that have crossed my mind is to pause the game, cycle through the scripted cameras, capture the screen renderings, and un-pause. This seems highly brittle and I am hoping there is a more direct way of rendering and capturing cameras facing multiple directions.


Ezio Baggins
  • Ezio Baggins

    Player Hater

  • Members
  • Joined: 07 Jun 2017
  • India

#2

Posted 20 June 2017 - 09:33 AM

Any solutions ?


Rbn3D
  • Rbn3D

    Player Hater

  • Members
  • Joined: 18 Mar 2017
  • Spain

#3

Posted 21 June 2017 - 06:48 AM

Take a look at this method of my Custom Camera V mod:

 

https://github.com/R...CameraV.cs#L472

 

This, however is about rendering a camera directly to the screen, not for capture images. What do you need? Do you want a real time 360º panorama?


Ezio Baggins
  • Ezio Baggins

    Player Hater

  • Members
  • Joined: 07 Jun 2017
  • India

#4

Posted 4 weeks ago Edited by Ezio Baggins, 4 weeks ago.

http://gtaforums.com...hree-positions/





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users