Re: CODE TO MANIPULATE CAMERA ANGLES AND DISTANCE

Bernhard Wymann <[email protected]> Mon, 16 Nov 2015 22:52:56 +0100
Newsgroups gmane.games.torcs.general
Organization wytec
Message-ID <[email protected]>
Hi Patricia

The camera definition code is in src/modules/graphic/ssggraph/grcam.cpp, 
you could manipulate an existing camera or just add another one with the 
behaviour you need.

The camera selection code is in grscreen.cpp, look for "curCam".

Kind regards

Bernhard

On 11/16/2015 09:59 PM, Patricia Monica George wrote:
> Hi all,
>            I have been working on a research team which uses TORCS as a
> platform to simulate autonomous connected cars. I need to make a video
> of all the cars from the aerial view. But due to the distance of the
> camera from the top, the logos on the car cannot be seen and the
> coordination cannot be seen if i use any other camera angles, as
> multiple cars cannot be seen in the same frame. Hence, I would
> appreciate any help to find where the camera codes are located and how
> to manipulate it.
>
> Thanks,
> Patricia Monica George
>
>
>
> Sent with MailTrack
> <https://mailtrack.io/install?source=signature&lang=en&[email protected]&idSignature=22>
>
>
> ------------------------------------------------------------------------------
> Presto, an open source distributed SQL query engine for big data, initially
> developed by Facebook, enables you to easily query your data on Hadoop in a
> more interactive manner. Teradata is also now providing full enterprise
> support for Presto. Download a free open source copy now.
> http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
>
>
>
> _______________________________________________
> Torcs-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/torcs-users
>


------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140