[ODE] Multiple cameras for the same simulation

Danesh Tarapore daneshtarapore at yahoo.com
Tue May 20 00:02:02 2003


--0-1507704250-1053413876=:80994
Content-Type: text/plain; charset=us-ascii

Hi,
 
Thanks. Does anyone have any sample code that demonstrates the interfacing between ODE - SDL - OpenGL.
 
Thanks once again,
Danesh

Mohammad Bilal <prettyh8machine@mail.com> wrote:

Use SDL alongwith OpenGL as Windowing and Graphics API respectively.
Check out:
www.libsdl.org

Bilal

----- Original Message -----
From: Danesh Tarapore 
Date: Mon, 19 May 2003 20:58:00 -0700 (PDT) 
To: nearaz , ODE@q12.org
Subject: Re: [ODE] Multiple cameras for the same simulation


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 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

Basical! ly 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.
-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup


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

<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks. Does&nbsp;anyone have any sample code that demonstrates the interfacing between ODE - SDL - OpenGL.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks once again,</DIV>
<DIV>Danesh<BR><BR><B><I>Mohammad Bilal &lt;prettyh8machine@mail.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>Use SDL alongwith OpenGL as Windowing and Graphics API respectively.<BR>Check out:<BR>www.libsdl.org<BR><BR>Bilal<BR><BR>----- Original Message -----<BR>From: Danesh Tarapore <BR>Date: Mon, 19 May 2003 20:58:00 -0700 (PDT) <BR>To: nearaz , ODE@q12.org<BR>Subject: Re: [ODE] Multiple cameras for the same simulation<BR><BR><BR>Hi,<BR><BR>&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.<BR><BR>thanks,<BR>danesh<BR>&nbsp;<BR>nearaz wrote:<BR>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>Basical! ly 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<BR><BR><BR>Do you Yahoo!?<BR>The New Yahoo! Search - Faster. Easier. Bingo.<BR>-- <BR>__________________________________________________________<BR>Sign-up for your own FREE Personalized E-mail at Mail.com<BR>http://www.mail.com/?sr=signup<BR></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-1507704250-1053413876=:80994--