[ODE] Multiple cameras for the same simulation

Danesh Tarapore daneshtarapore at yahoo.com
Mon May 19 20:57:02 2003


--0-302803599-1053403080=:62491
Content-Type: text/plain; charset=us-ascii

Hi,
 
 I am currently using drawstuff for rendering. Can you suggest how I could have multiple camera windows using drawstuff. If not what graphics API could I use, that would allow the code to run on Linux/Win 32 , with the least amount of change.
 
thanks,
danesh
 
nearaz <nearaz@interamotion.com> wrote:
Hi,

> I am working on a mobile robot simulation. I need to set up multiple 
> cameras onthe robot, and send the received data from each camera 
> onto a new window. 
> Its actually just setting the viewpoint xyz and hpr for each camera, 
> but I want each camera view to be displayed in a new window.
> Please tell me how I should go about it,

Not quite sure why this could be ODE related (unless you use and depend on 
drawstuff, then skip all the remainder of this mail)...

ODE doesn't care about displays, windows, graphics APIs and graphics engines 
at all - it just computes body positions and orientations. It's you who takes 
them and display in any way you like.

For several windowed views, one could do:
step the simulation
for each window
display the world in the window using corresponding camera

Basically that's all. How exactly are the "display in window" handled - that 
depends on graphics API and windowing system; but that is not related to ODE 
in any way.



Aras Pranckevicius aka NeARAZ
http://www.gim.ktu.lt/nesnausk/nearaz/

_______________________________________________
ODE mailing list
ODE@q12.org
http://q12.org/mailman/listinfo/ode

---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
--0-302803599-1053403080=:62491
Content-Type: text/html; charset=us-ascii

<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;I am currently using drawstuff for rendering. Can you suggest how I could have multiple camera windows using drawstuff. If not what graphics API could I use, that would allow the code to run on Linux/Win 32 , with the least amount of change.</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks,</DIV>
<DIV>danesh<BR>&nbsp;<BR><B><I>nearaz &lt;nearaz@interamotion.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi,<BR><BR>&gt; I am working on a mobile robot simulation. I need to set up multiple <BR>&gt; cameras onthe robot, and send the received data from each camera <BR>&gt; onto a new window. <BR>&gt; Its actually just setting the viewpoint xyz and hpr for each camera, <BR>&gt; but I want each camera view to be displayed in a new window.<BR>&gt; Please tell me how I should go about it,<BR><BR>Not quite sure why this could be ODE related (unless you use and depend on <BR>drawstuff, then skip all the remainder of this mail)...<BR><BR>ODE doesn't care about displays, windows, graphics APIs and graphics engines <BR>at all - it just computes body positions and orientations. It's you who takes <BR>them and display in any way you like.<BR><BR>For several windowed views, one could do:<BR>step the simulation<BR>for each window<BR>display the world in the window using corresponding camera<BR><BR>Basically that's all. How exactly are the "display in window" handled - that <BR>depends on graphics API and windowing system; but that is not related to ODE <BR>in any way.<BR><BR><BR><BR>Aras Pranckevicius aka NeARAZ<BR>http://www.gim.ktu.lt/nesnausk/nearaz/<BR><BR>_______________________________________________<BR>ODE mailing list<BR>ODE@q12.org<BR>http://q12.org/mailman/listinfo/ode</BLOCKQUOTE><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/search/mailsig/*http://search.yahoo.com">The New Yahoo! Search</a> - Faster. Easier. Bingo.
--0-302803599-1053403080=:62491--